![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <actions.h>
Public Attributes | |
| action_id | id |
| enum action_result | result |
| enum action_actor_kind | actor_kind |
| enum action_target_kind | target_kind |
| enum action_sub_target_kind | sub_target_kind |
| enum act_tgt_compl | target_complexity |
| int | min_distance |
| int | max_distance |
| char | ui_name [MAX_LEN_NAME] |
| bool | quiet |
| bv_actions | blocked_by |
| bool | actor_consuming_always |
| union { | |
| struct { | |
| bool rare_pop_up | |
| bool unitwaittime_controlled | |
| enum moves_actor_kind moves_actor | |
| } is_unit | |
| } | actor |
| union { ... } action::actor |
Referenced by action_id_is_rare_pop_up(), action_mp_full_makes_legal(), diplomat_escape_full(), helptext_unit(), illegal_action(), may_unit_act_vs_city(), need_war_player_hlp(), unit_action_new(), unit_perform_action(), utype_is_moved_to_tgt_by_action(), utype_is_unmoved_by_action(), and utype_may_do_escape_action().
| bool action::actor_consuming_always |
Definition at line 337 of file actions.h.
Referenced by action_new(), handle_ruleset_action(), load_action_actor_consuming_always(), send_ruleset_actions(), unit_action_new(), unit_nuke(), utype_is_consumed_by_action(), utype_is_moved_to_tgt_by_action(), and utype_is_unmoved_by_action().
| enum action_actor_kind action::actor_kind |
Definition at line 306 of file actions.h.
Referenced by action_new(), handle_ruleset_action(), and send_ruleset_actions().
| bv_actions action::blocked_by |
Definition at line 331 of file actions.h.
Referenced by action_new(), action_would_be_blocked_by(), handle_ruleset_action(), sanity_check_ruleset_data(), and send_ruleset_actions().
| action_id action::id |
Definition at line 306 of file actions.h.
Referenced by action_dice_roll_odds(), action_get_activity(), action_list_add_all_by_result(), action_name_translation(), action_new(), action_number(), action_rule_name(), action_sub_target_id_for_action(), action_univs_not_blocking(), api_methods_action_name_translation(), api_methods_action_rule_name(), auto_settlers_speculate_can_act_at(), dai_upgrade_units(), tab_enabler::edit_type(), handle_unit_type_upgrade(), illegal_action_msg(), load_ruleset_game(), popup_bribe_dialog(), popup_incite_dialog(), popup_sabotage_dialog(), sg_load_savefile(), spy_send_sabotage_list(), tai_tile_worker_task_select(), texai_tile_worker_task_select(), and utype_may_do_escape_action().
| struct { ... } action::is_unit |
| int action::max_distance |
Definition at line 320 of file actions.h.
Referenced by action_distance_inside_max(), action_new(), action_not_enabled_reason(), freeciv::path_finder::path_finder_private::attempt_paradrop(), handle_ruleset_action(), helptext_unit(), load_action_range_max(), sanity_check_ruleset_data(), send_ruleset_actions(), and unit_action_new().
| int action::min_distance |
Definition at line 320 of file actions.h.
Referenced by action_distance_accepted(), action_new(), action_not_enabled_reason(), freeciv::path_finder::path_finder_private::attempt_paradrop(), handle_ruleset_action(), helptext_unit(), load_action_range(), sanity_check_ruleset_data(), send_ruleset_actions(), and unit_action_new().
| enum moves_actor_kind action::moves_actor |
Definition at line 353 of file actions.h.
Referenced by unit_action_new().
| bool action::quiet |
Definition at line 327 of file actions.h.
Referenced by action_new(), handle_ruleset_action(), helptext_unit(), load_ruleset_game(), rscompat_old_slow_invasions_3_1(), and send_ruleset_actions().
| bool action::rare_pop_up |
Definition at line 350 of file actions.h.
Referenced by unit_action_new().
| enum action_result action::result |
Definition at line 306 of file actions.h.
Referenced by action_creates_extra(), action_dice_roll_initial_odds(), action_enabler_suggest_improvement(), action_enabler_suggest_repair_oblig(), action_has_result(), action_is_hostile(), action_list_add_all_by_result(), action_maybe_possible_actor_unit(), action_new(), action_not_enabled_reason(), action_removes_extra(), action_target_neg_util(), adv_best_government(), dai_incident(), handle_ruleset_action(), handle_unit_action_query(), helptext_unit(), need_war_player_hlp(), send_ruleset_actions(), unit_action_new(), unit_can_act_cache_set(), unit_perform_action(), and utype_can_do_action_result().
| enum action_sub_target_kind action::sub_target_kind |
Definition at line 306 of file actions.h.
Referenced by action_new(), handle_ruleset_action(), and unit_action_new().
| enum act_tgt_compl action::target_complexity |
Definition at line 306 of file actions.h.
Referenced by action_has_complex_target(), action_new(), action_requires_details(), action_sub_target_id_for_action(), dai_diplomat_city(), execute_orders(), unit_order_list_is_sane(), and unit_perform_action().
| enum action_target_kind action::target_kind |
Definition at line 306 of file actions.h.
Referenced by action_new(), handle_ruleset_action(), load_action_kind(), send_ruleset_actions(), and unit_action_new().
| char action::ui_name[MAX_LEN_NAME] |
Definition at line 323 of file actions.h.
Referenced by action_new(), action_prepare_ui_name(), handle_ruleset_action(), rscompat_old_slow_invasions_3_1(), save_action_ui_name(), and send_ruleset_actions().
| bool action::unitwaittime_controlled |
Definition at line 353 of file actions.h.
Referenced by unit_action_new().