Recruitment Engine by flix See http://wiki.wesnoth.org/AI_Recruitment. More...
#include "ai/default/recruitment.hpp"
#include "ai/actions.hpp"
#include "ai/composite/rca.hpp"
#include "ai/manager.hpp"
#include "actions/attack.hpp"
#include "attack_prediction.hpp"
#include "filter_context.hpp"
#include "game_board.hpp"
#include "game_display.hpp"
#include "log.hpp"
#include "map/map.hpp"
#include "map/label.hpp"
#include "pathfind/pathfind.hpp"
#include "pathutils.hpp"
#include "resources.hpp"
#include "team.hpp"
#include "tod_manager.hpp"
#include "units/filter.hpp"
#include "units/map.hpp"
#include "units/types.hpp"
#include "util.hpp"
#include "variable.hpp"
#include "wml_exception.hpp"
#include "config_assign.hpp"
#include <boost/scoped_ptr.hpp>
#include <cmath>
Go to the source code of this file.
Classes | |
struct | ai::default_recruitment::attack_simulation |
For Combat Analysis. More... | |
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::default_recruitment | |
Macros | |
#define | LOG_AI_RECRUITMENT LOG_STREAM(info, log_ai_recruitment) |
#define | ERR_AI_RECRUITMENT LOG_STREAM(err, log_ai_recruitment) |
Variables | |
static lg::log_domain | log_ai_recruitment ("ai/recruitment") |
Recruitment Engine by flix See http://wiki.wesnoth.org/AI_Recruitment.
Definition in file recruitment.cpp.
#define ERR_AI_RECRUITMENT LOG_STREAM(err, log_ai_recruitment) |
Definition at line 52 of file recruitment.cpp.
Referenced by ai::default_recruitment::recruitment::compare_unit_types(), and ai::default_recruitment::recruitment::simulate_attack().
#define LOG_AI_RECRUITMENT LOG_STREAM(info, log_ai_recruitment) |
Definition at line 51 of file recruitment.cpp.
Referenced by ai::default_recruitment::recruitment::evaluate(), ai::default_recruitment::recruitment::execute(), ai::default_recruitment::recruitment::execute_recruit(), ai::default_recruitment::recruitment::get_appropriate_recall(), ai::default_recruitment::recruitment::get_best_recruit_from_scores(), ai::default_recruitment::recruitment::get_cheapest_unit_cost_for_leader(), ai::default_recruitment::recruitment::get_random_pattern_type_if_exists(), ai::default_recruitment::recruitment::recruit_situation_change_observer::handle_generic_event(), ai::default_recruitment::recruitment::remove_job_if_no_blocker(), and ai::default_recruitment::recruitment::update_state().
|
static |
Referenced by ai::default_recruitment::recruitment::execute().