Freeciv-3.2
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 361 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

Definition at line 368 of file actions.h.

Referenced by action_new(), handle_ruleset_action(), and send_ruleset_actions().

◆ blocked_by

bv_actions action::blocked_by

◆ id

action_id action::id

◆ [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

Definition at line 415 of file actions.h.

Referenced by unit_action_new().

◆ quiet

bool action::quiet

◆ rare_pop_up

bool action::rare_pop_up

Definition at line 408 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

Definition at line 366 of file actions.h.

Referenced by action_new(), handle_ruleset_action(), and load_ruleset_actions().

◆ sub_target_kind

enum action_sub_target_kind action::sub_target_kind

Definition at line 370 of file actions.h.

Referenced by action_new(), and handle_ruleset_action().

◆ target_complexity

enum act_tgt_compl action::target_complexity

Definition at line 373 of file actions.h.

Referenced by action_new().

◆ 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 411 of file actions.h.

Referenced by unit_action_new().