Handle input via mouse & keyboard, events, schedule commands. More...
#include "play_controller.hpp"
#include "actions/create.hpp"
#include "actions/heal.hpp"
#include "actions/undo.hpp"
#include "actions/vision.hpp"
#include "ai/manager.hpp"
#include "ai/testing.hpp"
#include "dialogs.hpp"
#include "display_chat_manager.hpp"
#include "formula/string_utils.hpp"
#include "game_events/manager.hpp"
#include "game_events/menu_item.hpp"
#include "game_events/pump.hpp"
#include "game_preferences.hpp"
#include "game_state.hpp"
#include "hotkey/hotkey_item.hpp"
#include "hotkey/hotkey_handler.hpp"
#include "map/label.hpp"
#include "gettext.hpp"
#include "gui/dialogs/loadscreen.hpp"
#include "gui/dialogs/transient_message.hpp"
#include "halo.hpp"
#include "hotkey/command_executor.hpp"
#include "log.hpp"
#include "pathfind/teleport.hpp"
#include "preferences_display.hpp"
#include "replay.hpp"
#include "reports.hpp"
#include "resources.hpp"
#include "savegame.hpp"
#include "saved_game.hpp"
#include "save_blocker.hpp"
#include "scripting/game_lua_kernel.hpp"
#include "scripting/plugins/context.hpp"
#include "sound.hpp"
#include "soundsource.hpp"
#include "statistics.hpp"
#include "synced_context.hpp"
#include "terrain/type_data.hpp"
#include "tooltips.hpp"
#include "units/unit.hpp"
#include "units/id.hpp"
#include "whiteboard/manager.hpp"
#include "wml_exception.hpp"
#include <boost/make_shared.hpp>
#include "utils/functional.hpp"
Go to the source code of this file.
Classes | |
struct | throw_end_level |
Macros | |
#define | LOG_AIT LOG_STREAM(info, log_aitesting) |
#define | LOG_NG LOG_STREAM(info, log_engine) |
#define | DBG_NG LOG_STREAM(debug, log_engine) |
#define | ERR_DP LOG_STREAM(err, log_display) |
#define | LOG_RG LOG_STREAM(info, log_enginerefac) |
#define | DBG_EE LOG_STREAM(debug, log_engine_enemies) |
Functions | |
static void | copy_persistent (const config &src, config &dst) |
Copies [scenario] attributes/tags that are not otherwise stored in C++ structs/clases. More... | |
static void | clear_resources () |
static int | modulo (int num, int mod, int min) |
Variables | |
static lg::log_domain | log_aitesting ("aitesting") |
static lg::log_domain | log_engine ("engine") |
static lg::log_domain | log_display ("display") |
static lg::log_domain | log_enginerefac ("enginerefac") |
static lg::log_domain | log_engine_enemies ("engine/enemies") |
Handle input via mouse & keyboard, events, schedule commands.
Definition in file play_controller.cpp.
#define DBG_EE LOG_STREAM(debug, log_engine_enemies) |
Definition at line 85 of file play_controller.cpp.
Referenced by play_controller::check_victory().
#define DBG_NG LOG_STREAM(debug, log_engine) |
Definition at line 76 of file play_controller.cpp.
#define ERR_DP LOG_STREAM(err, log_display) |
Definition at line 79 of file play_controller.cpp.
Referenced by play_controller::enter_textbox(), and play_controller::tab().
#define LOG_AIT LOG_STREAM(info, log_aitesting) |
Definition at line 71 of file play_controller.cpp.
Referenced by play_controller::check_time_over(), play_controller::check_victory(), and play_controller::play_turn().
#define LOG_NG LOG_STREAM(info, log_engine) |
Definition at line 75 of file play_controller.cpp.
Referenced by play_controller::check_time_over(), play_controller::init(), play_controller::init_managers(), play_controller::play_turn(), and play_controller::start_game().
#define LOG_RG LOG_STREAM(info, log_enginerefac) |
Definition at line 82 of file play_controller.cpp.
|
static |
Definition at line 125 of file play_controller.cpp.
References resources::classification, resources::controller, resources::filter_con, resources::game_events, resources::gameboard, resources::gamedata, resources::lua_kernel, resources::mp_settings, resources::persist, resources::recorder, resources::screen, resources::soundsources, resources::teams, resources::tod_manager, resources::tunnels, resources::undo_stack, resources::units, and resources::whiteboard.
Referenced by play_controller::play_controller(), and play_controller::~play_controller().
Copies [scenario] attributes/tags that are not otherwise stored in C++ structs/clases.
Definition at line 90 of file play_controller.cpp.
References config::append_children().
Referenced by play_controller::play_controller().
Definition at line 698 of file play_controller.cpp.
Referenced by play_controller::find_last_visible_team().
|
static |
|
static |
|
static |
|
static |
|
static |