Managing the AI lifecycle and interface for the rest of Wesnoth. More...
#include "ai/manager.hpp"
#include "config.hpp"
#include "game_events/pump.hpp"
#include "log.hpp"
#include "map/location.hpp"
#include "resources.hpp"
#include "serialization/string_utils.hpp"
#include "tod_manager.hpp"
#include "ai/composite/ai.hpp"
#include "ai/composite/component.hpp"
#include "ai/composite/engine.hpp"
#include "ai/composite/value_translator.hpp"
#include "ai/configuration.hpp"
#include "ai/contexts.hpp"
#include "ai/default/contexts.hpp"
#include "ai/game_info.hpp"
#include "game_config.hpp"
#include "ai/lua/aspect_advancements.hpp"
#include "ai/registry.hpp"
#include "ai/lua/engine_lua.hpp"
#include <algorithm>
#include <cassert>
#include <iterator>
#include <map>
#include <set>
#include <stack>
#include <utility>
#include <vector>
#include <SDL2/SDL_timer.h>
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_MANAGER LOG_STREAM(debug, log_ai_manager) |
#define | LOG_AI_MANAGER LOG_STREAM(info, log_ai_manager) |
#define | ERR_AI_MANAGER LOG_STREAM(err, log_ai_manager) |
#define | DBG_AI_MOD LOG_STREAM(debug, log_ai_mod) |
#define | LOG_AI_MOD LOG_STREAM(info, log_ai_mod) |
#define | WRN_AI_MOD LOG_STREAM(warn, log_ai_mod) |
#define | ERR_AI_MOD LOG_STREAM(err, log_ai_mod) |
Variables | |
static lg::log_domain | ai::log_ai_manager ("ai/manager") |
static lg::log_domain | ai::log_ai_mod ("ai/mod") |
Managing the AI lifecycle and interface for the rest of Wesnoth.
Definition in file manager.cpp.
#define DBG_AI_MANAGER LOG_STREAM(debug, log_ai_manager) |
Definition at line 64 of file manager.cpp.
#define DBG_AI_MOD LOG_STREAM(debug, log_ai_mod) |
Definition at line 69 of file manager.cpp.
#define ERR_AI_MANAGER LOG_STREAM(err, log_ai_manager) |
Definition at line 66 of file manager.cpp.
#define ERR_AI_MOD LOG_STREAM(err, log_ai_mod) |
Definition at line 72 of file manager.cpp.
#define LOG_AI_MANAGER LOG_STREAM(info, log_ai_manager) |
Definition at line 65 of file manager.cpp.
#define LOG_AI_MOD LOG_STREAM(info, log_ai_mod) |
Definition at line 70 of file manager.cpp.
#define WRN_AI_MOD LOG_STREAM(warn, log_ai_mod) |
Definition at line 71 of file manager.cpp.