The Battle for Wesnoth  1.19.7+dev
Namespaces | Macros | Variables
aspect.cpp File Reference
#include "ai/composite/aspect.hpp"
#include "ai/manager.hpp"
#include "log.hpp"
Include dependency graph for aspect.cpp:

Go to the source code of this file.

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_ASPECT   LOG_STREAM(debug, log_ai_aspect)
 
#define LOG_AI_ASPECT   LOG_STREAM(info, log_ai_aspect)
 
#define WRN_AI_ASPECT   LOG_STREAM(warn, log_ai_aspect)
 
#define ERR_AI_ASPECT   LOG_STREAM(err, log_ai_aspect)
 

Variables

static lg::log_domain ai::log_ai_aspect ("ai/aspect")
 

Macro Definition Documentation

◆ DBG_AI_ASPECT

#define DBG_AI_ASPECT   LOG_STREAM(debug, log_ai_aspect)

Definition at line 27 of file aspect.cpp.

◆ ERR_AI_ASPECT

#define ERR_AI_ASPECT   LOG_STREAM(err, log_ai_aspect)

Definition at line 30 of file aspect.cpp.

◆ LOG_AI_ASPECT

#define LOG_AI_ASPECT   LOG_STREAM(info, log_ai_aspect)

Definition at line 28 of file aspect.cpp.

◆ WRN_AI_ASPECT

#define WRN_AI_ASPECT   LOG_STREAM(warn, log_ai_aspect)

Definition at line 29 of file aspect.cpp.