#include <hotkey_handler.hpp>
Public Member Functions | |
hotkey_handler (play_controller &, saved_game &) | |
~hotkey_handler () | |
virtual void | objectives () override |
virtual void | show_statistics () override |
virtual void | unit_list () override |
virtual void | left_mouse_click () override |
virtual void | move_action () override |
virtual void | select_and_action () override |
virtual void | touch_hex () override |
virtual void | select_hex () override |
virtual void | deselect_hex () override |
virtual void | right_mouse_click () override |
virtual void | status_table () override |
virtual void | save_game () override |
virtual void | save_replay () override |
virtual void | save_map () override |
virtual void | load_game () override |
virtual void | preferences () override |
virtual void | speak () override |
virtual void | show_chat_log () override |
virtual void | show_help () override |
virtual void | cycle_units () override |
virtual void | cycle_back_units () override |
virtual void | undo () override |
virtual void | redo () override |
virtual void | show_enemy_moves (bool ignore_units) override |
virtual void | goto_leader () override |
virtual void | unit_description () override |
virtual void | terrain_description () override |
virtual void | toggle_ellipses () override |
virtual void | toggle_grid () override |
virtual void | search () override |
virtual void | toggle_accelerated_speed () override |
virtual void | scroll_up (bool on) override |
virtual void | scroll_down (bool on) override |
virtual void | scroll_left (bool on) override |
virtual void | scroll_right (bool on) override |
virtual void | replay_skip_animation () override |
virtual std::string | get_action_image (hotkey::HOTKEY_COMMAND, int index) const override |
virtual void | load_autosave (const std::string &filename) |
virtual hotkey::ACTION_STATE | get_action_state (hotkey::HOTKEY_COMMAND command, int index) const override |
virtual bool | can_execute_command (const hotkey::hotkey_command &command, int index=-1) const override |
Check if a command can be executed. More... | |
virtual bool | do_execute_command (const hotkey::hotkey_command &command, int index=-1, bool press=true, bool release=false) override |
void | show_menu (const std::vector< config > &items_arg, int xloc, int yloc, bool context_menu, display &disp) override |
bool | in_context_menu (hotkey::HOTKEY_COMMAND command) const |
Determines whether the command should be in the context menu or not. More... | |
![]() | |
void | set_button_state () |
void | recalculate_minimap () |
void | lua_console () |
void | zoom_in () |
void | zoom_out () |
void | zoom_default () |
void | map_screenshot () |
void | quit_to_main_menu () |
![]() | |
virtual void | end_turn () |
virtual void | unit_hold_position () |
virtual void | end_unit_turn () |
virtual void | rename_unit () |
virtual void | recall () |
virtual void | recruit () |
virtual void | repeat_recruit () |
virtual void | whisper () |
virtual void | shout () |
virtual void | create_unit () |
virtual void | change_side () |
virtual void | kill_unit () |
virtual void | stop_network () |
virtual void | start_network () |
virtual void | label_terrain (bool) |
virtual void | clear_labels () |
virtual void | label_settings () |
virtual void | toggle_shroud_updates () |
virtual void | update_shroud_now () |
virtual void | continue_move () |
virtual void | user_command () |
virtual void | custom_command () |
virtual void | ai_formula () |
virtual void | clear_messages () |
virtual void | change_language () |
virtual void | play_replay () |
virtual void | reset_replay () |
virtual void | stop_replay () |
virtual void | replay_next_turn () |
virtual void | replay_next_side () |
virtual void | replay_next_move () |
virtual void | replay_show_everything () |
virtual void | replay_show_each () |
virtual void | replay_show_team1 () |
virtual void | replay_exit () |
virtual void | whiteboard_toggle () |
virtual void | whiteboard_execute_action () |
virtual void | whiteboard_execute_all_actions () |
virtual void | whiteboard_delete_action () |
virtual void | whiteboard_bump_up_action () |
virtual void | whiteboard_bump_down_action () |
virtual void | whiteboard_suppose_dead () |
virtual void | surrender_quit_game () |
std::string | get_menu_image (display &disp, const std::string &command, int index=-1) const |
void | get_menu_images (display &, std::vector< config > &items) |
void | surrender_game () |
void | execute_action (const std::vector< std::string > &items_arg, int xloc, int yloc, bool context_menu, display &gui) |
void | queue_command (const SDL_Event &event, int index=-1) |
bool | run_queued_commands () |
void | execute_quit_command () |
void | handle_keyup () |
Static Public Attributes | |
static const std::string | wml_menu_hotkey_prefix = "wml_menu:" |
Protected Member Functions | |
display & | get_display () override |
game_display * | gui () const |
game_state & | gamestate () |
const game_state & | gamestate () const |
bool | browse () const |
bool | linger () const |
const team & | viewing_team () const |
bool | viewing_team_is_playing () const |
![]() | |
virtual | ~command_executor () |
Protected Attributes | |
play_controller & | play_controller_ |
References to parent object / constituents. More... | |
events::menu_handler & | menu_handler_ |
events::mouse_handler & | mouse_handler_ |
saved_game & | saved_game_ |
Private Types | |
typedef std::shared_ptr< const game_events::wml_menu_item > | const_item_ptr |
A smart pointer used when retrieving menu items. More... | |
Private Member Functions | |
void | expand_autosaves (std::vector< config > &items, int i) |
void | expand_wml_commands (std::vector< config > &items, int i) |
Replaces "wml" in items with all active WML menu items for the current field. More... | |
Private Attributes | |
std::vector< std::string > | savenames_ |
std::vector< const_item_ptr > | wml_commands_ |
int | last_context_menu_x_ |
int | last_context_menu_y_ |
Definition at line 36 of file hotkey_handler.hpp.
|
private |
A smart pointer used when retrieving menu items.
Definition at line 57 of file hotkey_handler.hpp.
play_controller::hotkey_handler::hotkey_handler | ( | play_controller & | pc, |
saved_game & | sg | ||
) |
Definition at line 40 of file hotkey_handler.cpp.
play_controller::hotkey_handler::~hotkey_handler | ( | ) |
Definition at line 51 of file hotkey_handler.cpp.
|
protected |
Definition at line 65 of file hotkey_handler.cpp.
References play_controller::is_browsing(), and play_controller_.
Referenced by playsingle_controller::hotkey_handler::can_execute_command(), cycle_back_units(), cycle_units(), playsingle_controller::hotkey_handler::end_unit_turn(), move_action(), playsingle_controller::hotkey_handler::recall(), playsingle_controller::hotkey_handler::recruit(), playsingle_controller::hotkey_handler::repeat_recruit(), select_and_action(), and playsingle_controller::hotkey_handler::unit_hold_position().
|
overridevirtual |
Check if a command can be executed.
Implements hotkey::command_executor.
Reimplemented in playsingle_controller::hotkey_handler, and playmp_controller::hotkey_handler.
Definition at line 279 of file hotkey_handler.cpp.
References play_controller::can_redo(), play_controller::can_undo(), hotkey::hotkey_command::command, events::commands_disabled, events::menu_handler::current_unit(), play_controller::enemies_visible(), events::mouse_handler::get_last_hex(), play_controller::get_teams(), gui(), hotkey::HOTKEY_ACCELERATED, hotkey::HOTKEY_ACHIEVEMENTS, hotkey::HOTKEY_AI_FORMULA, hotkey::HOTKEY_ANIMATE_MAP, hotkey::HOTKEY_BEST_ENEMY_MOVES, hotkey::HOTKEY_CHAT_LOG, hotkey::HOTKEY_CLEAR_MSG, hotkey::HOTKEY_CUSTOM_CMD, hotkey::HOTKEY_CYCLE_BACK_UNITS, hotkey::HOTKEY_CYCLE_UNITS, hotkey::HOTKEY_DESELECT_HEX, hotkey::HOTKEY_FULLSCREEN, hotkey::HOTKEY_HELP, hotkey::HOTKEY_HELP_ABOUT_SAVELOAD, hotkey::HOTKEY_LABEL_SETTINGS, hotkey::HOTKEY_LEADER, hotkey::HOTKEY_LOAD_GAME, hotkey::HOTKEY_MAP_SCREENSHOT, hotkey::HOTKEY_MINIMAP_CODING_TERRAIN, hotkey::HOTKEY_MINIMAP_CODING_UNIT, hotkey::HOTKEY_MINIMAP_DRAW_TERRAIN, hotkey::HOTKEY_MINIMAP_DRAW_UNITS, hotkey::HOTKEY_MINIMAP_DRAW_VILLAGES, hotkey::HOTKEY_MOUSE_SCROLL, hotkey::HOTKEY_MOVE_ACTION, hotkey::HOTKEY_MUTE, hotkey::HOTKEY_NULL, hotkey::HOTKEY_OBJECTIVES, hotkey::HOTKEY_PREFERENCES, hotkey::HOTKEY_QUIT_GAME, hotkey::HOTKEY_QUIT_TO_DESKTOP, hotkey::HOTKEY_REDO, hotkey::HOTKEY_RENAME_UNIT, hotkey::HOTKEY_SAVE_GAME, hotkey::HOTKEY_SAVE_MAP, hotkey::HOTKEY_SAVE_REPLAY, hotkey::HOTKEY_SCREENSHOT, hotkey::HOTKEY_SCROLL_DOWN, hotkey::HOTKEY_SCROLL_LEFT, hotkey::HOTKEY_SCROLL_RIGHT, hotkey::HOTKEY_SCROLL_UP, hotkey::HOTKEY_SEARCH, hotkey::HOTKEY_SELECT_AND_ACTION, hotkey::HOTKEY_SELECT_HEX, hotkey::HOTKEY_SHOW_ENEMY_MOVES, hotkey::HOTKEY_SPEAK, hotkey::HOTKEY_SPEAK_ALL, hotkey::HOTKEY_SPEAK_ALLY, hotkey::HOTKEY_STATISTICS, hotkey::HOTKEY_STATUS_TABLE, hotkey::HOTKEY_SURRENDER, hotkey::HOTKEY_TERRAIN_DESCRIPTION, hotkey::HOTKEY_TOGGLE_ELLIPSES, hotkey::HOTKEY_TOGGLE_GRID, hotkey::HOTKEY_TOUCH_HEX, hotkey::HOTKEY_UNDO, hotkey::HOTKEY_UNIT_DESCRIPTION, hotkey::HOTKEY_UNIT_LIST, hotkey::HOTKEY_USER_CMD, hotkey::HOTKEY_ZOOM_DEFAULT, hotkey::HOTKEY_ZOOM_IN, hotkey::HOTKEY_ZOOM_OUT, i, utf8::index(), play_controller::is_linger_mode(), play_controller::is_networked_mp(), play_controller::is_observer(), linger(), hotkey::LUA_CONSOLE, menu_handler_, mouse_handler_, play_controller_, savenames_, t, map_location::valid(), unit_map::iterator_base< iter_types >::valid(), display::viewing_side(), and wml_commands_.
Referenced by playsingle_controller::hotkey_handler::can_execute_command(), and show_menu().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 162 of file hotkey_handler.cpp.
References browse(), events::mouse_handler::cycle_back_units(), and mouse_handler_.
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 158 of file hotkey_handler.cpp.
References browse(), events::mouse_handler::cycle_units(), and mouse_handler_.
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 135 of file hotkey_handler.cpp.
References events::mouse_handler::deselect_hex(), and mouse_handler_.
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 253 of file hotkey_handler.cpp.
References hotkey::hotkey_command::command, game_events::wmi_manager::fire_item(), game_state::gamedata_, gamestate(), events::mouse_handler::get_last_hex(), play_controller::get_units(), game_state::get_wml_menu_items(), hotkey::HOTKEY_WML, i, hotkey::hotkey_command::id, utf8::index(), load_autosave(), mouse_handler_, play_controller_, savenames_, wml_commands_, and wml_menu_hotkey_prefix.
|
private |
Definition at line 406 of file hotkey_handler.cpp.
References _(), savegame::savegame::create_filename(), compression::format_extension(), i, play_controller_, preferences::save_compression_format(), savegame::save_game_exists(), saved_game_, savenames_, trim_items(), and play_controller::turn().
Referenced by show_menu().
|
private |
Replaces "wml" in items with all active WML menu items for the current field.
Definition at line 444 of file hotkey_handler.cpp.
References game_state::gamedata_, gamestate(), game_events::wmi_manager::get_items(), events::mouse_handler::get_last_hex(), play_controller::get_units(), game_state::get_wml_menu_items(), i, mouse_handler_, play_controller_, and wml_commands_.
Referenced by show_menu().
|
protected |
Definition at line 57 of file hotkey_handler.cpp.
References play_controller::gamestate(), and play_controller_.
Referenced by playmp_controller::hotkey_handler::can_execute_command(), playsingle_controller::hotkey_handler::can_execute_command(), do_execute_command(), expand_wml_commands(), and in_context_menu().
|
protected |
Definition at line 61 of file hotkey_handler.cpp.
References play_controller::gamestate(), and play_controller_.
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 522 of file hotkey_handler.cpp.
References utf8::index(), and wml_commands_.
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Reimplemented in playsingle_controller::hotkey_handler.
Definition at line 533 of file hotkey_handler.cpp.
References hotkey::ACTION_OFF, hotkey::ACTION_ON, hotkey::ACTION_STATELESS, team::auto_shroud_updates(), gui(), hotkey::HOTKEY_DELAY_SHROUD, hotkey::HOTKEY_MINIMAP_CODING_TERRAIN, hotkey::HOTKEY_MINIMAP_CODING_UNIT, hotkey::HOTKEY_MINIMAP_DRAW_TERRAIN, hotkey::HOTKEY_MINIMAP_DRAW_UNITS, hotkey::HOTKEY_MINIMAP_DRAW_VILLAGES, hotkey::HOTKEY_ZOOM_DEFAULT, preferences::minimap_draw_terrain(), preferences::minimap_draw_units(), preferences::minimap_draw_villages(), preferences::minimap_movement_coding(), preferences::minimap_terrain_coding(), and viewing_team().
Referenced by playsingle_controller::hotkey_handler::get_action_state().
|
inlineoverrideprotectedvirtual |
Implements hotkey::command_executor_default.
Definition at line 39 of file hotkey_handler.hpp.
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 190 of file hotkey_handler.cpp.
References play_controller::current_side(), events::menu_handler::goto_leader(), menu_handler_, and play_controller_.
|
protected |
Definition at line 53 of file hotkey_handler.cpp.
References play_controller::get_display(), and play_controller_.
Referenced by playsingle_controller::hotkey_handler::can_execute_command(), can_execute_command(), get_action_state(), in_context_menu(), left_mouse_click(), right_mouse_click(), select_hex(), show_statistics(), toggle_accelerated_speed(), playsingle_controller::hotkey_handler::toggle_shroud_updates(), touch_hex(), playsingle_controller::hotkey_handler::update_shroud_now(), viewing_team(), viewing_team_is_playing(), and playsingle_controller::hotkey_handler::whiteboard_toggle().
bool play_controller::hotkey_handler::in_context_menu | ( | hotkey::HOTKEY_COMMAND | command | ) | const |
Determines whether the command should be in the context menu or not.
Independent of whether or not we can actually execute the command.
Definition at line 496 of file hotkey_handler.cpp.
References gamestate(), events::mouse_handler::get_last_hex(), play_controller::get_map(), gui(), hotkey::HOTKEY_RECALL, hotkey::HOTKEY_RECRUIT, hotkey::HOTKEY_REPEAT_RECRUIT, gamemap::is_castle(), gamemap::is_keep(), mouse_handler_, play_controller_, game_state::side_can_recruit_on(), and display::viewing_side().
Referenced by show_menu().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 107 of file hotkey_handler.cpp.
References display::get_location_x(), display::get_location_y(), gui(), mouse_handler_, and events::mouse_handler_base::mouse_press().
|
protected |
Definition at line 66 of file hotkey_handler.cpp.
References play_controller::is_lingering(), and play_controller_.
Referenced by playmp_controller::hotkey_handler::can_execute_command(), playsingle_controller::hotkey_handler::can_execute_command(), and can_execute_command().
|
virtual |
Reimplemented in playsingle_controller::hotkey_handler.
Definition at line 556 of file hotkey_handler.cpp.
References savegame::save_index_class::default_saves_dir().
Referenced by do_execute_command(), and playsingle_controller::hotkey_handler::load_autosave().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 99 of file hotkey_handler.cpp.
References play_controller::load_game(), and play_controller_.
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 131 of file hotkey_handler.cpp.
References browse(), mouse_handler_, and events::mouse_handler::move_action().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 71 of file hotkey_handler.cpp.
References menu_handler_, and events::menu_handler::objectives().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 103 of file hotkey_handler.cpp.
References menu_handler_, and events::menu_handler::preferences().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 182 of file hotkey_handler.cpp.
References play_controller_, and play_controller::redo().
|
inlineoverridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 121 of file hotkey_handler.hpp.
References utf8::index(), lua_gui2::show_menu(), and play_controller::toggle_skipping_replay().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 142 of file hotkey_handler.cpp.
References display::get_location_x(), display::get_location_y(), gui(), mouse_handler_, and events::mouse_handler_base::mouse_press().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 87 of file hotkey_handler.cpp.
References play_controller_, and play_controller::save_game().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 95 of file hotkey_handler.cpp.
References play_controller_, and play_controller::save_map().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 91 of file hotkey_handler.cpp.
References play_controller_, and play_controller::save_replay().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 238 of file hotkey_handler.cpp.
References play_controller_, and controller_base::set_scroll_down().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 243 of file hotkey_handler.cpp.
References play_controller_, and controller_base::set_scroll_left().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 248 of file hotkey_handler.cpp.
References play_controller_, and controller_base::set_scroll_right().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 233 of file hotkey_handler.cpp.
References play_controller_, and controller_base::set_scroll_up().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 210 of file hotkey_handler.cpp.
References menu_handler_, and events::menu_handler::search().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 122 of file hotkey_handler.cpp.
References browse(), mouse_handler_, and events::mouse_handler::select_or_action().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 138 of file hotkey_handler.cpp.
References gui(), mouse_handler_, and events::mouse_handler::select_hex().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 170 of file hotkey_handler.cpp.
References menu_handler_, and events::menu_handler::show_chat_log().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 186 of file hotkey_handler.cpp.
References play_controller::current_side(), menu_handler_, play_controller_, and events::menu_handler::show_enemy_moves().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 174 of file hotkey_handler.cpp.
References menu_handler_, and events::menu_handler::show_help().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 459 of file hotkey_handler.cpp.
References can_execute_command(), hotkey::hotkey_command::command, expand_autosaves(), expand_wml_commands(), hotkey::get_hotkey_command(), i, in_context_menu(), mp::ui_alerts::items, last_context_menu_x_, last_context_menu_y_, savenames_, lua_gui2::show_menu(), and wml_commands_.
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 75 of file hotkey_handler.cpp.
References gui(), menu_handler_, events::menu_handler::show_statistics(), and viewing_team().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 166 of file hotkey_handler.cpp.
References menu_handler_, and events::menu_handler::speak().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 83 of file hotkey_handler.cpp.
References menu_handler_, and events::menu_handler::status_table().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 198 of file hotkey_handler.cpp.
References menu_handler_, mouse_handler_, and events::menu_handler::terrain_description().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 214 of file hotkey_handler.cpp.
References _(), display::announce(), display::announce_options::discard_previous, hotkey::hotkey_command::get_command_by_command(), hotkey::get_names(), gui(), hotkey::HOTKEY_ACCELERATED, font::NORMAL_COLOR, preferences::set_turbo(), preferences::turbo(), and VGETTEXT.
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 202 of file hotkey_handler.cpp.
References menu_handler_, and events::menu_handler::toggle_ellipses().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 206 of file hotkey_handler.cpp.
References menu_handler_, and events::menu_handler::toggle_grid().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 126 of file hotkey_handler.cpp.
References gui(), mouse_handler_, display::mouseover_hex(), and events::mouse_handler::touch_action().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 178 of file hotkey_handler.cpp.
References play_controller_, and play_controller::undo().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 194 of file hotkey_handler.cpp.
References menu_handler_, and events::menu_handler::unit_description().
|
overridevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 79 of file hotkey_handler.cpp.
References menu_handler_, and events::menu_handler::unit_list().
|
protected |
Definition at line 68 of file hotkey_handler.cpp.
References play_controller::get_teams(), gui(), play_controller_, and display::viewing_team().
Referenced by playsingle_controller::hotkey_handler::can_execute_command(), get_action_state(), show_statistics(), playsingle_controller::hotkey_handler::toggle_shroud_updates(), and playsingle_controller::hotkey_handler::update_shroud_now().
|
protected |
Definition at line 69 of file hotkey_handler.cpp.
References gui(), display::playing_team(), and display::viewing_team().
Referenced by playsingle_controller::hotkey_handler::can_execute_command().
|
private |
Definition at line 69 of file hotkey_handler.hpp.
Referenced by show_menu().
|
private |
Definition at line 70 of file hotkey_handler.hpp.
Referenced by show_menu().
|
protected |
Definition at line 44 of file hotkey_handler.hpp.
Referenced by playsingle_controller::hotkey_handler::ai_formula(), playsingle_controller::hotkey_handler::can_execute_command(), can_execute_command(), playsingle_controller::hotkey_handler::change_side(), playsingle_controller::hotkey_handler::clear_labels(), playsingle_controller::hotkey_handler::clear_messages(), playsingle_controller::hotkey_handler::continue_move(), playsingle_controller::hotkey_handler::create_unit(), playsingle_controller::hotkey_handler::custom_command(), playsingle_controller::hotkey_handler::end_unit_turn(), goto_leader(), playsingle_controller::hotkey_handler::kill_unit(), playsingle_controller::hotkey_handler::label_settings(), playsingle_controller::hotkey_handler::label_terrain(), objectives(), preferences(), playsingle_controller::hotkey_handler::recall(), playsingle_controller::hotkey_handler::recruit(), playsingle_controller::hotkey_handler::rename_unit(), playsingle_controller::hotkey_handler::repeat_recruit(), search(), playmp_controller::hotkey_handler::shout(), show_chat_log(), show_enemy_moves(), show_help(), show_statistics(), speak(), status_table(), terrain_description(), toggle_ellipses(), toggle_grid(), playsingle_controller::hotkey_handler::toggle_shroud_updates(), unit_description(), playsingle_controller::hotkey_handler::unit_hold_position(), unit_list(), playsingle_controller::hotkey_handler::update_shroud_now(), playsingle_controller::hotkey_handler::user_command(), playmp_controller::hotkey_handler::whisper(), and playsingle_controller::hotkey_handler::whiteboard_suppose_dead().
|
protected |
Definition at line 45 of file hotkey_handler.hpp.
Referenced by playsingle_controller::hotkey_handler::can_execute_command(), can_execute_command(), playsingle_controller::hotkey_handler::change_side(), playsingle_controller::hotkey_handler::continue_move(), playsingle_controller::hotkey_handler::create_unit(), cycle_back_units(), cycle_units(), deselect_hex(), do_execute_command(), playsingle_controller::hotkey_handler::end_unit_turn(), expand_wml_commands(), in_context_menu(), playsingle_controller::hotkey_handler::kill_unit(), playsingle_controller::hotkey_handler::label_terrain(), left_mouse_click(), move_action(), playsingle_controller::hotkey_handler::recall(), playsingle_controller::hotkey_handler::recruit(), playsingle_controller::hotkey_handler::repeat_recruit(), right_mouse_click(), select_and_action(), select_hex(), terrain_description(), touch_hex(), and playsingle_controller::hotkey_handler::unit_hold_position().
|
protected |
References to parent object / constituents.
Definition at line 42 of file hotkey_handler.hpp.
Referenced by browse(), playsingle_controller::hotkey_handler::can_execute_command(), can_execute_command(), playsingle_controller::hotkey_handler::continue_move(), do_execute_command(), playsingle_controller::hotkey_handler::end_unit_turn(), expand_autosaves(), expand_wml_commands(), gamestate(), goto_leader(), gui(), in_context_menu(), linger(), load_game(), playsingle_controller::hotkey_handler::recall(), playsingle_controller::hotkey_handler::recruit(), redo(), playsingle_controller::hotkey_handler::repeat_recruit(), save_game(), save_map(), save_replay(), scroll_down(), scroll_left(), scroll_right(), scroll_up(), show_enemy_moves(), undo(), playsingle_controller::hotkey_handler::unit_hold_position(), and viewing_team().
|
protected |
Definition at line 47 of file hotkey_handler.hpp.
Referenced by expand_autosaves().
|
private |
Definition at line 62 of file hotkey_handler.hpp.
Referenced by can_execute_command(), do_execute_command(), expand_autosaves(), and show_menu().
|
private |
Definition at line 68 of file hotkey_handler.hpp.
Referenced by can_execute_command(), do_execute_command(), expand_wml_commands(), get_action_image(), and show_menu().
|
static |
Definition at line 83 of file hotkey_handler.hpp.
Referenced by playsingle_controller::hotkey_handler::can_execute_command(), and do_execute_command().