Helper functions for the object which operates in the context of AI for specific side This is part of AI interface. More...
#include "actions.hpp"#include "contexts.hpp"#include "manager.hpp"#include "composite/aspect.hpp"#include "composite/engine.hpp"#include "composite/goal.hpp"#include "default/ai.hpp"#include "../callable_objects.hpp"#include "../formula.hpp"#include "../formula_callable.hpp"#include "../formula_function.hpp"#include "../formula_fwd.hpp"#include "../game_display.hpp"#include "../game_events.hpp"#include "../log.hpp"#include "../mouse_handler_base.hpp"#include "../resources.hpp"#include "../tod_manager.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 | DBG_AI LOG_STREAM(debug, log_ai) |
| #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/general") |
Helper functions for the object which operates in the context of AI for specific side This is part of AI interface.
Definition in file contexts.cpp.
| #define DBG_AI LOG_STREAM(debug, log_ai) |
Definition at line 45 of file contexts.cpp.
Referenced by ai::readonly_context_impl::get_engine_by_cfg().
| #define ERR_AI LOG_STREAM(err, log_ai) |
Definition at line 48 of file contexts.cpp.
Referenced by ai::readonly_context_impl::add_aspects(), ai::readonly_context_impl::add_facet(), and ai::readonly_context_impl::get_engine_by_cfg().
| #define LOG_AI LOG_STREAM(info, log_ai) |
Definition at line 46 of file contexts.cpp.
| #define WRN_AI LOG_STREAM(warn, log_ai) |
Definition at line 47 of file contexts.cpp.
lg::log_domain log_ai("ai/general") [static] |
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:03:21 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |