Managing the AI configuration. More...
#include "ai/configuration.hpp"
#include "filesystem.hpp"
#include "log.hpp"
#include "serialization/parser.hpp"
#include "serialization/preprocessor.hpp"
#include "game_config_view.hpp"
#include "deprecation.hpp"
#include <vector>
#include <deque>
#include <set>
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_CONFIGURATION LOG_STREAM(debug, log_ai_configuration) |
#define | LOG_AI_CONFIGURATION LOG_STREAM(info, log_ai_configuration) |
#define | WRN_AI_CONFIGURATION LOG_STREAM(warn, log_ai_configuration) |
#define | ERR_AI_CONFIGURATION LOG_STREAM(err, log_ai_configuration) |
#define | ERR_WML LOG_STREAM(err, log_wml) |
Variables | |
static lg::log_domain | ai::log_ai_configuration ("ai/config") |
static lg::log_domain | ai::log_wml ("wml") |
static const std::set< std::string > | ai::non_aspect_attributes {"turns", "time_of_day", "engine", "ai_algorithm", "id", "description", "hidden", "mp_rank"} |
static const std::set< std::string > | ai::just_copy_tags {"engine", "stage", "aspect", "goal", "modify_ai", "micro_ai"} |
static const std::set< std::string > | ai::old_goal_tags {"target", "target_location", "protect_unit", "protect_location"} |
Managing the AI configuration.
Definition in file configuration.cpp.
#define DBG_AI_CONFIGURATION LOG_STREAM(debug, log_ai_configuration) |
Definition at line 37 of file configuration.cpp.
#define ERR_AI_CONFIGURATION LOG_STREAM(err, log_ai_configuration) |
Definition at line 40 of file configuration.cpp.
#define ERR_WML LOG_STREAM(err, log_wml) |
Definition at line 43 of file configuration.cpp.
#define LOG_AI_CONFIGURATION LOG_STREAM(info, log_ai_configuration) |
Definition at line 38 of file configuration.cpp.
#define WRN_AI_CONFIGURATION LOG_STREAM(warn, log_ai_configuration) |
Definition at line 39 of file configuration.cpp.