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

#include <unittype.h>

Data Fields

Unit_Class_id item_number
 
struct name_translation name
 
bool ruledit_disabled
 
enum unit_move_type move_type
 
int min_speed
 
int hp_loss_pct
 
int non_native_def_pct
 
bv_unit_class_flags flags
 
struct strvechelptext
 
struct { 
 
   enum move_level   land_move 
 
   enum move_level   sea_move 
 
   int   ferry_types 
 
adv 
 
struct { 
 
   struct extra_type_list *   refuel_extras 
 
   struct extra_type_list *   native_tile_extras 
 
   struct extra_type_list *   native_bases 
 
   struct extra_type_list *   bonus_roads 
 
   struct extra_type_list *   hiding_extras 
 
   struct unit_class_list *   subset_movers 
 
cache 
 
struct { 
 
   enum hut_behavior   hut_behavior 
 
rscompat_cache_from_3_0 
 

Detailed Description

Definition at line 136 of file unittype.h.

Field Documentation

◆ [struct]

struct { ... } unit_class::adv

◆ bonus_roads

struct extra_type_list* unit_class::bonus_roads

◆ [struct]

struct { ... } unit_class::cache

◆ ferry_types

int unit_class::ferry_types

Definition at line 151 of file unittype.h.

Referenced by dai_choose_trade_route(), and dai_manage_caravan().

◆ flags

bv_unit_class_flags unit_class::flags

◆ helptext

struct strvec* unit_class::helptext

◆ hiding_extras

struct extra_type_list* unit_class::hiding_extras

◆ hp_loss_pct

int unit_class::hp_loss_pct

Definition at line 142 of file unittype.h.

Referenced by handle_ruleset_unit_class(), unit_color_type(), and unit_gain_hitpoints().

◆ hut_behavior

enum hut_behavior unit_class::hut_behavior

Definition at line 165 of file unittype.h.

◆ item_number

Unit_Class_id unit_class::item_number

Definition at line 137 of file unittype.h.

Referenced by uclass_number(), and unit_classes_init().

◆ land_move

enum move_level unit_class::land_move

◆ min_speed

int unit_class::min_speed

Definition at line 141 of file unittype.h.

Referenced by handle_ruleset_unit_class(), and utype_move_rate().

◆ move_type

enum unit_move_type unit_class::move_type

Definition at line 140 of file unittype.h.

Referenced by set_unit_move_type(), and unit_color_type().

◆ name

struct name_translation unit_class::name

◆ native_bases

struct extra_type_list* unit_class::native_bases

◆ native_tile_extras

struct extra_type_list* unit_class::native_tile_extras

◆ non_native_def_pct

int unit_class::non_native_def_pct

◆ refuel_extras

struct extra_type_list* unit_class::refuel_extras

◆ [struct]

struct { ... } unit_class::rscompat_cache_from_3_0

◆ ruledit_disabled

bool unit_class::ruledit_disabled

Definition at line 139 of file unittype.h.

Referenced by unit_classes_init().

◆ sea_move

enum move_level unit_class::sea_move

◆ subset_movers

struct unit_class_list* unit_class::subset_movers