add_aspects(std::vector< aspect_ptr > &aspects) | ai::readonly_context_proxy | inlinevirtual |
add_facet(const std::string &id, const config &cfg) const | ai::readonly_context_proxy | inlinevirtual |
add_formula_function(const std::string &name, game_logic::const_formula_ptr formula, game_logic::const_formula_ptr precondition, const std::vector< std::string > &args) | ai::formula_ai | virtual |
add_ref() const | reference_counted_object | inline |
ai_default class | ai::formula_ai | friend |
ai_ptr_ | ai::formula_ai | private |
ATTACK_C enum value | game_logic::formula_callable | protected |
ATTACK_TYPE_C enum value | game_logic::formula_callable | protected |
best_defensive_position(const map_location &unit, const move_map &dstsrc, const move_map &srcdst, const move_map &enemy_dstsrc) const | ai::readonly_context_proxy | inlinevirtual |
calculate_moves(const unit_map &units, std::map< map_location, pathfind::paths > &possible_moves, move_map &srcdst, move_map &dstsrc, bool enemy, bool assume_full_movement=false, const terrain_filter *remove_destinations=nullptr, bool see_all=false) const | ai::readonly_context_proxy | inlinevirtual |
calculate_possible_moves(std::map< map_location, pathfind::paths > &possible_moves, move_map &srcdst, move_map &dstsrc, bool enemy, bool assume_full_movement=false, const terrain_filter *remove_destinations=nullptr) const | ai::readonly_context_proxy | inlinevirtual |
can_reach_unit(map_location unit_A, map_location unit_B) const | ai::formula_ai | |
cfg_ | ai::formula_ai | private |
check_attack_action(const map_location &attacker_loc, const map_location &defender_loc, int attacker_weapon) | ai::readonly_context_proxy | inlinevirtual |
check_move_action(const map_location &from, const map_location &to, bool remove_movement=true, bool unreach_is_ok=false) | ai::readonly_context_proxy | inlinevirtual |
check_recall_action(const std::string &id, const map_location &where=map_location::null_location(), const map_location &from=map_location::null_location()) | ai::readonly_context_proxy | inlinevirtual |
check_recruit_action(const std::string &unit_name, const map_location &where=map_location::null_location(), const map_location &from=map_location::null_location()) | ai::readonly_context_proxy | inlinevirtual |
check_stopunit_action(const map_location &unit_location, bool remove_movement=true, bool remove_attacks=false) | ai::readonly_context_proxy | inlinevirtual |
check_synced_command_action(const std::string &lua_code, const map_location &location=map_location::null_location()) | ai::readonly_context_proxy | inlinevirtual |
create_optional_formula(const std::string &formula_string) | ai::formula_ai | |
current_team() const | ai::readonly_context_proxy | inlinevirtual |
dec_ref() const | reference_counted_object | inline |
defensive_position_cache() const | ai::readonly_context_proxy | inlinevirtual |
diagnostic(const std::string &msg) | ai::readonly_context_proxy | inlinevirtual |
display_message(const std::string &msg) const | ai::formula_ai | private |
do_compare(const formula_callable *callable) const | game_logic::formula_callable | inlineprotectedvirtual |
equals(const formula_callable *other) const | game_logic::formula_callable | inline |
evaluate(const std::string &formula_str) | ai::formula_ai | |
evaluate_candidate_action(game_logic::candidate_action_ptr fai_ca) | ai::formula_ai | |
execute_candidate_action(game_logic::candidate_action_ptr fai_ca) | ai::formula_ai | |
execute_variant(const variant &var, ai_context &ai_, bool commandline=false) | ai::formula_ai | private |
formula_ai(readonly_context &context, const config &cfg) | ai::formula_ai | explicit |
FORMULA_C enum value | game_logic::formula_callable | protected |
formula_callable(bool has_self=true) | game_logic::formula_callable | inlineexplicit |
function_table_ | ai::formula_ai | private |
get_advancements() const | ai::readonly_context_proxy | inlinevirtual |
get_aggression() const | ai::readonly_context_proxy | inlinevirtual |
get_allowed_teleports(unit_map::iterator &unit_it) const | ai::formula_ai | |
get_aspects() const | ai::readonly_context_proxy | inlinevirtual |
get_aspects() | ai::readonly_context_proxy | inlinevirtual |
get_attack_depth() const | ai::readonly_context_proxy | inlinevirtual |
get_attacks() const | ai::readonly_context_proxy | inlinevirtual |
get_attacks_as_variant() const | ai::readonly_context_proxy | inlinevirtual |
get_avoid() const | ai::readonly_context_proxy | inlinevirtual |
get_caution() const | ai::readonly_context_proxy | inlinevirtual |
get_dstsrc() const | ai::readonly_context_proxy | inlinevirtual |
get_enemy_dstsrc() const | ai::readonly_context_proxy | inlinevirtual |
get_enemy_possible_moves() const | ai::readonly_context_proxy | inlinevirtual |
get_enemy_srcdst() const | ai::readonly_context_proxy | inlinevirtual |
get_engine_by_cfg(const config &cfg) | ai::readonly_context_proxy | inlinevirtual |
get_engines() const | ai::readonly_context_proxy | inlinevirtual |
get_engines() | ai::readonly_context_proxy | inlinevirtual |
get_goals() const | ai::readonly_context_proxy | inlinevirtual |
get_goals() | ai::readonly_context_proxy | inlinevirtual |
get_grouping() const | ai::readonly_context_proxy | inlinevirtual |
get_info() const | ai::readonly_context_proxy | inlinevirtual |
get_inputs(std::vector< game_logic::formula_input > *inputs) const | ai::formula_ai | privatevirtual |
get_keeps() const | ai::formula_ai | |
get_keeps_cache() const | ai::formula_ai | inline |
get_leader_aggression() const | ai::readonly_context_proxy | inlinevirtual |
get_leader_goal() const | ai::readonly_context_proxy | inlinevirtual |
get_leader_ignores_keep() const | ai::readonly_context_proxy | inlinevirtual |
get_leader_value() const | ai::readonly_context_proxy | inlinevirtual |
get_passive_leader() const | ai::readonly_context_proxy | inlinevirtual |
get_passive_leader_shares_keep() const | ai::readonly_context_proxy | inlinevirtual |
get_possible_moves() const | ai::readonly_context_proxy | inlinevirtual |
get_readonly_context() | ai::readonly_context_proxy | inlinevirtual |
get_recall_list() const | ai::readonly_context_proxy | inlinevirtual |
get_recruitment_diversity() const | ai::readonly_context_proxy | inlinevirtual |
get_recruitment_instructions() const | ai::readonly_context_proxy | inlinevirtual |
get_recruitment_more() const | ai::readonly_context_proxy | inlinevirtual |
get_recruitment_pattern() const | ai::readonly_context_proxy | inlinevirtual |
get_recruitment_randomness() const | ai::readonly_context_proxy | inlinevirtual |
get_recruitment_save_gold() const | ai::readonly_context_proxy | inlinevirtual |
get_recursion_count() const | ai::formula_ai | virtual |
get_scout_village_targeting() const | ai::readonly_context_proxy | inlinevirtual |
ai::get_side() const =0 | ai::side_context | pure virtual |
ai::side_context_proxy::get_side() const | ai::side_context_proxy | inlinevirtual |
ai::get_side_context()=0 | ai::side_context | pure virtual |
ai::side_context_proxy::get_side_context() | ai::side_context_proxy | inlinevirtual |
get_simple_targeting() const | ai::readonly_context_proxy | inlinevirtual |
get_srcdst() const | ai::readonly_context_proxy | inlinevirtual |
get_support_villages() const | ai::readonly_context_proxy | inlinevirtual |
get_value(const std::string &key) const | ai::formula_ai | privatevirtual |
get_village_value() const | ai::readonly_context_proxy | inlinevirtual |
get_villages_per_scout() const | ai::readonly_context_proxy | inlinevirtual |
handle_exception(game_logic::formula_error &e) const | ai::formula_ai | |
handle_exception(game_logic::formula_error &e, const std::string &failed_operation) const | ai::formula_ai | |
has_key(const std::string &key) const | game_logic::formula_callable | inline |
infinite_loop_guardian_ | ai::formula_ai | private |
init_readonly_context_proxy(readonly_context &target) | ai::readonly_context_proxy | inline |
init_side_context_proxy(side_context &target) | ai::side_context_proxy | inline |
inputs() const | game_logic::formula_callable | inline |
invalidate_defensive_position_cache() const | ai::readonly_context_proxy | inlinevirtual |
invalidate_keeps_cache() const | ai::readonly_context_proxy | inlinevirtual |
invalidate_move_maps() const | ai::readonly_context_proxy | inlinevirtual |
is_active(const std::string &time_of_day, const std::string &turns) const | ai::readonly_context_proxy | inlinevirtual |
is_dst_src_enemy_valid_lua() const | ai::readonly_context_proxy | inlinevirtual |
is_dst_src_valid_lua() const | ai::readonly_context_proxy | inlinevirtual |
is_src_dst_enemy_valid_lua() const | ai::readonly_context_proxy | inlinevirtual |
is_src_dst_valid_lua() const | ai::readonly_context_proxy | inlinevirtual |
keeps() const | ai::readonly_context_proxy | inlinevirtual |
keeps_cache_ | ai::formula_ai | mutableprivate |
leader_can_reach_keep() const | ai::readonly_context_proxy | inlinevirtual |
less(const formula_callable *other) const | game_logic::formula_callable | inline |
load_candidate_action_from_config(const config &cfg) | ai::formula_ai | |
LOCATION_C enum value | game_logic::formula_callable | protected |
log_message(const std::string &msg) | ai::readonly_context_proxy | inlinevirtual |
make_action(game_logic::const_formula_ptr formula_, const game_logic::formula_callable &variables) | ai::formula_ai | |
MOVE_C enum value | game_logic::formula_callable | protected |
move_map_backup typedef | ai::formula_ai | |
MOVE_MAP_C enum value | game_logic::formula_callable | protected |
MOVE_PARTIAL_C enum value | game_logic::formula_callable | protected |
mutate_value(const std::string &key, const variant &value) | game_logic::formula_callable | inline |
nearest_keep(const map_location &loc) const | ai::readonly_context_proxy | inlinevirtual |
on_create() | ai::formula_ai | |
on_readonly_context_create() | ai::readonly_context_proxy | inlinevirtual |
operator=(const reference_counted_object &) | reference_counted_object | inline |
power_projection(const map_location &loc, const move_map &dstsrc) const | ai::readonly_context_proxy | inlinevirtual |
query_value(const std::string &key) const | game_logic::formula_callable | inline |
raise_user_interact() const | ai::readonly_context_proxy | inlinevirtual |
readonly_context() | ai::readonly_context | inline |
readonly_context_proxy() | ai::readonly_context_proxy | inline |
recalculate_move_maps() const | ai::readonly_context_proxy | inlinevirtual |
recalculate_move_maps_enemy() const | ai::readonly_context_proxy | inlinevirtual |
recursion_counter_ | ai::formula_ai | private |
refcount() const | reference_counted_object | inline |
reference_counted_object() | reference_counted_object | inline |
reference_counted_object(const reference_counted_object &) | reference_counted_object | inline |
serialize(std::string &str) const | game_logic::formula_callable | inline |
serialize_to_string(std::string &) const | game_logic::formula_callable | inlineprotectedvirtual |
set_ai_context(ai_context *context) | ai::formula_ai | |
set_dst_src_enemy_valid_lua() | ai::readonly_context_proxy | inlinevirtual |
set_dst_src_valid_lua() | ai::readonly_context_proxy | inlinevirtual |
ai::set_side(side_number side)=0 | ai::side_context | pure virtual |
ai::side_context_proxy::set_side(side_number side) | ai::side_context_proxy | inlinevirtual |
set_src_dst_enemy_valid_lua() | ai::readonly_context_proxy | inlinevirtual |
set_src_dst_valid_lua() | ai::readonly_context_proxy | inlinevirtual |
set_value(const std::string &key, const variant &value) | game_logic::formula_callable | protectedvirtual |
shortest_path_calculator(const map_location &src, const map_location &dst, unit_map::iterator &unit_it, pathfind::teleport_map &allowed_teleports) const | ai::formula_ai | |
side_context() | ai::side_context | inline |
side_context_proxy() | ai::side_context_proxy | inline |
suitable_keep(const map_location &leader_location, const pathfind::paths &leader_paths) | ai::readonly_context_proxy | inlinevirtual |
swap_move_map(move_map_backup &backup) | ai::formula_ai | |
TERRAIN_C enum value | game_logic::formula_callable | protected |
to_config() const | ai::formula_ai | virtual |
to_readonly_context_config() const | ai::readonly_context_proxy | inlinevirtual |
ai::to_side_context_config() const =0 | ai::side_context | pure virtual |
ai::side_context_proxy::to_side_context_config() const | ai::side_context_proxy | inlinevirtual |
turn_reference_counting_off() const | reference_counted_object | inlineprotected |
TYPE enum name | game_logic::formula_callable | protected |
type_ | game_logic::formula_callable | protected |
UNIT_C enum value | game_logic::formula_callable | protected |
unit_stats_cache() const | ai::readonly_context_proxy | inlinevirtual |
unit_stats_cache_t typedef | ai::readonly_context | |
UNIT_TYPE_C enum value | game_logic::formula_callable | protected |
vars_ | ai::formula_ai | private |
~formula_ai() | ai::formula_ai | inlinevirtual |
~formula_callable() | game_logic::formula_callable | inlineprotectedvirtual |
~readonly_context() | ai::readonly_context | inlinevirtual |
~readonly_context_proxy() | ai::readonly_context_proxy | inlinevirtual |
~reference_counted_object() | reference_counted_object | inlinevirtual |
~side_context() | ai::side_context | inlinevirtual |
~side_context_proxy() | ai::side_context_proxy | inlinevirtual |