33 static config get_movement(
const std::vector<map_location>& steps,
bool skip_sighted,
bool skip_ally_sighted);
36 int att_weapon,
int def_weapon,
const std::string& attacker_type_id,
37 const std::string& defender_type_id,
int attacker_lvl,
38 int defender_lvl,
const std::size_t turn,
const time_of_day &
t);
A config object defines a single node in a WML file, with access to child nodes.
static config get_lua_ai(const std::string &lua_code)
static config get_movement(const std::vector< map_location > &steps, bool skip_sighted, bool skip_ally_sighted)
Records a move that follows the provided steps.
static config get_init_side()
static config get_attack(const map_location &a, const map_location &b, int att_weapon, int def_weapon, const std::string &attacker_type_id, const std::string &defender_type_id, int attacker_lvl, int defender_lvl, const std::size_t turn, const time_of_day &t)
static config get_recall(const std::string &unit_id, const map_location &loc, const map_location &from)
static config get_auto_shroud(bool turned_on)
Records that the player has toggled automatic shroud updates.
static config get_recruit(const std::string &type_id, const map_location &loc, const map_location &from)
static config get_update_shroud()
Records that the player has manually updated fog/shroud.
static config get_disband(const std::string &unit_id)
static config get_event(const std::string &name, const map_location &loc, const map_location *last_select_loc)
Encapsulates the map of the game.
Object which defines a time of day with associated bonuses, image, sounds etc.