Defines formula ai candidate actions - headers. More...
#include "ai/formula/ai.hpp"
#include "global.hpp"
#include "ai/formula/callable_objects.hpp"
#include "chat_events.hpp"
#include "display_chat_manager.hpp"
#include "formula/function.hpp"
#include "game_board.hpp"
#include "game_display.hpp"
#include "log.hpp"
#include "map/map.hpp"
#include "menu_events.hpp"
#include "pathfind/pathfind.hpp"
#include "pathfind/teleport.hpp"
#include "recall_list_manager.hpp"
#include "resources.hpp"
#include "serialization/string_utils.hpp"
#include "team.hpp"
#include "terrain/filter.hpp"
#include "time_of_day.hpp"
#include "tod_manager.hpp"
#include "tstring.hpp"
#include "units/unit.hpp"
#include "units/formula_manager.hpp"
#include "units/ptr.hpp"
#include "units/types.hpp"
#include "formula/formula.hpp"
#include "map/location.hpp"
#include "ai/actions.hpp"
#include "ai/manager.hpp"
#include "ai/composite/contexts.hpp"
#include "ai/composite/stage.hpp"
#include "ai/default/contexts.hpp"
#include "ai/formula/function_table.hpp"
#include "ai/game_info.hpp"
#include "candidates.hpp"
#include <boost/intrusive_ptr.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/shared_ptr.hpp>
#include <cassert>
#include <ctime>
#include <map>
#include <sstream>
#include <stack>
#include <vector>
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 LOG_STREAM(debug, log_formula_ai) |
#define | LOG_AI LOG_STREAM(info, log_formula_ai) |
#define | WRN_AI LOG_STREAM(warn, log_formula_ai) |
#define | ERR_AI LOG_STREAM(err, log_formula_ai) |
Typedefs | |
using | ai::ca_ptr = game_logic::candidate_action_ptr |
Variables | |
static lg::log_domain | log_formula_ai ("ai/engine/fai") |
Defines formula ai candidate actions - headers.
Definition in file ai.cpp.
#define DBG_AI LOG_STREAM(debug, log_formula_ai) |
Definition at line 68 of file ai.cpp.
Referenced by ai::formula_ai::to_config().
#define ERR_AI LOG_STREAM(err, log_formula_ai) |
Definition at line 71 of file ai.cpp.
Referenced by ai::formula_ai::execute_variant(), ai::formula_ai::load_candidate_action_from_config(), and ai::formula_ai::make_action().
#define LOG_AI LOG_STREAM(info, log_formula_ai) |
Definition at line 69 of file ai.cpp.
Referenced by ai::formula_ai::execute_variant(), ai::formula_ai::formula_ai(), ai::formula_ai::handle_exception(), and ai::formula_ai::make_action().
#define WRN_AI LOG_STREAM(warn, log_formula_ai) |
Definition at line 70 of file ai.cpp.
Referenced by ai::formula_ai::to_config().
|
static |