21 #ifndef AI_FORMULA_AI_HPP_INCLUDED
22 #define AI_FORMULA_AI_HPP_INCLUDED
34 #include <boost/noncopyable.hpp>
42 namespace ai {
class ai_context; }
44 namespace pathfind {
struct plain_route; }
50 #pragma warning(disable:4250)
59 const unit_formula_pair&
right)
const
61 return left.second > right.second;
65 typedef std::multiset< unit_formula_pair, game_logic::unit_formula_compare >
unit_formula_set;
159 virtual void get_inputs(std::vector<game_logic::formula_input>*
inputs)
const;
Defines formula ai candidate actions - headers.
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...
Structure which holds a single route between one location and another.
Encapsulates the map of the game.
std::pair< unit_map::unit_iterator, int > unit_formula_pair
static void msg(const char *act, debug_info &i, const char *to="", const char *result="")
Helper functions for the object which operates in the context of AI for specific side this is part of...
GLuint const GLchar * name
std::multiset< unit_formula_pair, game_logic::unit_formula_compare > unit_formula_set
A config object defines a single node in a WML file, with access to child nodes.
GLsizei const GLcharARB ** string