The Battle for Wesnoth  1.19.4+dev
Classes | Namespaces | Macros | Variables
engine_fai.cpp File Reference

FAI AI Support engine - creating specific ai components from config. More...

#include "ai/formula/ai.hpp"
#include "ai/formula/engine_fai.hpp"
#include "ai/composite/rca.hpp"
#include "ai/formula/candidates.hpp"
#include "ai/formula/stage_side_formulas.hpp"
#include "ai/formula/stage_unit_formulas.hpp"
#include "log.hpp"
Include dependency graph for engine_fai.cpp:

Go to the source code of this file.

Classes

class  ai::fai_candidate_action_wrapper
 

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.
 

Macros

#define DBG_AI_ENGINE_FAI   LOG_STREAM(debug, log_ai_engine_fai)
 
#define LOG_AI_ENGINE_FAI   LOG_STREAM(info, log_ai_engine_fai)
 
#define ERR_AI_ENGINE_FAI   LOG_STREAM(err, log_ai_engine_fai)
 

Variables

static lg::log_domain ai::log_ai_engine_fai ("ai/engine/fai")
 

Detailed Description

FAI AI Support engine - creating specific ai components from config.

Definition in file engine_fai.cpp.

Macro Definition Documentation

◆ DBG_AI_ENGINE_FAI

#define DBG_AI_ENGINE_FAI   LOG_STREAM(debug, log_ai_engine_fai)

Definition at line 32 of file engine_fai.cpp.

◆ ERR_AI_ENGINE_FAI

#define ERR_AI_ENGINE_FAI   LOG_STREAM(err, log_ai_engine_fai)

Definition at line 34 of file engine_fai.cpp.

◆ LOG_AI_ENGINE_FAI

#define LOG_AI_ENGINE_FAI   LOG_STREAM(info, log_ai_engine_fai)

Definition at line 33 of file engine_fai.cpp.