Namespaces | Defines | Variables

ai/composite/engine.cpp File Reference

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

#include "engine.hpp"
#include "contexts.hpp"
#include "../../foreach.hpp"
#include "../../log.hpp"
Include dependency graph for engine.cpp:

Go to the source code of this file.

Namespaces

namespace  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.


Defines

#define DBG_AI_ENGINE   LOG_STREAM(debug, log_ai_engine)
#define LOG_AI_ENGINE   LOG_STREAM(info, log_ai_engine)
#define ERR_AI_ENGINE   LOG_STREAM(err, log_ai_engine)

Variables

static lg::log_domain ai::log_ai_engine ("ai/engine")

Detailed Description

AI Support engine - creating specific ai components from config.

Definition in file engine.cpp.


Define Documentation

#define DBG_AI_ENGINE   LOG_STREAM(debug, log_ai_engine)

Definition at line 30 of file engine.cpp.

#define ERR_AI_ENGINE   LOG_STREAM(err, log_ai_engine)

Definition at line 32 of file engine.cpp.

#define LOG_AI_ENGINE   LOG_STREAM(info, log_ai_engine)

Definition at line 31 of file engine.cpp.

Referenced by ai::engine::engine().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:03:22 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs