52 acquaintance(
const std::string& nick,
const std::string& status,
const std::string& notes)
88 std::pair<preferences::acquaintance*, bool>
add_acquaintance(
const std::string& nick,
const std::string& mode,
const std::string& notes);
177 void set_era(
const std::string& value);
180 void set_level(
const std::string& value);
238 std::vector<std::string>*
get_history(
const std::string&
id);
A config object defines a single node in a WML file, with access to child nodes.
Encapsulates the map of the game.
void load_from_config(const config &cfg)
std::string nick_
acquaintance's MP nick
acquaintance(const std::string &nick, const std::string &status, const std::string ¬es)
std::string notes_
notes on the acquaintance
const std::string & get_status() const
const std::string & get_nick() const
std::string status_
status (e.g., "friend", "ignore")
const std::string & get_notes() const
acquaintance(const config &cfg)
This class stores all the data for a single 'side' (in game nomenclature).
Container associating units to locations.
void show(const std::string &window_id, const t_string &message, const point &mouse, const SDL_Rect &source_rect)
Shows a tip.
Main entry points of multiplayer mode.
Modify, read and display user preferences.
void set_village_support(int value)
void set_show_side_colors(bool value)
void set_campaign_server(const std::string &host)
void set_skip_ai_moves(bool value)
bool show_all_units_in_help()
void set_village_gold(int value)
bool show_floating_labels()
void set_era(const std::string &value)
void set_user_servers_list(const std::vector< game_config::server_info > &value)
void set_shuffle_sides(bool value)
lobby_joins get_lobby_joins()
void set_allow_observers(bool value)
void set_skip_mp_replay(bool value)
void _set_lobby_joins(lobby_joins show)
std::string get_mp_server_program_name()
void set_message_private(bool value)
void set_mp_server_program_name(const std::string &path)
bool is_ignored(const std::string &nick)
void add_completed_campaign(const std::string &campaign_id, const std::string &difficulty_level)
void set_hide_whiteboard(bool value)
void set_shroud(bool value)
void set_custom_command(const std::string &command)
int countdown_init_time()
bool interrupt_when_ally_sighted()
void set_random_faction_mode(const std::string &value)
const std::string get_ignored_delim()
void set_modifications(const std::vector< std::string > &value, bool mp)
void set_turns(int value)
std::string campaign_server()
bool is_campaign_completed(const std::string &campaign_id)
void set_blindfold_replay(bool value)
void set_mp_server_warning_disabled(int value)
std::set< std::string > & encountered_units()
compression::format save_compression_format()
std::string network_host()
void set_show_all_units_in_help(bool value)
void set_chat_lines(int lines)
void set_chat_message_aging(const int aging)
void encounter_all_content(const game_board &gameboard_)
std::vector< game_config::server_info > user_servers_list()
void set_network_host(const std::string &host)
void encounter_start_units(const unit_map &units)
void set_delete_saves(bool value)
void set_interrupt_when_ally_sighted(bool value)
void set_chat_timestamping(bool value)
void set_xp_modifier(int value)
void set_use_map_settings(bool value)
void set_level_type(int value)
static void encounter_recallable_units(const std::vector< team > &teams)
void set_countdown_reservoir_time(int value)
int countdown_turn_bonus()
int countdown_action_bonus()
std::set< t_translation::terrain_code > & encountered_terrains()
void set_countdown(bool value)
void encounter_recruitable_units(const std::vector< team > &teams)
std::string get_chat_timestamp(const std::time_t &t)
std::string custom_command()
void set_turn_dialog(bool ison)
int mp_server_warning_disabled()
const std::vector< game_config::server_info > & builtin_servers_list()
void set_theme(const std::string &theme)
bool remove_acquaintance(const std::string &nick)
void encounter_map_terrain(const gamemap &map)
void set_countdown_init_time(int value)
void set_ask_delete_saves(bool value)
void set_countdown_action_bonus(int value)
void set_level(const std::string &value)
void set_show_floating_labels(bool value)
bool parse_should_show_lobby_join(const std::string &sender, const std::string &message)
std::pair< preferences::acquaintance *, bool > add_acquaintance(const std::string &nick, const std::string &mode, const std::string ¬es)
void set_options(const config &values)
void set_save_replays(bool value)
void set_random_start_time(bool value)
void set_autosavemax(int value)
std::map< std::string, std::string > get_acquaintances_nice(const std::string &filter)
std::vector< std::string > * get_history(const std::string &id)
Returns a pointer to the history vector associated with given id making a new one if it doesn't exist...
int countdown_reservoir_time()
const int INFINITE_AUTO_SAVES
bool enable_whiteboard_mode_on_start()
void set_countdown_turn_bonus(int value)
void set_enable_whiteboard_mode_on_start(bool value)
std::string random_faction_mode()
const std::map< std::string, acquaintance > & get_acquaintances()
bool is_friend(const std::string &nick)
const std::vector< std::string > & modifications(bool mp)