Managing the AI lifecycle and interface for the rest of Wesnoth. More...
#include "ai/manager.hpp"
#include "config.hpp"
#include "game_events/manager.hpp"
#include "game_events/pump.hpp"
#include "generic_event.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/configuration.hpp"
#include "ai/contexts.hpp"
#include "ai/default/contexts.hpp"
#include "game_end_exceptions.hpp"
#include "game_info.hpp"
#include "game_config.hpp"
#include "game_errors.hpp"
#include "ai/lua/aspect_advancements.hpp"
#include "ai/registry.hpp"
#include "util.hpp"
#include <algorithm>
#include <cassert>
#include <iterator>
#include <map>
#include <ostream>
#include <set>
#include <stack>
#include <utility>
#include <vector>
#include <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 69 of file manager.cpp.
Referenced by ai::holder::holder(), ai::holder::modify_side_ai_config(), and ai::manager::play_turn().
#define DBG_AI_MOD LOG_STREAM(debug, log_ai_mod) |
Definition at line 74 of file manager.cpp.
Referenced by ai::holder::modify_ai().
#define ERR_AI_MANAGER LOG_STREAM(err, log_ai_manager) |
Definition at line 71 of file manager.cpp.
Referenced by ai::manager::add_ai_for_side_from_file(), and ai::holder::init().
#define ERR_AI_MOD LOG_STREAM(err, log_ai_mod) |
Definition at line 77 of file manager.cpp.
Referenced by ai::holder::modify_ai().
#define LOG_AI_MANAGER LOG_STREAM(info, log_ai_manager) |
Definition at line 70 of file manager.cpp.
Referenced by ai::manager::evaluate_command(), and ai::holder::~holder().
#define LOG_AI_MOD LOG_STREAM(info, log_ai_mod) |
Definition at line 75 of file manager.cpp.
Referenced by ai::holder::modify_ai().
#define WRN_AI_MOD LOG_STREAM(warn, log_ai_mod) |
Definition at line 76 of file manager.cpp.