Freeciv-3.2
Loading...
Searching...
No Matches
Data Fields
impr_type Struct Reference

#include <improvement.h>

Data Fields

Impr_type_id item_number
 
struct name_translation name
 
bool ruledit_disabled
 
voidruledit_dlg
 
char graphic_str [MAX_LEN_NAME]
 
char graphic_alt [MAX_LEN_NAME]
 
char graphic_alt2 [MAX_LEN_NAME]
 
struct requirement_vector reqs
 
struct requirement_vector obsolete_by
 
int build_cost
 
int upkeep
 
int sabotage
 
enum impr_genus_id genus
 
bv_impr_flags flags
 
struct strvechelptext
 
char soundtag [MAX_LEN_NAME]
 
char soundtag_alt [MAX_LEN_NAME]
 
char soundtag_alt2 [MAX_LEN_NAME]
 
bool allows_units
 
bool allows_extras
 
bool prevents_disaster
 
bool protects_vs_actions
 
bool allows_actions
 

Detailed Description

Definition at line 50 of file improvement.h.

Field Documentation

◆ allows_actions

bool impr_type::allows_actions

Definition at line 75 of file improvement.h.

Referenced by impr_allows_actions().

◆ allows_extras

bool impr_type::allows_extras

Definition at line 72 of file improvement.h.

Referenced by impr_provides_buildable_extras().

◆ allows_units

bool impr_type::allows_units

Definition at line 71 of file improvement.h.

Referenced by impr_provides_buildable_units().

◆ build_cost

int impr_type::build_cost

◆ flags

bv_impr_flags impr_type::flags

◆ genus

enum impr_genus_id impr_type::genus

◆ graphic_alt

char impr_type::graphic_alt[MAX_LEN_NAME]

◆ graphic_alt2

char impr_type::graphic_alt2[MAX_LEN_NAME]

◆ graphic_str

char impr_type::graphic_str[MAX_LEN_NAME]

◆ helptext

struct strvec* impr_type::helptext

◆ item_number

Impr_type_id impr_type::item_number

Definition at line 51 of file improvement.h.

Referenced by improvement_number(), and improvements_init().

◆ name

struct name_translation impr_type::name

◆ obsolete_by

struct requirement_vector impr_type::obsolete_by

◆ prevents_disaster

bool impr_type::prevents_disaster

Definition at line 73 of file improvement.h.

Referenced by impr_prevents_disaster().

◆ protects_vs_actions

bool impr_type::protects_vs_actions

Definition at line 74 of file improvement.h.

Referenced by impr_protects_vs_actions().

◆ reqs

struct requirement_vector impr_type::reqs

◆ ruledit_disabled

bool impr_type::ruledit_disabled

◆ ruledit_dlg

void* impr_type::ruledit_dlg

◆ sabotage

int impr_type::sabotage

◆ soundtag

char impr_type::soundtag[MAX_LEN_NAME]

◆ soundtag_alt

char impr_type::soundtag_alt[MAX_LEN_NAME]

◆ soundtag_alt2

char impr_type::soundtag_alt2[MAX_LEN_NAME]

◆ upkeep

int impr_type::upkeep