Calculate & analyze attacks of the default ai. More...
#include "ai/manager.hpp"
#include "ai/default/contexts.hpp"
#include "ai/actions.hpp"
#include "ai/composite/contexts.hpp"
#include "actions/attack.hpp"
#include "attack_prediction.hpp"
#include "game_config.hpp"
#include "log.hpp"
#include "map/map.hpp"
#include "team.hpp"
#include "units/unit.hpp"
#include "formula/callable_objects.hpp"
#include "resources.hpp"
#include "game_board.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. | |
Macros | |
#define | LOG_AI LOG_STREAM(info, log_ai) |
#define | ERR_AI LOG_STREAM(err, log_ai) |
Functions | |
ai_context & | ai::get_ai_context (const wfl::const_formula_callable_ptr &for_fai) |
Variables | |
static lg::log_domain | log_ai ("ai/attack") |
Calculate & analyze attacks of the default ai.
Definition in file attack.cpp.
#define ERR_AI LOG_STREAM(err, log_ai) |
Definition at line 39 of file attack.cpp.
#define LOG_AI LOG_STREAM(info, log_ai) |
Definition at line 38 of file attack.cpp.
|
static |