70 static void add_era_ai_from_config(
const config &game_config);
78 static const config& get_default_ai_parameters();
84 static const config& get_ai_config_for(
const std::string &
id);
91 static std::vector<description*> get_available_ais();
102 static bool get_side_config_from_file(
const std::string& file,
config&
cfg );
124 static inline description_map ai_configurations_ {};
125 static inline description_map era_ai_configurations_ {};
126 static inline description_map mod_ai_configurations_ {};
128 static inline std::string default_ai_algorithm_ {};
Definitions for the interface to Wesnoth Markup Language (WML).
A small explanation about what's going on here: Each action has access to two game_info objects First...
struct utils::detail::formula_initer init
boost::iterator_range< const_child_iterator > const_child_itors
Game information for the AI.
Game configuration data as global variables.
std::map< std::string, description > description_map
A config object defines a single node in a WML file, with access to child nodes.