#include "ai/formula/ai.hpp"
#include "game_board.hpp"
#include "ai/formula/callable_objects.hpp"
#include "ai/composite/contexts.hpp"
#include "resources.hpp"
#include "map/map.hpp"
#include "ai/game_info.hpp"
#include "ai/actions.hpp"
#include "units/formula_manager.hpp"
#include "units/unit.hpp"
#include "log.hpp"
#include "menu_events.hpp"
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. | |
wfl | |
Macros | |
#define | DBG_AI LOG_STREAM(debug, log_formula_ai) |
#define | LOG_AI LOG_STREAM(info, log_formula_ai) |
#define | WRN_AI LOG_STREAM(warn, log_formula_ai) |
#define | ERR_AI LOG_STREAM(err, log_formula_ai) |
Functions | |
ai_context & | ai::get_ai_context (const wfl::const_formula_callable_ptr &for_fai) |
Variables | |
static lg::log_domain | log_formula_ai ("ai/engine/fai") |
#define DBG_AI LOG_STREAM(debug, log_formula_ai) |
Definition at line 30 of file callable_objects.cpp.
#define ERR_AI LOG_STREAM(err, log_formula_ai) |
Definition at line 33 of file callable_objects.cpp.
#define LOG_AI LOG_STREAM(info, log_formula_ai) |
Definition at line 31 of file callable_objects.cpp.
#define WRN_AI LOG_STREAM(warn, log_formula_ai) |
Definition at line 32 of file callable_objects.cpp.
|
static |