Helper functions for the object which operates in the context of AI for specific side This is part of AI interface. More...
#include "ai/contexts.hpp"
#include "global.hpp"
#include "actions/attack.hpp"
#include "ai/actions.hpp"
#include "ai/composite/aspect.hpp"
#include "ai/composite/engine.hpp"
#include "ai/composite/goal.hpp"
#include "ai/composite/stage.hpp"
#include "ai/game_info.hpp"
#include "ai/lua/aspect_advancements.hpp"
#include "ai/manager.hpp"
#include "chat_events.hpp"
#include "config.hpp"
#include "display_chat_manager.hpp"
#include "game_board.hpp"
#include "game_config.hpp"
#include "game_display.hpp"
#include "game_errors.hpp"
#include "log.hpp"
#include "map/map.hpp"
#include "pathfind/pathfind.hpp"
#include "recall_list_manager.hpp"
#include "resources.hpp"
#include "serialization/string_utils.hpp"
#include "team.hpp"
#include "terrain/filter.hpp"
#include "terrain/translation.hpp"
#include "time_of_day.hpp"
#include "tod_manager.hpp"
#include "units/unit.hpp"
#include "units/map.hpp"
#include "units/ptr.hpp"
#include "units/types.hpp"
#include "formula/variant.hpp"
#include <algorithm>
#include <boost/smart_ptr/intrusive_ptr.hpp>
#include <boost/smart_ptr/shared_ptr.hpp>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <iterator>
#include <ostream>
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 | 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 70 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 73 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 71 of file contexts.cpp.
#define WRN_AI LOG_STREAM(warn, log_ai) |
Definition at line 72 of file contexts.cpp.
|
static |