The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Macros | Variables
recruitment.cpp File Reference

Recruitment Engine by flix See http://wiki.wesnoth.org/AI_Recruitment. More...

#include "ai/default/recruitment.hpp"
#include "ai/actions.hpp"
#include "ai/composite/rca.hpp"
#include "ai/manager.hpp"
#include "actions/attack.hpp"
#include "attack_prediction.hpp"
#include "filter_context.hpp"
#include "game_board.hpp"
#include "game_display.hpp"
#include "log.hpp"
#include "map/map.hpp"
#include "map/label.hpp"
#include "pathfind/pathfind.hpp"
#include "pathutils.hpp"
#include "resources.hpp"
#include "team.hpp"
#include "tod_manager.hpp"
#include "units/filter.hpp"
#include "units/map.hpp"
#include "units/types.hpp"
#include "util.hpp"
#include "variable.hpp"
#include "wml_exception.hpp"
#include "config_assign.hpp"
#include <boost/scoped_ptr.hpp>
#include <cmath>
Include dependency graph for recruitment.cpp:

Go to the source code of this file.

Classes

struct  ai::default_recruitment::attack_simulation
 For Combat Analysis. More...
 

Namespaces

 ai
 A small explanation about what's going on here: Each action has access to two game_info objects First is 'info' - real information Second is 'subjective info' - AIs perception of what's going on So, when we check_before action, we use 'subjective info' and don't touch real 'info' at all.
 
 ai::default_recruitment
 

Macros

#define LOG_AI_RECRUITMENT   LOG_STREAM(info, log_ai_recruitment)
 
#define ERR_AI_RECRUITMENT   LOG_STREAM(err, log_ai_recruitment)
 

Variables

static lg::log_domain log_ai_recruitment ("ai/recruitment")
 

Detailed Description

Recruitment Engine by flix See http://wiki.wesnoth.org/AI_Recruitment.

Definition in file recruitment.cpp.

Macro Definition Documentation

#define ERR_AI_RECRUITMENT   LOG_STREAM(err, log_ai_recruitment)
#define LOG_AI_RECRUITMENT   LOG_STREAM(info, log_ai_recruitment)

Variable Documentation

lg::log_domain log_ai_recruitment("ai/recruitment")
static