The Battle for Wesnoth  1.15.0-dev
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 "display.hpp"
#include "filter_context.hpp"
#include "game_board.hpp"
#include "log.hpp"
#include "map/map.hpp"
#include "map/label.hpp"
#include "pathfind/pathfind.hpp"
#include "pathutils.hpp"
#include "random.hpp"
#include "resources.hpp"
#include "team.hpp"
#include "tod_manager.hpp"
#include "units/filter.hpp"
#include "units/map.hpp"
#include "units/types.hpp"
#include "units/unit.hpp"
#include "variable.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

◆ ERR_AI_RECRUITMENT

#define ERR_AI_RECRUITMENT   LOG_STREAM(err, log_ai_recruitment)

◆ LOG_AI_RECRUITMENT

#define LOG_AI_RECRUITMENT   LOG_STREAM(info, log_ai_recruitment)

Variable Documentation

◆ log_ai_recruitment

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