16 #ifndef MENU_EVENTS_H_INCLUDED
17 #define MENU_EVENTS_H_INCLUDED
129 std::vector<team>&
teams()
const;
void label_terrain(mouse_handler &mousehandler, bool team_only)
unit_map::const_iterator current_unit() const
void do_search(const std::string &new_search)
void goto_leader(int side_num)
map_location last_search_hit_
menu_handler(game_display *gui, play_controller &pc, const config &game_config)
GLuint GLuint GLsizei GLenum type
void add_chat_message(const time_t &time, const std::string &speaker, int side, const std::string &message, events::chat_handler::MESSAGE_TYPE type=events::chat_handler::MESSAGE_PRIVATE)
void do_command(const std::string &str)
gui::floating_textbox & get_textbox()
void request_control_change(int side_num, const std::string &player)
void set_gui(game_display *gui)
std::string get_title_suffix(int side_num)
void update_shroud_now(int side_num)
void create_unit(mouse_handler &mousehandler)
Creates a unit (in debug mode via hotkey or context menu).
void show_statistics(int side_num)
This class stores all the data for a single 'side' (in game nomenclature).
bool end_turn(int side_num)
void toggle_shroud_updates(int side_num)
game_board & board() const
void recall(int side_num, const map_location &last_hex)
void status_table(int selected=0)
const config & game_config_
void end_unit_turn(mouse_handler &mousehandler, int side_num)
Encapsulates the map of the game.
void recruit(int side_num, const map_location &last_hex)
std::vector< team > & teams() const
game_state & gamestate() const
bool do_recruit(const std::string &name, int side_num, const map_location &last_hex)
Encapsulates the map of the game.
void continue_move(mouse_handler &mousehandler, int side_num)
void execute_gotos(mouse_handler &mousehandler, int side_num)
Game configuration data as global variables.
void terrain_description(mouse_handler &mousehandler)
void unit_hold_position(mouse_handler &mousehandler, int side_num)
void change_side(mouse_handler &mousehandler)
void objectives(int side_num)
void kill_unit(mouse_handler &mousehandler)
void scenario_settings_table(int selected=0)
Handling of system events.
GLuint const GLchar * name
unit_map::iterator current_unit()
void show_enemy_moves(bool ignore_units, int side_num)
Container associating units to locations.
GLsizei GLenum GLuint GLuint GLsizei char * message
gui::floating_textbox textbox_info_
void send_to_server(const config &cfg) override
A config object defines a single node in a WML file, with access to child nodes.
std::vector< std::string > get_commands_list()
void send_chat_message(const std::string &message, bool allies_only=false)
void repeat_recruit(int side_num, const map_location &last_hex)
void move_unit_to_loc(const unit_map::iterator &ui, const map_location &target, bool continue_move, int side_num, mouse_handler &mousehandler)
GLsizei const GLcharARB ** string
void do_ai_formula(const std::string &str, int side_num, mouse_handler &mousehandler)