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

#include <packets_gen.h>

Data Fields

Terrain_type_id id
 
int tclass
 
bv_terrain_flags flags
 
bv_unit_classes native_to
 
char name [MAX_LEN_NAME]
 
char rule_name [MAX_LEN_NAME]
 
char graphic_str [MAX_LEN_NAME]
 
char graphic_alt [MAX_LEN_NAME]
 
char graphic_alt2 [MAX_LEN_NAME]
 
int movement_cost
 
int defense_bonus
 
int output [O_LAST]
 
int num_resources
 
Resource_type_id resources [MAX_EXTRA_TYPES]
 
int resource_freq [MAX_EXTRA_TYPES]
 
int road_output_incr_pct [O_LAST]
 
int base_time
 
int road_time
 
Terrain_type_id cultivate_result
 
int cultivate_time
 
Terrain_type_id plant_result
 
int plant_time
 
int irrigation_food_incr
 
int irrigation_time
 
int mining_shield_incr
 
int mining_time
 
int animal
 
Terrain_type_id transform_result
 
int transform_time
 
int placing_time
 
int pillage_time
 
int extra_count
 
int extra_removal_times [MAX_EXTRA_TYPES]
 
int color_red
 
int color_green
 
int color_blue
 
char helptext [MAX_LEN_PACKET]
 

Detailed Description

Definition at line 1208 of file packets_gen.h.

Field Documentation

◆ animal

int packet_ruleset_terrain::animal

◆ base_time

int packet_ruleset_terrain::base_time

◆ color_blue

int packet_ruleset_terrain::color_blue

◆ color_green

int packet_ruleset_terrain::color_green

◆ color_red

int packet_ruleset_terrain::color_red

◆ cultivate_result

Terrain_type_id packet_ruleset_terrain::cultivate_result

◆ cultivate_time

int packet_ruleset_terrain::cultivate_time

◆ defense_bonus

int packet_ruleset_terrain::defense_bonus

◆ extra_count

int packet_ruleset_terrain::extra_count

◆ extra_removal_times

int packet_ruleset_terrain::extra_removal_times[MAX_EXTRA_TYPES]

◆ flags

bv_terrain_flags packet_ruleset_terrain::flags

◆ graphic_alt

char packet_ruleset_terrain::graphic_alt[MAX_LEN_NAME]

◆ graphic_alt2

char packet_ruleset_terrain::graphic_alt2[MAX_LEN_NAME]

◆ graphic_str

char packet_ruleset_terrain::graphic_str[MAX_LEN_NAME]

◆ helptext

char packet_ruleset_terrain::helptext[MAX_LEN_PACKET]

◆ id

Terrain_type_id packet_ruleset_terrain::id

◆ irrigation_food_incr

int packet_ruleset_terrain::irrigation_food_incr

◆ irrigation_time

int packet_ruleset_terrain::irrigation_time

◆ mining_shield_incr

int packet_ruleset_terrain::mining_shield_incr

◆ mining_time

int packet_ruleset_terrain::mining_time

◆ movement_cost

int packet_ruleset_terrain::movement_cost

◆ name

char packet_ruleset_terrain::name[MAX_LEN_NAME]

◆ native_to

bv_unit_classes packet_ruleset_terrain::native_to

◆ num_resources

int packet_ruleset_terrain::num_resources

◆ output

int packet_ruleset_terrain::output[O_LAST]

◆ pillage_time

int packet_ruleset_terrain::pillage_time

◆ placing_time

int packet_ruleset_terrain::placing_time

◆ plant_result

Terrain_type_id packet_ruleset_terrain::plant_result

◆ plant_time

int packet_ruleset_terrain::plant_time

◆ resource_freq

int packet_ruleset_terrain::resource_freq[MAX_EXTRA_TYPES]

◆ resources

Resource_type_id packet_ruleset_terrain::resources[MAX_EXTRA_TYPES]

◆ road_output_incr_pct

int packet_ruleset_terrain::road_output_incr_pct[O_LAST]

◆ road_time

int packet_ruleset_terrain::road_time

◆ rule_name

char packet_ruleset_terrain::rule_name[MAX_LEN_NAME]

◆ tclass

int packet_ruleset_terrain::tclass

◆ transform_result

Terrain_type_id packet_ruleset_terrain::transform_result

◆ transform_time

int packet_ruleset_terrain::transform_time