Freeciv-3.1
Loading...
Searching...
No Matches
Data Fields
action Struct Reference

#include <actions.h>

Data Fields

action_id id
 
enum action_result result
 
bv_action_sub_results sub_results
 
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 
 

Detailed Description

Definition at line 378 of file actions.h.

Field Documentation

◆ [union]

union { ... } action::actor

◆ actor_consuming_always

bool action::actor_consuming_always

◆ actor_kind

enum action_actor_kind action::actor_kind

◆ blocked_by

bv_actions action::blocked_by

◆ id

action_id action::id

Definition at line 380 of file actions.h.

Referenced by action_dice_roll_initial_odds(), action_dice_roll_odds(), action_get_role(), action_is_blocked_by(), action_is_in_use(), action_list_add_all_by_result(), action_name_translation(), action_new(), action_number(), action_prob_unit_vs_tgt(), action_rule_name(), action_sub_target_id_for_action(), action_univs_not_blocking(), api_edit_perform_action_unit_vs_city(), api_edit_perform_action_unit_vs_city_impr(), api_edit_perform_action_unit_vs_city_tech(), api_edit_perform_action_unit_vs_self(), api_edit_perform_action_unit_vs_tile(), api_edit_perform_action_unit_vs_tile_extra(), api_edit_perform_action_unit_vs_unit(), api_methods_action_name_translation(), api_methods_action_rule_name(), api_methods_action_target_kind(), dai_manage_paratrooper(), dai_upgrade_units(), do_unit_paradrop_to(), tab_enabler::edit_type(), handle_unit_type_upgrade(), helptext_unit(), illegal_action_msg(), load_action_post_success_force(), load_ruleset_game(), need_war_enabler(), popup_bribe_dialog(), popup_bribe_dialog(), popup_incite_dialog(), popup_incite_dialog(), popup_sabotage_dialog(), popup_sabotage_dialog(), real_menus_update(), request_action_details_callback(), rscompat_postprocess(), ruleset_purge_redundant_reqs_enablers(), ruleset_purge_unused_enablers(), sanity_check_ruleset_data(), sg_load_savefile(), simple_action_callback(), simple_action_callback(), spy_send_sabotage_list(), tai_tile_worker_task_select(), texai_tile_worker_task_select(), unit_attack_unit_at_tile_result(), unit_goto_and_callback(), unit_goto_and_callback(), utype_act_takes_all_mp_cache_set(), utype_act_takes_all_mp_ustate_cache_set(), utype_action_takes_all_mp(), utype_action_takes_all_mp_if_ustate_is(), utype_can_do_action_sub_result(), and utype_may_do_escape_action().

◆ [struct]

struct { ... } action::is_unit

◆ max_distance

int action::max_distance

◆ min_distance

int action::min_distance

◆ moves_actor

enum moves_actor_kind action::moves_actor

◆ quiet

bool action::quiet

◆ rare_pop_up

bool action::rare_pop_up

Definition at line 425 of file actions.h.

Referenced by action_id_is_rare_pop_up(), and unit_action_new().

◆ result

enum action_result action::result

◆ sub_results

bv_action_sub_results action::sub_results

◆ sub_target_kind

enum action_sub_target_kind action::sub_target_kind

◆ target_complexity

enum act_tgt_compl action::target_complexity

◆ target_kind

enum action_target_kind action::target_kind

◆ ui_name

char action::ui_name[MAX_LEN_NAME]

◆ unitwaittime_controlled

bool action::unitwaittime_controlled

Definition at line 428 of file actions.h.

Referenced by unit_action_new(), and unit_perform_action().