#include "hotkey/hotkey_handler.hpp"
#include "font/standard_colors.hpp"
#include "formula/string_utils.hpp"
#include "game_display.hpp"
#include "game_events/wmi_manager.hpp"
#include "preferences/preferences.hpp"
#include "game_state.hpp"
#include "hotkey/hotkey_command.hpp"
#include "hotkey/hotkey_item.hpp"
#include "log.hpp"
#include "map/map.hpp"
#include "play_controller.hpp"
#include "savegame.hpp"
#include "whiteboard/manager.hpp"
#include <boost/algorithm/string/predicate.hpp>
#include "units/unit.hpp"
Go to the source code of this file.
Macros | |
#define | ERR_G LOG_STREAM(err, lg::general()) |
#define | WRN_G LOG_STREAM(warn, lg::general()) |
#define | LOG_G LOG_STREAM(info, lg::general()) |
#define | DBG_G LOG_STREAM(debug, lg::general()) |
Functions | |
template<typename T > | |
static void | trim_items (std::vector< T > &newitems) |
template<typename F > | |
static void | foreach_autosave (int turn, saved_game &sg, F func) |
Variables | |
static const std::string | quickload_prefix = "quickload:" |
static const std::string | quickreplay_prefix = "quickreplay:" |
#define DBG_G LOG_STREAM(debug, lg::general()) |
Definition at line 42 of file hotkey_handler.cpp.
#define ERR_G LOG_STREAM(err, lg::general()) |
Definition at line 39 of file hotkey_handler.cpp.
#define LOG_G LOG_STREAM(info, lg::general()) |
Definition at line 41 of file hotkey_handler.cpp.
#define WRN_G LOG_STREAM(warn, lg::general()) |
Definition at line 40 of file hotkey_handler.cpp.
|
static |
Definition at line 400 of file hotkey_handler.cpp.
References savegame::savegame::create_filename(), compression::format_extension(), prefs::get(), prefs::save_compression_format(), savegame::save_game_exists(), and play_controller::turn().
Referenced by play_controller::hotkey_handler::expand_autosaves(), and play_controller::hotkey_handler::expand_quickreplay().
|
static |
Definition at line 386 of file hotkey_handler.cpp.
Referenced by play_controller::hotkey_handler::expand_autosaves(), and play_controller::hotkey_handler::expand_quickreplay().
|
static |
Definition at line 46 of file hotkey_handler.cpp.
Referenced by play_controller::hotkey_handler::do_execute_command().
|
static |
Definition at line 47 of file hotkey_handler.cpp.
Referenced by play_controller::hotkey_handler::do_execute_command().