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

#include <terrain.h>

Data Fields

int 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]
 
char identifier
 
char identifier_load
 
enum terrain_class tclass
 
int movement_cost
 
int defense_bonus
 
int output [O_LAST]
 
struct extra_type ** resources
 
intresource_freq
 
int road_output_incr_pct [O_LAST]
 
int base_time
 
int road_time
 
struct terraincultivate_result
 
int cultivate_time
 
struct terrainplant_result
 
int plant_time
 
int irrigation_food_incr
 
int irrigation_time
 
int mining_shield_incr
 
int mining_time
 
int placing_time
 
struct terraintransform_result
 
int transform_time
 
int pillage_time
 
int extra_removal_times [MAX_EXTRA_TYPES]
 
const struct unit_typeanimal
 
struct terrainwarmer_wetter_result
 
struct terrainwarmer_drier_result
 
struct terraincooler_wetter_result
 
struct terraincooler_drier_result
 
int property [MG_COUNT]
 
bv_unit_classes native_to
 
bv_terrain_flags flags
 
struct rgbcolorrgb
 
struct strvechelptext
 

Detailed Description

Definition at line 182 of file terrain.h.

Field Documentation

◆ animal

const struct unit_type* terrain::animal

Definition at line 237 of file terrain.h.

Referenced by handle_ruleset_terrain(), and terrains_init().

◆ base_time

int terrain::base_time

◆ cooler_drier_result

struct terrain * terrain::cooler_drier_result

Definition at line 241 of file terrain.h.

Referenced by climate_change().

◆ cooler_wetter_result

struct terrain* terrain::cooler_wetter_result

Definition at line 241 of file terrain.h.

Referenced by climate_change().

◆ cultivate_result

struct terrain* terrain::cultivate_result

◆ cultivate_time

int terrain::cultivate_time

◆ defense_bonus

int terrain::defense_bonus

◆ extra_removal_times

int terrain::extra_removal_times[MAX_EXTRA_TYPES]

◆ flags

bv_terrain_flags terrain::flags

◆ graphic_alt

char terrain::graphic_alt[MAX_LEN_NAME]

◆ graphic_alt2

char terrain::graphic_alt2[MAX_LEN_NAME]

◆ graphic_str

char terrain::graphic_str[MAX_LEN_NAME]

◆ helptext

struct strvec* terrain::helptext

Definition at line 263 of file terrain.h.

Referenced by handle_ruleset_terrain(), edit_terrain::helptext(), and helptext_terrain().

◆ identifier

char terrain::identifier

Definition at line 191 of file terrain.h.

Referenced by terrain2char(), terrain_by_identifier(), and terrain_identifier().

◆ identifier_load

char terrain::identifier_load

Definition at line 192 of file terrain.h.

◆ irrigation_food_incr

int terrain::irrigation_food_incr

◆ irrigation_time

int terrain::irrigation_time

◆ item_number

int terrain::item_number

Definition at line 183 of file terrain.h.

Referenced by terrain_number(), and terrains_init().

◆ mining_shield_incr

int terrain::mining_shield_incr

◆ mining_time

int terrain::mining_time

◆ movement_cost

int terrain::movement_cost

◆ name

struct name_translation terrain::name

◆ native_to

bv_unit_classes terrain::native_to

◆ output

int terrain::output[O_LAST]

◆ pillage_time

int terrain::pillage_time

◆ placing_time

int terrain::placing_time

◆ plant_result

struct terrain* terrain::plant_result

◆ plant_time

int terrain::plant_time

◆ property

int terrain::property[MG_COUNT]

◆ resource_freq

int* terrain::resource_freq

Definition at line 205 of file terrain.h.

Referenced by handle_ruleset_terrain().

◆ resources

struct extra_type** terrain::resources

◆ rgb

struct rgbcolor* terrain::rgb

◆ road_output_incr_pct

int terrain::road_output_incr_pct[O_LAST]

◆ road_time

int terrain::road_time

◆ ruledit_disabled

bool terrain::ruledit_disabled

◆ ruledit_dlg

void* terrain::ruledit_dlg

◆ tclass

enum terrain_class terrain::tclass

◆ transform_result

struct terrain* terrain::transform_result

◆ transform_time

int terrain::transform_time

◆ warmer_drier_result

struct terrain * terrain::warmer_drier_result

Definition at line 240 of file terrain.h.

Referenced by climate_change().

◆ warmer_wetter_result

struct terrain* terrain::warmer_wetter_result

Definition at line 240 of file terrain.h.

Referenced by climate_change().