Freeciv21
Develop your civilization from humble roots to a global empire
impr_type Struct Reference

#include <improvement.h>

+ Collaboration diagram for impr_type:

Public Attributes

Impr_type_id item_number
 
struct name_translation name
 
bool ruledit_disabled
 
char graphic_str [MAX_LEN_NAME]
 
char graphic_alt [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
 
QVector< QString > * helptext
 
char soundtag [MAX_LEN_NAME]
 
char soundtag_alt [MAX_LEN_NAME]
 
bool allows_units
 
bool allows_extras
 
bool prevents_disaster
 
bool protects_vs_actions
 

Detailed Description

Definition at line 59 of file improvement.h.

Member Data Documentation

◆ allows_extras

bool impr_type::allows_extras

Definition at line 79 of file improvement.h.

Referenced by impr_provides_buildable_extras().

◆ allows_units

bool impr_type::allows_units

Definition at line 78 of file improvement.h.

Referenced by impr_provides_buildable_units().

◆ build_cost

◆ flags

bv_impr_flags impr_type::flags

◆ genus

◆ graphic_alt

char impr_type::graphic_alt[MAX_LEN_NAME]

◆ graphic_str

char impr_type::graphic_str[MAX_LEN_NAME]

◆ helptext

QVector<QString>* impr_type::helptext

◆ item_number

Impr_type_id impr_type::item_number

Definition at line 60 of file improvement.h.

Referenced by improvement_number(), and improvements_init().

◆ name

◆ obsolete_by

◆ prevents_disaster

bool impr_type::prevents_disaster

Definition at line 80 of file improvement.h.

Referenced by impr_prevents_disaster().

◆ protects_vs_actions

bool impr_type::protects_vs_actions

Definition at line 81 of file improvement.h.

Referenced by impr_protects_vs_actions().

◆ reqs

◆ ruledit_disabled

bool impr_type::ruledit_disabled

◆ sabotage

int impr_type::sabotage

◆ soundtag

char impr_type::soundtag[MAX_LEN_NAME]

Definition at line 74 of file improvement.h.

Referenced by handle_ruleset_building(), and load_ruleset_buildings().

◆ soundtag_alt

char impr_type::soundtag_alt[MAX_LEN_NAME]

Definition at line 75 of file improvement.h.

Referenced by handle_ruleset_building(), and load_ruleset_buildings().

◆ upkeep