Managing the AI configuration. More...
#include "configuration.hpp"#include "../filesystem.hpp"#include "../foreach.hpp"#include "../log.hpp"#include "../serialization/parser.hpp"#include "../serialization/preprocessor.hpp"#include "../team.hpp"#include <vector>
Go to the source code of this file.
Classes | |
| class | ai::well_known_aspect |
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_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) |
Functions | |
| static void | ai::transfer_turns_and_time_of_day_data (const config &src, config &dst) |
Variables | |
| static lg::log_domain | ai::log_ai_configuration ("ai/config") |
| std::vector< well_known_aspect > | ai::well_known_aspects |
Managing the AI configuration.
Definition in file configuration.cpp.
| #define DBG_AI_CONFIGURATION LOG_STREAM(debug, log_ai_configuration) |
Definition at line 26 of file configuration.cpp.
| #define ERR_AI_CONFIGURATION LOG_STREAM(err, log_ai_configuration) |
Definition at line 29 of file configuration.cpp.
| #define LOG_AI_CONFIGURATION LOG_STREAM(info, log_ai_configuration) |
Definition at line 27 of file configuration.cpp.
| #define WRN_AI_CONFIGURATION LOG_STREAM(warn, log_ai_configuration) |
Definition at line 28 of file configuration.cpp.
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:03:25 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |