#include <hotkey_handler_mp.hpp>
Protected Attributes | |
playmp_controller & | playmp_controller_ |
![]() | |
playsingle_controller & | playsingle_controller_ |
boost::shared_ptr< wb::manager > | whiteboard_manager_ |
![]() | |
play_controller & | play_controller_ |
References to parent object / constituents. More... | |
events::menu_handler & | menu_handler_ |
events::mouse_handler & | mouse_handler_ |
saved_game & | saved_game_ |
Additional Inherited Members | |
![]() | |
static const std::string | wml_menu_hotkey_prefix = "wml_menu:" |
![]() | |
bool | is_observer () const |
![]() | |
display & | get_display () |
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 () |
![]() | |
static const int | zoom_amount = 4 |
Definition at line 27 of file hotkey_handler_mp.hpp.
playmp_controller::hotkey_handler::hotkey_handler | ( | playmp_controller & | pc, |
saved_game & | sg | ||
) |
Definition at line 22 of file hotkey_handler_mp.cpp.
playmp_controller::hotkey_handler::~hotkey_handler | ( | ) |
Definition at line 27 of file hotkey_handler_mp.cpp.
|
virtual |
Check if a command can be executed.
Reimplemented from playsingle_controller::hotkey_handler.
Definition at line 49 of file hotkey_handler_mp.cpp.
References playsingle_controller::hotkey_handler::can_execute_command(), game_state::gamedata_, play_controller::gamestate(), hotkey::HOTKEY_ENDTURN, hotkey::HOTKEY_SPEAK, hotkey::HOTKEY_SPEAK_ALL, hotkey::HOTKEY_SPEAK_ALLY, hotkey::HOTKEY_START_NETWORK, hotkey::HOTKEY_STOP_NETWORK, hotkey::hotkey_command::id, play_controller::is_observer(), playmp_controller::linger(), and game_data::next_scenario().
|
virtual |
Reimplemented from hotkey::command_executor.
Definition at line 37 of file hotkey_handler_mp.cpp.
References play_controller::menu_handler_, and events::menu_handler::shout().
|
virtual |
Reimplemented from hotkey::command_executor.
Definition at line 29 of file hotkey_handler_mp.cpp.
References play_controller::menu_handler_, and events::menu_handler::speak().
|
virtual |
Reimplemented from hotkey::command_executor.
Definition at line 41 of file hotkey_handler_mp.cpp.
|
virtual |
Reimplemented from hotkey::command_executor.
Definition at line 45 of file hotkey_handler_mp.cpp.
|
virtual |
Reimplemented from hotkey::command_executor.
Definition at line 33 of file hotkey_handler_mp.cpp.
References play_controller::menu_handler_, and events::menu_handler::whisper().
|
protected |
Definition at line 30 of file hotkey_handler_mp.hpp.