Stage: fallback to other AI. More...
#include "aspect_attacks.hpp"#include "../manager.hpp"#include "../../actions.hpp"#include "../../foreach.hpp"#include "../../log.hpp"#include "../../map.hpp"#include "../../team.hpp"#include "../../tod_manager.hpp"#include "../../resources.hpp"#include "../../unit.hpp"#include "../../pathfind/pathfind.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. | |
| namespace | ai::testing_ai_default |
Defines | |
| #define | DBG_AI LOG_STREAM(debug, log_ai_testing_aspect_attacks) |
| #define | LOG_AI LOG_STREAM(info, log_ai_testing_aspect_attacks) |
| #define | ERR_AI LOG_STREAM(err, log_ai_testing_aspect_attacks) |
Variables | |
| static lg::log_domain | ai::testing_ai_default::log_ai_testing_aspect_attacks ("ai/aspect/attacks") |
Stage: fallback to other AI.
Definition in file aspect_attacks.cpp.
| #define DBG_AI LOG_STREAM(debug, log_ai_testing_aspect_attacks) |
Definition at line 39 of file aspect_attacks.cpp.
| #define ERR_AI LOG_STREAM(err, log_ai_testing_aspect_attacks) |
Definition at line 41 of file aspect_attacks.cpp.
| #define LOG_AI LOG_STREAM(info, log_ai_testing_aspect_attacks) |
Definition at line 40 of file aspect_attacks.cpp.
Referenced by ai::testing_ai_default::aspect_attacks::do_attack_analysis().
| Generated by doxygen 1.7.1 on Wed May 23 2012 01:03:33 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |