Recruitment Engine by flix See https://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 "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>
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) |
#define | ERR_WML LOG_STREAM(err, log_wml) |
Variables | |
static lg::log_domain | log_ai_recruitment ("ai/recruitment") |
static lg::log_domain | log_wml ("wml") |
Recruitment Engine by flix See https://wiki.wesnoth.org/AI_Recruitment.
Definition in file recruitment.cpp.
#define ERR_AI_RECRUITMENT LOG_STREAM(err, log_ai_recruitment) |
Definition at line 50 of file recruitment.cpp.
#define ERR_WML LOG_STREAM(err, log_wml) |
Definition at line 53 of file recruitment.cpp.
#define LOG_AI_RECRUITMENT LOG_STREAM(info, log_ai_recruitment) |
Definition at line 49 of file recruitment.cpp.
|
static |
Referenced by ai::default_recruitment::recruitment::execute().
|
static |