Defines formula ai side formulas stage. More...
#include "stage_side_formulas.hpp"#include "ai.hpp"#include "../../foreach.hpp"#include "../../formula.hpp"#include "../../formula_function.hpp"#include "../../log.hpp"#include <boost/lexical_cast.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 | WRN_AI LOG_STREAM(warn, log_ai) |
| #define | ERR_AI LOG_STREAM(err, log_ai) |
Variables | |
| static lg::log_domain | log_ai ("ai/stage/side_formulas") |
Defines formula ai side formulas stage.
Definition in file stage_side_formulas.cpp.
| #define ERR_AI LOG_STREAM(err, log_ai) |
Definition at line 34 of file stage_side_formulas.cpp.
| #define LOG_AI LOG_STREAM(info, log_ai) |
Definition at line 32 of file stage_side_formulas.cpp.
| #define WRN_AI LOG_STREAM(warn, log_ai) |
Definition at line 33 of file stage_side_formulas.cpp.
Referenced by ai::stage_side_formulas::do_play_stage().
lg::log_domain log_ai("ai/stage/side_formulas") [static] |
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:03:41 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |