Default AI (Testing) More...
#include "ai/default/ca.hpp"
#include "ai/actions.hpp"
#include "ai/manager.hpp"
#include "ai/composite/engine.hpp"
#include "ai/composite/rca.hpp"
#include "ai/composite/stage.hpp"
#include "game_board.hpp"
#include "game_classification.hpp"
#include "game_data.hpp"
#include "log.hpp"
#include "map/map.hpp"
#include "resources.hpp"
#include "team.hpp"
#include "units/unit.hpp"
#include "pathfind/pathfind.hpp"
#include "pathfind/teleport.hpp"
#include <numeric>
#include <SDL.h>
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. | |
ai::ai_default_rca | |
Macros | |
#define | DBG_AI_TESTING_AI_DEFAULT LOG_STREAM(debug, log_ai_testing_ai_default) |
#define | LOG_AI_TESTING_AI_DEFAULT LOG_STREAM(info, log_ai_testing_ai_default) |
#define | WRN_AI_TESTING_AI_DEFAULT LOG_STREAM(warn, log_ai_testing_ai_default) |
#define | ERR_AI_TESTING_AI_DEFAULT LOG_STREAM(err, log_ai_testing_ai_default) |
Variables | |
static lg::log_domain | log_ai_testing_ai_default ("ai/ca/testing_ai_default") |
Default AI (Testing)
Definition in file ca.cpp.
#define DBG_AI_TESTING_AI_DEFAULT LOG_STREAM(debug, log_ai_testing_ai_default) |
Definition at line 42 of file ca.cpp.
Referenced by ai::ai_default_rca::get_villages_phase::dispatch(), ai::ai_default_rca::get_villages_phase::dispatch_complex(), ai::ai_default_rca::get_villages_phase::dispatch_unit_simple(), ai::ai_default_rca::get_villages_phase::dispatch_village_simple(), ai::ai_default_rca::get_healing_phase::evaluate(), ai::ai_default_rca::get_villages_phase::find_villages(), ai::ai_default_rca::get_villages_phase::full_dispatch(), ai::ai_default_rca::get_villages_phase::get_villages(), and ai::ai_default_rca::get_villages_phase::remove_unit().
#define ERR_AI_TESTING_AI_DEFAULT LOG_STREAM(err, log_ai_testing_ai_default) |
Definition at line 45 of file ca.cpp.
Referenced by ai::ai_default_rca::move_leader_to_goals_phase::evaluate(), ai::ai_default_rca::leader_control_phase::evaluate(), and ai::ai_default_rca::leader_control_phase::execute().
#define LOG_AI_TESTING_AI_DEFAULT LOG_STREAM(info, log_ai_testing_ai_default) |
Definition at line 43 of file ca.cpp.
Referenced by ai::ai_default_rca::combat_phase::evaluate(), ai::ai_default_rca::move_leader_to_goals_phase::evaluate(), ai::ai_default_rca::goto_phase::execute(), ai::ai_default_rca::combat_phase::execute(), ai::ai_default_rca::move_leader_to_goals_phase::execute(), ai::ai_default_rca::move_leader_to_keep_phase::execute(), ai::ai_default_rca::get_villages_phase::execute(), ai::ai_default_rca::get_healing_phase::execute(), ai::ai_default_rca::retreat_phase::execute(), ai::ai_default_rca::leader_shares_keep_phase::execute(), and ai::ai_default_rca::get_villages_phase::get_villages().
#define WRN_AI_TESTING_AI_DEFAULT LOG_STREAM(warn, log_ai_testing_ai_default) |
Definition at line 44 of file ca.cpp.
Referenced by ai::ai_default_rca::move_leader_to_goals_phase::evaluate().
|
static |
Referenced by ai::ai_default_rca::get_villages_phase::get_villages().