The Battle for Wesnoth  1.19.7+dev
Namespaces | Macros | Variables
stage.cpp File Reference

Stage of a composite AI. More...

#include "ai/composite/stage.hpp"
#include "ai/contexts.hpp"
#include "log.hpp"
#include "resources.hpp"
#include "tod_manager.hpp"
#include <map>
#include <string>
Include dependency graph for stage.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_STAGE   LOG_STREAM(debug, log_ai_stage)
 
#define LOG_AI_STAGE   LOG_STREAM(info, log_ai_stage)
 
#define ERR_AI_STAGE   LOG_STREAM(err, log_ai_stage)
 

Variables

static lg::log_domain ai::log_ai_stage ("ai/stage")
 

Detailed Description

Stage of a composite AI.

Definition in file stage.cpp.

Macro Definition Documentation

◆ DBG_AI_STAGE

#define DBG_AI_STAGE   LOG_STREAM(debug, log_ai_stage)

Definition at line 32 of file stage.cpp.

◆ ERR_AI_STAGE

#define ERR_AI_STAGE   LOG_STREAM(err, log_ai_stage)

Definition at line 34 of file stage.cpp.

◆ LOG_AI_STAGE

#define LOG_AI_STAGE   LOG_STREAM(info, log_ai_stage)

Definition at line 33 of file stage.cpp.