Calculate & analyze attacks of the default ai. More...
#include "global.hpp"
#include "ai/manager.hpp"
#include "ai/default/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"
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) |
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 36 of file attack.cpp.
#define LOG_AI LOG_STREAM(info, log_ai) |
Definition at line 35 of file attack.cpp.
Referenced by ai::attack_analysis::rating().
|
static |