Strategic movement routine, taken from default AI. More...
#include "ai/default/ca_move_to_targets.hpp"#include "ai/actions.hpp"#include "game_board.hpp"#include "log.hpp"#include "map/map.hpp"#include "resources.hpp"#include "units/unit.hpp"#include "utils/general.hpp"#include "terrain/filter.hpp"#include "pathfind/pathfind.hpp"#include "pathfind/teleport.hpp"#include <deque>Go to the source code of this file.
| Classes | |
| struct | ai::ai_default_rca::move_cost_calculator | 
| class | ai::ai_default_rca::remove_wrong_targets | 
| struct | ai::ai_default_rca::rated_target | 
| struct | ai::ai_default_rca::rated_target_comparer | 
| 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 LOG_STREAM(debug, log_ai_testing_ca_move_to_targets) | 
| #define | LOG_AI LOG_STREAM(info, log_ai_testing_ca_move_to_targets) | 
| #define | WRN_AI LOG_STREAM(warn, log_ai_testing_ca_move_to_targets) | 
| #define | ERR_AI LOG_STREAM(err, log_ai_testing_ca_move_to_targets) | 
| Variables | |
| static lg::log_domain | ai::ai_default_rca::log_ai_testing_ca_move_to_targets ("ai/ca/move_to_targets") | 
Strategic movement routine, taken from default AI.
Definition in file ca_move_to_targets.cpp.
| #define DBG_AI LOG_STREAM(debug, log_ai_testing_ca_move_to_targets) | 
Definition at line 41 of file ca_move_to_targets.cpp.
| #define ERR_AI LOG_STREAM(err, log_ai_testing_ca_move_to_targets) | 
Definition at line 44 of file ca_move_to_targets.cpp.
| #define LOG_AI LOG_STREAM(info, log_ai_testing_ca_move_to_targets) | 
Definition at line 42 of file ca_move_to_targets.cpp.
| #define WRN_AI LOG_STREAM(warn, log_ai_testing_ca_move_to_targets) | 
Definition at line 43 of file ca_move_to_targets.cpp.