37 namespace ai {
class ai_context; }
52 return left.second > right.second;
78 std::string
evaluate(
const std::string& formula_str);
86 static const int MAX_CALLS = 1000;
88 int set_unit_var_counter_;
89 int continue_counter_;
91 gamestate_change_observer();
92 ~gamestate_change_observer();
94 void handle_generic_event(
const std::string& );
98 bool set_unit_var_check();
100 bool continue_check();
Defines formula ai candidate actions - headers.
A config object defines a single node in a WML file, with access to child nodes.
Definitions for the interface to Wesnoth Markup Language (WML).
Helper functions for the object which operates in the context of AI for specific side this is part of...
A small explanation about what's going on here: Each action has access to two game_info objects First...
std::shared_ptr< candidate_action > candidate_action_ptr
std::vector< formula_input > formula_input_vector
std::shared_ptr< const formula > const_formula_ptr
static void msg(const char *act, debug_info &i, const char *to="", const char *result="")
std::shared_ptr< formula > formula_ptr
std::shared_ptr< const formula_callable > const_formula_callable_ptr
std::multiset< unit_formula_pair, unit_formula_compare > unit_formula_set
std::pair< unit_map::unit_iterator, int > unit_formula_pair
rect dst
Location on the final composed sheet.
rect src
Non-transparent portion of the surface to compose.
Encapsulates the map of the game.
Structure which holds a single route between one location and another.