#include "ai/composite/goal.hpp"
#include "global.hpp"
#include "ai/default/contexts.hpp"
#include "ai/lua/core.hpp"
#include "ai/lua/lua_object.hpp"
#include "ai/manager.hpp"
#include "filter_context.hpp"
#include "game_board.hpp"
#include "log.hpp"
#include "map/location.hpp"
#include "resources.hpp"
#include "scripting/game_lua_kernel.hpp"
#include "terrain/filter.hpp"
#include "units/unit.hpp"
#include "units/map.hpp"
#include "units/filter.hpp"
#include "wml_exception.hpp"
#include <boost/lexical_cast.hpp>
#include <set>
#include <sstream>
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_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") |
#define DBG_AI_GOAL LOG_STREAM(debug, log_ai_goal) |
Definition at line 46 of file goal.cpp.
Referenced by ai::protect_goal::add_targets().
#define ERR_AI_GOAL LOG_STREAM(err, log_ai_goal) |
Definition at line 48 of file goal.cpp.
Referenced by ai::lua_goal::add_targets(), ai::goal_factory::is_duplicate(), ai::lua_goal::lua_goal(), ai::target_unit_goal::on_create(), ai::target_location_goal::on_create(), ai::protect_goal::on_create(), and ai::goal::unrecognized().
#define LOG_AI_GOAL LOG_STREAM(info, log_ai_goal) |
Definition at line 47 of file goal.cpp.
Referenced by ai::target_unit_goal::add_targets(), ai::target_location_goal::add_targets(), ai::protect_goal::add_targets(), and ai::goal::on_create().