Definitions for a class that implements WML-defined (right-click) menu items. More...
#include "menu_item.hpp"
#include "global.hpp"
#include "conditional_wml.hpp"
#include "handlers.hpp"
#include "manager.hpp"
#include "pump.hpp"
#include "actions/undo.hpp"
#include "game_config.hpp"
#include "game_data.hpp"
#include "log.hpp"
#include "mouse_handler_base.hpp"
#include "hotkey/hotkey_command.hpp"
#include "hotkey/hotkey_handler.hpp"
#include "play_controller.hpp"
#include "preferences.hpp"
#include "replay.hpp"
#include "replay_helper.hpp"
#include "resources.hpp"
#include "synced_context.hpp"
#include "terrain/filter.hpp"
Go to the source code of this file.
Namespaces | |
game_events | |
Domain specific events. | |
Macros | |
#define | ERR_NG LOG_STREAM(err, log_engine) |
#define | LOG_NG LOG_STREAM(info, log_engine) |
#define | STR(X) #X |
Causes the event associated with this item to fire. More... | |
Variables | |
static lg::log_domain | log_engine ("engine") |
Definitions for a class that implements WML-defined (right-click) menu items.
Definition in file menu_item.cpp.
#define ERR_NG LOG_STREAM(err, log_engine) |
Definition at line 45 of file menu_item.cpp.
Referenced by game_events::wml_menu_item::to_config().
#define LOG_NG LOG_STREAM(info, log_engine) |
Definition at line 46 of file menu_item.cpp.
Referenced by game_events::wml_menu_item::update_command().
#define STR | ( | X | ) | #X |
Causes the event associated with this item to fire.
Also records the event. This includes recording the previous select event, if applicable. The undo stack will be cleared if the event mutated the gamestate.
[in] | event_hex | The location of the event (where the menu was opened). |
[in] | last_select | The location of the most recent "select" event. |
Definition at line 202 of file menu_item.cpp.
|
static |