#include "goal.hpp"#include "../lua/core.hpp"#include "../manager.hpp"#include "../../log.hpp"#include "../lua/lua_object.hpp"#include "../../gamestatus.hpp"#include "../../foreach.hpp"#include "../../resources.hpp"#include "../../scripting/lua.hpp"#include "../../terrain_filter.hpp"#include "../../unit.hpp"#include "../../unit_map.hpp"#include "../../team.hpp"#include "../../variable.hpp"#include <boost/lexical_cast.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_GOAL LOG_STREAM(debug, log_ai_goal) |
| #define | LOG_AI_GOAL LOG_STREAM(info, log_ai_goal) |
| #define | ERR_AI_GOAL LOG_STREAM(err, log_ai_goal) |
Variables | |
| static lg::log_domain | ai::log_ai_goal ("ai/goal") |
Definition in file goal.cpp.
| #define DBG_AI_GOAL LOG_STREAM(debug, log_ai_goal) |
Definition at line 41 of file goal.cpp.
Referenced by ai::protect_goal::add_targets().
| #define ERR_AI_GOAL LOG_STREAM(err, log_ai_goal) |
Definition at line 43 of file goal.cpp.
Referenced by ai::protect_goal::on_create(), ai::target_location_goal::on_create(), and ai::target_unit_goal::on_create().
| #define LOG_AI_GOAL LOG_STREAM(info, log_ai_goal) |
Definition at line 42 of file goal.cpp.
Referenced by ai::protect_goal::add_targets(), ai::target_location_goal::add_targets(), and ai::target_unit_goal::add_targets().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:03:39 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |