61 void show_statistics(
int side_num);
71 void recruit(
int side_num,
const map_location& last_hex);
72 void repeat_recruit(
int side_num,
const map_location& last_hex);
74 void show_enemy_moves(
bool ignore_units,
int side_num);
75 void toggle_shroud_updates(
int side_num);
76 void update_shroud_now(
int side_num);
77 bool end_turn(
int side_num);
78 void goto_leader(
int side_num);
79 void unit_description();
85 void label_terrain(
mouse_handler& mousehandler,
bool team_only);
87 void label_settings();
88 void continue_move(
mouse_handler& mousehandler,
int side_num);
89 void execute_gotos(
mouse_handler& mousehandler,
int side_num);
90 void toggle_ellipses();
92 void unit_hold_position(
mouse_handler& mousehandler,
int side_num);
93 void end_unit_turn(
mouse_handler& mousehandler,
int side_num);
95 void request_control_change(
int side_num,
const std::string& player);
99 virtual void clear_messages()
override;
100 std::vector<std::string> get_commands_list();
117 bool do_recruit(
const std::string& name,
int side_num,
map_location& target_hex);
119 void do_search(
const std::string& new_search);
120 void do_command(
const std::string& str);
121 void do_ai_formula(
const std::string& str,
int side_num,
mouse_handler& mousehandler);
129 void add_chat_message(
const std::time_t& time,
130 const std::string& speaker,
132 const std::string& message,
134 void send_chat_message(
const std::string& message,
bool allies_only =
false)
override;
143 bool has_friends()
const;
void show_help(const std::string &show_topic, int xloc, int yloc)
Open the help browser, show topic with id show_topic.
map_location last_search_hit_
#define IMPLEMENT_LUA_JAILBREAK_EXCEPTION(type)
Helper macro for classes deriving from lua_jailbreak_exception.
const game_config_view & game_config_
void set_gui(game_display *gui)
const std::string & gamedata
This class stores all the data for a single 'side' (in game nomenclature).
Encapsulates the map of the game.
Modify, read and display user preferences.
Encapsulates the map of the game.
Handling of system events.
Container associating units to locations.
void send_to_server(const config &data)
Attempts to send given data to server if a connection is open.
gui::floating_textbox textbox_info_
A config object defines a single node in a WML file, with access to child nodes.
std::string custom_command()
Base class for exceptions that want to be thrown 'through' lua.
unit_map::const_iterator current_unit() const