Managing the AI-Game interaction - AI actions and their results. More...
#include "actions.hpp"#include "manager.hpp"#include "../actions.hpp"#include "../dialogs.hpp"#include "../game_end_exceptions.hpp"#include "../game_preferences.hpp"#include "../log.hpp"#include "../mouse_handler_base.hpp"#include "../pathfind/teleport.hpp"#include "../play_controller.hpp"#include "../replay.hpp"#include "../resources.hpp"#include "../statistics.hpp"#include "../team.hpp"
Go to the source code of this file.
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_ACTIONS LOG_STREAM(debug, log_ai_actions) |
| #define | LOG_AI_ACTIONS LOG_STREAM(info, log_ai_actions) |
| #define | WRN_AI_ACTIONS LOG_STREAM(warn, log_ai_actions) |
| #define | ERR_AI_ACTIONS LOG_STREAM(err, log_ai_actions) |
Functions | |
| std::ostream & | operator<< (std::ostream &s, ai::attack_result const &r) |
| std::ostream & | operator<< (std::ostream &s, ai::move_result const &r) |
| std::ostream & | operator<< (std::ostream &s, ai::recall_result const &r) |
| std::ostream & | operator<< (std::ostream &s, ai::recruit_result const &r) |
| std::ostream & | operator<< (std::ostream &s, ai::stopunit_result const &r) |
Variables | |
| static lg::log_domain | ai::log_ai_actions ("ai/actions") |
Managing the AI-Game interaction - AI actions and their results.
Definition in file actions.cpp.
| #define DBG_AI_ACTIONS LOG_STREAM(debug, log_ai_actions) |
Definition at line 50 of file actions.cpp.
| #define ERR_AI_ACTIONS LOG_STREAM(err, log_ai_actions) |
Definition at line 53 of file actions.cpp.
| #define LOG_AI_ACTIONS LOG_STREAM(info, log_ai_actions) |
Definition at line 51 of file actions.cpp.
| #define WRN_AI_ACTIONS LOG_STREAM(warn, log_ai_actions) |
Definition at line 52 of file actions.cpp.
| std::ostream& operator<< | ( | std::ostream & | s, | |
| ai::attack_result const & | r | |||
| ) |
Definition at line 1148 of file actions.cpp.
References ai::attack_result::do_describe().

| std::ostream& operator<< | ( | std::ostream & | s, | |
| ai::stopunit_result const & | r | |||
| ) |
Definition at line 1172 of file actions.cpp.
References ai::stopunit_result::do_describe().

| std::ostream& operator<< | ( | std::ostream & | s, | |
| ai::recruit_result const & | r | |||
| ) |
Definition at line 1166 of file actions.cpp.
References ai::recruit_result::do_describe().

| std::ostream& operator<< | ( | std::ostream & | s, | |
| ai::recall_result const & | r | |||
| ) |
Definition at line 1160 of file actions.cpp.
References ai::recall_result::do_describe().

| std::ostream& operator<< | ( | std::ostream & | s, | |
| ai::move_result const & | r | |||
| ) |
Definition at line 1154 of file actions.cpp.
References ai::move_result::do_describe().

| Generated by doxygen 1.7.1 on Tue May 22 2012 01:04:14 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |