58 void add_countdown_update(
int value,
int team);
60 void add_synced_command(
const std::string& name,
const config& command);
66 config& get_last_real_command();
73 void user_input(
const std::string &name,
const config &input,
int from_side);
75 void clear_labels(
const std::string&,
bool);
76 void add_rename(
const std::string& name,
const map_location& loc);
77 void end_turn(
int next_player_number);
79 void add_log_data(
const std::string &key,
const std::string &var);
80 void add_log_data(
const std::string &category,
const std::string &key,
const std::string &var);
81 void add_log_data(
const std::string &category,
const std::string &key,
const config&
c);
87 bool add_chat_message_location();
88 bool add_chat_message_location(
int pos);
89 void speak(
const config& cfg);
90 const std::vector<chat_msg>& build_chat_log()
const;
100 config get_data_range(
int cmd_start,
int cmd_end,
DATA_TYPE data_type=ALL_DATA)
const;
108 void undo_cut(
config& dst);
112 void redo(
const config& dst,
bool set_to_end =
false);
115 void revert_action();
116 config* get_next_action();
126 int ncommands()
const;
128 static void process_error(
const std::string&
msg);
133 bool add_start_if_not_there_yet();
134 void delete_upcoming_commands();
137 void add_chat_log_entry(
const config &speak, std::back_insert_iterator< std::vector<chat_msg>> &
i)
const;
139 config &command(
int)
const;
140 void remove_command(
int);
151 config& add_nonundoable_command();
177 void sync_non_undoable();
178 void commit_and_sync();
REPLAY_RETURN do_replay(bool one_move=false)
REPLAY_RETURN do_replay_handle(bool one_move=false)
static void msg(const char *act, debug_info &i, const char *to="", const char *result="")
replay_recorder_base * base_
Object which defines a time of day with associated bonuses, image, sounds etc.
This class stores all the data for a single 'side' (in game nomenclature).
const std::string & nick() const
Encapsulates the map of the game.
To store label data Class implements logic for rendering.
std::vector< int > message_locations
const std::time_t & time() const
A config object defines a single node in a WML file, with access to child nodes.
const std::string & color() const
chat_msg(const config &cfg)
const std::string & text() const