The Battle for Wesnoth  1.19.5+dev
Namespaces | Macros | Variables
aspect_advancements.cpp File Reference
#include "ai/lua/aspect_advancements.hpp"
#include "log.hpp"
#include "lua/wrapper_lauxlib.h"
#include "map/location.hpp"
#include "serialization/string_utils.hpp"
#include "units/unit.hpp"
#include "units/map.hpp"
#include <string>
#include <vector>
Include dependency graph for aspect_advancements.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 LOG_LUA   LOG_STREAM(info, log_ai_engine_lua)
 
#define ERR_LUA   LOG_STREAM(err, log_ai_engine_lua)
 

Variables

static lg::log_domain log_ai_engine_lua ("ai/engine/lua")
 

Macro Definition Documentation

◆ ERR_LUA

#define ERR_LUA   LOG_STREAM(err, log_ai_engine_lua)

Definition at line 32 of file aspect_advancements.cpp.

◆ LOG_LUA

#define LOG_LUA   LOG_STREAM(info, log_ai_engine_lua)

Definition at line 31 of file aspect_advancements.cpp.

Variable Documentation

◆ log_ai_engine_lua

lg::log_domain log_ai_engine_lua("ai/engine/lua") ( "ai/engine/lua"  )
static