Calculate & analyze attacks of the default ai. More...
#include "../../global.hpp"#include "ai.hpp"#include "../actions.hpp"#include "../manager.hpp"#include "../../attack_prediction.hpp"#include "foreach.hpp"#include "../../game_config.hpp"#include "../../log.hpp"#include "../../map.hpp"#include "../../team.hpp"
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 | 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().
lg::log_domain log_ai("ai/attack") [static] |
| Generated by doxygen 1.7.1 on Tue May 22 2012 01:04:41 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |