Freeciv-3.3
Loading...
Searching...
No Matches
Data Fields
packet_game_info Struct Reference

#include <packets_gen.h>

Data Fields

int add_to_size_limit
 
int aifill
 
enum persistent_ready persistent_ready
 
enum airlifting_style airlifting_style
 
bool airlift_from_always_enabled
 
bool airlift_to_always_enabled
 
int angrycitizen
 
int base_pollution
 
int base_tech_cost
 
int min_tech_cost
 
int tech_leak_pct
 
int border_city_radius_sq
 
int border_size_effect
 
int border_city_permanent_radius_sq
 
enum borders_mode borders
 
int base_bribe_cost
 
enum caravan_bonus_style caravan_bonus_style
 
int culture_vic_points
 
int culture_vic_lead
 
int culture_migration_pml
 
int history_interest_pml
 
int world_peace_turns
 
int celebratesize
 
bool changable_tax
 
int pop_report_zeroes
 
bool citizen_nationality
 
bool unit_builders_nationality
 
int citizen_convert_speed
 
int conquest_convert_pct
 
int citizen_partisans_pct
 
int citymindist
 
int cooling
 
int coolinglevel
 
bv_actions diplchance_initial_odds
 
enum diplomacy_mode diplomacy
 
bool fogofwar
 
int food_cost
 
int foodbox
 
int forced_gold
 
int forced_luxury
 
int forced_science
 
int fulltradesize
 
int trade_world_rel_pct
 
int min_trade_route_val
 
bool reveal_trade_partner
 
enum goods_selection_method goods_selection
 
int global_advance_count
 
bool global_advances [A_LAST]
 
bool global_warming
 
int globalwarming
 
int gold
 
enum gold_upkeep_style gold_upkeep_style
 
bool homeless_gold_upkeep
 
int infrapoints
 
enum revolen_type revolentype
 
Government_type_id default_government_id
 
Government_type_id government_during_revolution_id
 
int granary_food_inc
 
int granary_food_ini [MAX_GRANARY_INIS]
 
int granary_num_inis
 
int great_wonder_owners [B_LAST]
 
int happy_cost
 
enum happyborders_type happyborders
 
int heating
 
int illness_base_factor
 
int illness_min_size
 
bool illness_on
 
int illness_pollution_factor
 
int illness_trade_infection
 
int init_city_radius_sq
 
bool is_edit_mode
 
bool is_new_game
 
bool killcitizen
 
bool killstack
 
bool only_killing_makes_veteran
 
bool only_real_fight_makes_veteran
 
bool combat_odds_scaled_veterancy
 
bool damage_reduces_bombard_rate
 
int low_firepower_badwallattacker
 
int low_firepower_pearl_harbor
 
int low_firepower_combat_bonus
 
int low_firepower_nonnat_bombard
 
int nuke_pop_loss_pct
 
int nuke_defender_survival_chance_pct
 
int min_city_center_output [O_LAST]
 
bool muuk_food_wipe
 
bool muuk_gold_wipe
 
bool muuk_shield_wipe
 
int notradesize
 
bool nuclear_winter
 
int nuclearwinter
 
int phase
 
enum phase_mode_type phase_mode
 
bool pillage_select
 
bool steal_maps_reveals_all_cities
 
bool poison_empties_food_stock
 
bool tech_steal_allow_holes
 
bool tech_trade_allow_holes
 
bool tech_trade_loss_allow_holes
 
bool tech_parasite_allow_holes
 
bool tech_loss_allow_holes
 
int rapturedelay
 
int disasters
 
bool restrictinfra
 
bool unreachable_protects
 
int sciencebox
 
int shieldbox
 
enum ai_level skill_level
 
enum victory_condition_type victory_conditions
 
bool team_pooled_research
 
int tech
 
enum tech_cost_style tech_cost_style
 
enum tech_leakage_style tech_leakage
 
int tech_upkeep_divider
 
enum tech_upkeep_style tech_upkeep_style
 
int techloss_forgiveness
 
enum free_tech_method free_tech_method
 
enum gameloss_style gameloss_style
 
int timeout
 
int first_timeout
 
bool tired_attack
 
int trademindist
 
enum trade_revenue_style trade_revenue_style
 
bool trading_city
 
bool trading_gold
 
bool trading_tech
 
int turn
 
int warminglevel
 
int year
 
bool year_0_hack
 
int top_cities_count
 
int fragment_count
 
int granularity
 
enum wonder_visib_type small_wonder_visibility
 

Detailed Description

Definition at line 118 of file packets_gen.h.

Field Documentation

◆ add_to_size_limit

int packet_game_info::add_to_size_limit

◆ aifill

int packet_game_info::aifill

◆ airlift_from_always_enabled

bool packet_game_info::airlift_from_always_enabled

◆ airlift_to_always_enabled

bool packet_game_info::airlift_to_always_enabled

◆ airlifting_style

enum airlifting_style packet_game_info::airlifting_style

◆ angrycitizen

int packet_game_info::angrycitizen

◆ base_bribe_cost

int packet_game_info::base_bribe_cost

Definition at line 134 of file packets_gen.h.

Referenced by load_ruleset_game(), save_game_ruleset(), and unit_bribe_cost().

◆ base_pollution

int packet_game_info::base_pollution

Definition at line 126 of file packets_gen.h.

Referenced by city_pollution_types(), load_ruleset_game(), and save_game_ruleset().

◆ base_tech_cost

int packet_game_info::base_tech_cost

◆ border_city_permanent_radius_sq

int packet_game_info::border_city_permanent_radius_sq

Definition at line 132 of file packets_gen.h.

Referenced by load_ruleset_game(), map_claim_border(), and save_game_ruleset().

◆ border_city_radius_sq

int packet_game_info::border_city_radius_sq

◆ border_size_effect

int packet_game_info::border_size_effect

◆ borders

enum borders_mode packet_game_info::borders

◆ caravan_bonus_style

enum caravan_bonus_style packet_game_info::caravan_bonus_style

◆ celebratesize

int packet_game_info::celebratesize

◆ changable_tax

bool packet_game_info::changable_tax

◆ citizen_convert_speed

int packet_game_info::citizen_convert_speed

Definition at line 146 of file packets_gen.h.

Referenced by citizen_convert_check(), load_ruleset_cities(), and save_cities_ruleset().

◆ citizen_nationality

bool packet_game_info::citizen_nationality

◆ citizen_partisans_pct

int packet_game_info::citizen_partisans_pct

◆ citymindist

int packet_game_info::citymindist

◆ combat_odds_scaled_veterancy

bool packet_game_info::combat_odds_scaled_veterancy

◆ conquest_convert_pct

int packet_game_info::conquest_convert_pct

◆ cooling

int packet_game_info::cooling

◆ coolinglevel

int packet_game_info::coolinglevel

◆ culture_migration_pml

int packet_game_info::culture_migration_pml

Definition at line 138 of file packets_gen.h.

Referenced by city_migration_score(), load_ruleset_game(), and save_game_ruleset().

◆ culture_vic_lead

int packet_game_info::culture_vic_lead

Definition at line 137 of file packets_gen.h.

Referenced by check_for_game_over(), load_ruleset_game(), and save_game_ruleset().

◆ culture_vic_points

int packet_game_info::culture_vic_points

Definition at line 136 of file packets_gen.h.

Referenced by check_for_game_over(), load_ruleset_game(), and save_game_ruleset().

◆ damage_reduces_bombard_rate

bool packet_game_info::damage_reduces_bombard_rate

Definition at line 196 of file packets_gen.h.

Referenced by load_ruleset_game(), save_game_ruleset(), and unit_bombard_rate().

◆ default_government_id

Government_type_id packet_game_info::default_government_id

Definition at line 174 of file packets_gen.h.

Referenced by game_defaults(), handle_game_info(), and load_ruleset_nations().

◆ diplchance_initial_odds

bv_actions packet_game_info::diplchance_initial_odds

◆ diplomacy

enum diplomacy_mode packet_game_info::diplomacy

Definition at line 153 of file packets_gen.h.

Referenced by diplomacy_possible(), and game_defaults().

◆ disasters

int packet_game_info::disasters

Definition at line 221 of file packets_gen.h.

Referenced by check_disasters(), and game_defaults().

◆ first_timeout

int packet_game_info::first_timeout

Definition at line 238 of file packets_gen.h.

Referenced by current_turn_timeout(), and timeout_action().

◆ fogofwar

bool packet_game_info::fogofwar

◆ food_cost

int packet_game_info::food_cost

◆ foodbox

int packet_game_info::foodbox

Definition at line 156 of file packets_gen.h.

Referenced by city_granary_size(), and game_defaults().

◆ forced_gold

int packet_game_info::forced_gold

◆ forced_luxury

int packet_game_info::forced_luxury

◆ forced_science

int packet_game_info::forced_science

◆ fragment_count

int packet_game_info::fragment_count

◆ free_tech_method

enum free_tech_method packet_game_info::free_tech_method

◆ fulltradesize

int packet_game_info::fulltradesize

Definition at line 160 of file packets_gen.h.

Referenced by city_waste(), cityresult_fill(), and game_defaults().

◆ gameloss_style

enum gameloss_style packet_game_info::gameloss_style

Definition at line 236 of file packets_gen.h.

Referenced by kill_player(), load_ruleset_game(), save_game_ruleset(), and wipe_unit_full().

◆ global_advance_count

int packet_game_info::global_advance_count

◆ global_advances

bool packet_game_info::global_advances[A_LAST]

◆ global_warming

bool packet_game_info::global_warming

◆ globalwarming

int packet_game_info::globalwarming

◆ gold

int packet_game_info::gold

Definition at line 169 of file packets_gen.h.

Referenced by game_defaults(), and srv_ready().

◆ gold_upkeep_style

enum gold_upkeep_style packet_game_info::gold_upkeep_style

◆ goods_selection

enum goods_selection_method packet_game_info::goods_selection

◆ government_during_revolution_id

Government_type_id packet_game_info::government_during_revolution_id

◆ granary_food_inc

int packet_game_info::granary_food_inc

Definition at line 176 of file packets_gen.h.

Referenced by city_granary_size(), load_ruleset_game(), and save_game_ruleset().

◆ granary_food_ini

int packet_game_info::granary_food_ini[MAX_GRANARY_INIS]

Definition at line 177 of file packets_gen.h.

Referenced by city_granary_size(), load_ruleset_game(), and save_game_ruleset().

◆ granary_num_inis

int packet_game_info::granary_num_inis

Definition at line 178 of file packets_gen.h.

Referenced by city_granary_size(), load_ruleset_game(), and save_game_ruleset().

◆ granularity

int packet_game_info::granularity

◆ great_wonder_owners

int packet_game_info::great_wonder_owners[B_LAST]

◆ happy_cost

int packet_game_info::happy_cost

◆ happyborders

enum happyborders_type packet_game_info::happyborders

◆ heating

int packet_game_info::heating

◆ history_interest_pml

int packet_game_info::history_interest_pml

◆ homeless_gold_upkeep

bool packet_game_info::homeless_gold_upkeep

Definition at line 171 of file packets_gen.h.

Referenced by load_ruleset_game(), save_game_ruleset(), and update_national_activities().

◆ illness_base_factor

int packet_game_info::illness_base_factor

Definition at line 183 of file packets_gen.h.

Referenced by city_illness_calc(), load_ruleset_game(), and save_game_ruleset().

◆ illness_min_size

int packet_game_info::illness_min_size

Definition at line 184 of file packets_gen.h.

Referenced by city_illness_calc(), load_ruleset_game(), and save_game_ruleset().

◆ illness_on

bool packet_game_info::illness_on

◆ illness_pollution_factor

int packet_game_info::illness_pollution_factor

Definition at line 186 of file packets_gen.h.

Referenced by city_illness_calc(), load_ruleset_game(), and save_game_ruleset().

◆ illness_trade_infection

int packet_game_info::illness_trade_infection

Definition at line 187 of file packets_gen.h.

Referenced by get_trade_illness(), load_ruleset_game(), and save_game_ruleset().

◆ infrapoints

int packet_game_info::infrapoints

Definition at line 172 of file packets_gen.h.

Referenced by game_defaults(), and srv_ready().

◆ init_city_radius_sq

int packet_game_info::init_city_radius_sq

◆ is_edit_mode

bool packet_game_info::is_edit_mode

◆ is_new_game

bool packet_game_info::is_new_game

◆ killcitizen

bool packet_game_info::killcitizen

Definition at line 191 of file packets_gen.h.

Referenced by game_defaults(), and unit_attack_civilian_casualties().

◆ killstack

bool packet_game_info::killstack

Definition at line 192 of file packets_gen.h.

Referenced by game_defaults(), helptext_extra(), and is_stack_vulnerable().

◆ low_firepower_badwallattacker

int packet_game_info::low_firepower_badwallattacker

Definition at line 197 of file packets_gen.h.

Referenced by get_modified_firepower(), load_ruleset_game(), and save_game_ruleset().

◆ low_firepower_combat_bonus

int packet_game_info::low_firepower_combat_bonus

◆ low_firepower_nonnat_bombard

int packet_game_info::low_firepower_nonnat_bombard

Definition at line 200 of file packets_gen.h.

Referenced by get_modified_firepower(), load_ruleset_game(), and save_game_ruleset().

◆ low_firepower_pearl_harbor

int packet_game_info::low_firepower_pearl_harbor

◆ min_city_center_output

int packet_game_info::min_city_center_output[O_LAST]

Definition at line 203 of file packets_gen.h.

Referenced by city_tile_output(), load_ruleset_game(), and save_game_ruleset().

◆ min_tech_cost

int packet_game_info::min_tech_cost

◆ min_trade_route_val

int packet_game_info::min_trade_route_val

Definition at line 162 of file packets_gen.h.

Referenced by load_ruleset_game(), save_game_ruleset(), and trade_from_route().

◆ muuk_food_wipe

bool packet_game_info::muuk_food_wipe

Definition at line 204 of file packets_gen.h.

Referenced by city_populate(), load_ruleset_cities(), and save_cities_ruleset().

◆ muuk_gold_wipe

bool packet_game_info::muuk_gold_wipe

Definition at line 205 of file packets_gen.h.

Referenced by load_ruleset_cities(), save_cities_ruleset(), and sell_random_unit().

◆ muuk_shield_wipe

bool packet_game_info::muuk_shield_wipe

◆ notradesize

int packet_game_info::notradesize

Definition at line 207 of file packets_gen.h.

Referenced by city_waste(), game_defaults(), and set_default_city_manager().

◆ nuclear_winter

bool packet_game_info::nuclear_winter

◆ nuclearwinter

int packet_game_info::nuclearwinter

◆ nuke_defender_survival_chance_pct

int packet_game_info::nuke_defender_survival_chance_pct

Definition at line 202 of file packets_gen.h.

Referenced by do_nuke_tile(), helptext_unit(), load_ruleset_game(), and save_game_ruleset().

◆ nuke_pop_loss_pct

int packet_game_info::nuke_pop_loss_pct

Definition at line 201 of file packets_gen.h.

Referenced by do_nuke_tile(), helptext_unit(), load_ruleset_game(), and save_game_ruleset().

◆ only_killing_makes_veteran

bool packet_game_info::only_killing_makes_veteran

Definition at line 193 of file packets_gen.h.

Referenced by combat_veterans(), load_ruleset_game(), and save_game_ruleset().

◆ only_real_fight_makes_veteran

bool packet_game_info::only_real_fight_makes_veteran

Definition at line 194 of file packets_gen.h.

Referenced by combat_veterans(), load_ruleset_game(), and save_game_ruleset().

◆ persistent_ready

enum persistent_ready packet_game_info::persistent_ready

Definition at line 121 of file packets_gen.h.

Referenced by reset_all_start_commands().

◆ phase

int packet_game_info::phase

◆ phase_mode

enum phase_mode_type packet_game_info::phase_mode

◆ pillage_select

bool packet_game_info::pillage_select

◆ poison_empties_food_stock

bool packet_game_info::poison_empties_food_stock

Definition at line 214 of file packets_gen.h.

Referenced by load_ruleset_actions(), save_actions_ruleset(), and spy_poison().

◆ pop_report_zeroes

int packet_game_info::pop_report_zeroes

Definition at line 143 of file packets_gen.h.

Referenced by load_ruleset_cities(), population_to_text(), and save_cities_ruleset().

◆ rapturedelay

int packet_game_info::rapturedelay

Definition at line 220 of file packets_gen.h.

Referenced by city_rapture_grow(), dai_manage_taxes(), and game_defaults().

◆ restrictinfra

bool packet_game_info::restrictinfra

Definition at line 222 of file packets_gen.h.

Referenced by game_defaults(), and restrict_infra().

◆ reveal_trade_partner

bool packet_game_info::reveal_trade_partner

◆ revolentype

enum revolen_type packet_game_info::revolentype

◆ sciencebox

int packet_game_info::sciencebox

◆ shieldbox

int packet_game_info::shieldbox

◆ skill_level

enum ai_level packet_game_info::skill_level

◆ small_wonder_visibility

enum wonder_visib_type packet_game_info::small_wonder_visibility

◆ steal_maps_reveals_all_cities

bool packet_game_info::steal_maps_reveals_all_cities

Definition at line 213 of file packets_gen.h.

Referenced by load_ruleset_actions(), save_actions_ruleset(), and spy_steal_some_maps().

◆ team_pooled_research

bool packet_game_info::team_pooled_research

◆ tech

int packet_game_info::tech

Definition at line 229 of file packets_gen.h.

Referenced by game_defaults(), and srv_ready().

◆ tech_cost_style

enum tech_cost_style packet_game_info::tech_cost_style

◆ tech_leak_pct

int packet_game_info::tech_leak_pct

Definition at line 129 of file packets_gen.h.

Referenced by dai_goldequiv_clause(), and research_total_bulbs_required().

◆ tech_leakage

enum tech_leakage_style packet_game_info::tech_leakage

◆ tech_loss_allow_holes

bool packet_game_info::tech_loss_allow_holes

Definition at line 219 of file packets_gen.h.

Referenced by load_ruleset_game(), pick_random_tech_to_lose(), and save_game_ruleset().

◆ tech_parasite_allow_holes

bool packet_game_info::tech_parasite_allow_holes

◆ tech_steal_allow_holes

bool packet_game_info::tech_steal_allow_holes

◆ tech_trade_allow_holes

bool packet_game_info::tech_trade_allow_holes

◆ tech_trade_loss_allow_holes

bool packet_game_info::tech_trade_loss_allow_holes

Definition at line 217 of file packets_gen.h.

Referenced by load_ruleset_game(), save_game_ruleset(), and tech_transfer().

◆ tech_upkeep_divider

int packet_game_info::tech_upkeep_divider

Definition at line 232 of file packets_gen.h.

Referenced by load_ruleset_game(), player_tech_upkeep(), and save_game_ruleset().

◆ tech_upkeep_style

enum tech_upkeep_style packet_game_info::tech_upkeep_style

◆ techloss_forgiveness

int packet_game_info::techloss_forgiveness

Definition at line 234 of file packets_gen.h.

Referenced by lose_tech(), and turns_to_tech_loss().

◆ timeout

int packet_game_info::timeout

◆ tired_attack

bool packet_game_info::tired_attack

◆ top_cities_count

int packet_game_info::top_cities_count

◆ trade_revenue_style

enum trade_revenue_style packet_game_info::trade_revenue_style

Definition at line 241 of file packets_gen.h.

Referenced by game_defaults(), and trade_base_between_cities().

◆ trade_world_rel_pct

int packet_game_info::trade_world_rel_pct

◆ trademindist

int packet_game_info::trademindist

Definition at line 240 of file packets_gen.h.

Referenced by can_cities_trade(), and game_defaults().

◆ trading_city

bool packet_game_info::trading_city

Definition at line 242 of file packets_gen.h.

Referenced by clause_enabled(), and game_defaults().

◆ trading_gold

bool packet_game_info::trading_gold

Definition at line 243 of file packets_gen.h.

Referenced by clause_enabled(), and game_defaults().

◆ trading_tech

bool packet_game_info::trading_tech

Definition at line 244 of file packets_gen.h.

Referenced by clause_enabled(), and game_defaults().

◆ turn

int packet_game_info::turn

Definition at line 245 of file packets_gen.h.

Referenced by adjust_improvement_wants_by_effects(), api_methods_game_turn(), api_methods_game_turn_deprecated(), begin_phase(), begin_turn(), check_city_migrations_player(), check_for_game_over(), city_add_improvement(), city_build_building(), city_build_unit(), city_built_last_turn(), city_can_buy(), city_had_recent_plague(), city_illness_strike(), city_migration_score(), compat_load_030300(), create_city_virtual(), create_event(), current_turn_timeout(), dai_build_adv_adjust(), dai_diplomacy_actions(), dai_goldequiv_clause(), dai_goldequiv_tech(), dai_is_unit_tired_waiting_boat(), dai_manage_cities(), dai_manage_government(), do_city_migration(), end_phase(), end_turn(), endturn_callback(), event_cache_match(), event_cache_remove_old(), extviewer_view_cell_toggled(), first_timeout_action(), game_advance_year(), game_defaults(), generate_save_name(), get_info_label_text(), get_info_label_text_popup(), get_trade_illness(), government_change(), handle_edit_player(), handle_end_phase(), handle_end_turn(), handle_event(), handle_new_year(), handle_player_change_government(), handle_player_phase_done(), handle_tile_info(), historian_generic(), img_new(), is_age_req_active(), is_form_age_req_active(), log_civ_score_now(), make_contact(), make_history_report(), mapimg_create(), multiplier_can_be_changed(), package_event_full(), package_player_info(), player_mood(), player_tile_init(), player_update_last_war_action(), rank_users(), real_output_window_append(), really_handle_city_buy(), mr_menu::save_image(), scan_score_log(), send_current_history_report(), send_tile_info(), send_turn_done(), send_year_to_clients(), sg_load_game(), sg_load_game(), sg_load_history(), sg_load_history(), sg_load_player_city(), sg_load_player_unit(), sg_load_player_unit(), sg_save_game(), sg_save_history(), show_new_turn_info(), split_player(), srv_ready(), srv_running(), summon_barbarians(), tdc_plr_get(), tile_data_cache_new(), timeout_action(), timing_log_real(), transfer_city(), transform_unit(), tri_req_active_turns(), unit_can_do_action_now(), unit_did_action(), unit_virtual_create(), unleash_barbarians(), update_diplomatics(), fc_client::update_info_label(), update_player_tile_last_seen(), update_revolution(), and world_peace_update().

◆ unit_builders_nationality

bool packet_game_info::unit_builders_nationality

Definition at line 145 of file packets_gen.h.

Referenced by city_create_unit(), load_ruleset_cities(), and save_cities_ruleset().

◆ unreachable_protects

bool packet_game_info::unreachable_protects

Definition at line 223 of file packets_gen.h.

Referenced by pf_attack_possible(), and unit_attack_units_at_tile_result().

◆ victory_conditions

enum victory_condition_type packet_game_info::victory_conditions

Definition at line 227 of file packets_gen.h.

Referenced by game_defaults(), handle_game_info(), and victory_enabled().

◆ warminglevel

int packet_game_info::warminglevel

◆ world_peace_turns

int packet_game_info::world_peace_turns

Definition at line 140 of file packets_gen.h.

Referenced by check_for_game_over(), load_ruleset_game(), and save_game_ruleset().

◆ year

int packet_game_info::year

◆ year_0_hack

bool packet_game_info::year_0_hack