26 team ¤t_team = (*resources::teams)[side-1];
39 team ¤t_team = (*resources::teams)[side-1];
virtual bool redo(int side)
Redoes this action.
This class stores all the data for a single 'side' (in game nomenclature).
void redo(const config &dst)
void execute_undo_umc_wml()
config & add_child(const std::string &key)
void erase_if_matches_id(const std::string &unit_id)
Erase any unit with this id.
virtual void write(config &cfg) const
Writes this into the provided config.
virtual void write(config &cfg) const
Writes this into the provided config.
recall_list_manager & recall_list()
void add(const unit_ptr &ptr)
Add a unit to the list.
void execute_redo_umc_wml()
A config object defines a single node in a WML file, with access to child nodes.
config replay_data
the replay data to do this action, this is only !empty() when this action is on the redo stack we nee...
virtual bool undo(int side)
Undoes this action.