Freeciv-3.3
Loading...
Searching...
No Matches
Macros | Functions
comments.h File Reference

Go to the source code of this file.

Macros

#define COMMENTS_FILE_NAME   "comments-3.3.txt"
 

Functions

bool comments_load (void)
 
void comments_free (void)
 
void comment_file_header (struct section_file *sfile)
 
void comment_buildings (struct section_file *sfile)
 
void comment_tech_classes (struct section_file *sfile)
 
void comment_techs (struct section_file *sfile)
 
void comment_govs (struct section_file *sfile)
 
void comment_policies (struct section_file *sfile)
 
void comment_uclasses (struct section_file *sfile)
 
void comment_utypes (struct section_file *sfile)
 
void comment_terrains (struct section_file *sfile)
 
void comment_resources (struct section_file *sfile)
 
void comment_extras (struct section_file *sfile)
 
void comment_bases (struct section_file *sfile)
 
void comment_roads (struct section_file *sfile)
 
void comment_styles (struct section_file *sfile)
 
void comment_citystyles (struct section_file *sfile)
 
void comment_musicstyles (struct section_file *sfile)
 
void comment_effects (struct section_file *sfile)
 
void comment_ueffs (struct section_file *sfile)
 
void comment_disasters (struct section_file *sfile)
 
void comment_achievements (struct section_file *sfile)
 
void comment_goods (struct section_file *sfile)
 
void comment_actions (struct section_file *sfile)
 
void comment_enablers (struct section_file *sfile)
 
void comment_specialists (struct section_file *sfile)
 
void comment_nationsets (struct section_file *sfile)
 
void comment_nationgroups (struct section_file *sfile)
 
void comment_nations (struct section_file *sfile)
 
void comment_clauses (struct section_file *sfile)
 
void comment_uflags_utype (struct section_file *sfile)
 
void comment_uflags_uclass (struct section_file *sfile)
 
void comment_uflags_terrain (struct section_file *sfile)
 
void comment_uflags_extra (struct section_file *sfile)
 
void comment_uflags_tech (struct section_file *sfile)
 
void comment_uflags_building (struct section_file *sfile)
 
void comment_trade_settings (struct section_file *sfile)
 
void comment_nations_ruledit (struct section_file *sfile)
 
void comment_civstyle_granary (struct section_file *sfile)
 
void comment_civstyle_ransom_gold (struct section_file *sfile)
 
void comment_civstyle_gameloss_style (struct section_file *sfile)
 
void comment_civstyle_gold_upkeep_style (struct section_file *sfile)
 
void comment_civstyle_homeless_gold_upkeep (struct section_file *sfile)
 
void comment_civstyle_airlift_always (struct section_file *sfile)
 
void comment_wonder_visibility_small_wonders (struct section_file *sfile)
 
void comment_incite_cost (struct section_file *sfile)
 
void comment_combat_rules_tired_attack (struct section_file *sfile)
 
void comment_combat_rules_only_killing_veteran (struct section_file *sfile)
 
void comment_combat_rules_only_real_fight_veteran (struct section_file *sfile)
 
void comment_combat_rules_scaled_veterancy (struct section_file *sfile)
 
void comment_combat_rules_damage_reduces_bombard_rate (struct section_file *sfile)
 
void comment_combat_rules_low_fp_badwallattacker (struct section_file *sfile)
 
void comment_combat_rules_low_fp_pearl_harbor (struct section_file *sfile)
 
void comment_combat_rules_low_fp_combat_bonus (struct section_file *sfile)
 
void comment_combat_rules_low_fp_nonnat_bombard (struct section_file *sfile)
 
void comment_combat_rules_nuke_pop_loss (struct section_file *sfile)
 
void comment_combat_rules_nuke_defender_survival (struct section_file *sfile)
 
void comment_auto_attack (struct section_file *sfile)
 
void comment_actions_dc_initial_odds (struct section_file *sfile)
 
void comment_actions_quiet_actions (struct section_file *sfile)
 
void comment_borders_radius_permanent (struct section_file *sfile)
 
void comment_research_tech_cost_style (struct section_file *sfile)
 
void comment_research_base_tech_cost (struct section_file *sfile)
 
void comment_research_min_tech_cost (struct section_file *sfile)
 
void comment_research_tech_leakage (struct section_file *sfile)
 
void comment_research_upkeep_style (struct section_file *sfile)
 
void comment_research_free_tech_method (struct section_file *sfile)
 
void comment_culture_history_interest (struct section_file *sfile)
 
void comment_culture_migration_pml (struct section_file *sfile)
 
void comment_world_peace_turns (struct section_file *sfile)
 
void comment_calendar_fragments (struct section_file *sfile)
 
void comment_std_tileset_compat (struct section_file *sfile)
 
void comment_counters (struct section_file *sfile)
 

Macro Definition Documentation

◆ COMMENTS_FILE_NAME

#define COMMENTS_FILE_NAME   "comments-3.3.txt"

Definition at line 20 of file comments.h.

Function Documentation

◆ comment_achievements()

void comment_achievements ( struct section_file sfile)

Write achievements header.

Definition at line 464 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_actions()

void comment_actions ( struct section_file sfile)

Write actions header.

Definition at line 536 of file comments.c.

Referenced by save_actions_ruleset().

◆ comment_actions_dc_initial_odds()

void comment_actions_dc_initial_odds ( struct section_file sfile)

Write actions diplchance_initial_odds settings header.

Definition at line 797 of file comments.c.

Referenced by save_actions_ruleset().

◆ comment_actions_quiet_actions()

void comment_actions_quiet_actions ( struct section_file sfile)

Write actions quiet_actions settings header.

Definition at line 806 of file comments.c.

Referenced by save_actions_ruleset().

◆ comment_auto_attack()

void comment_auto_attack ( struct section_file sfile)

Write auto_attack settings header.

Definition at line 789 of file comments.c.

Referenced by save_actions_ruleset().

◆ comment_bases()

void comment_bases ( struct section_file sfile)

Write bases header.

Definition at line 400 of file comments.c.

Referenced by save_terrain_ruleset().

◆ comment_borders_radius_permanent()

void comment_borders_radius_permanent ( struct section_file sfile)

Write borders radius_sq_city_permanent settings header.

Definition at line 815 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_buildings()

void comment_buildings ( struct section_file sfile)

Write buildings header.

Definition at line 320 of file comments.c.

Referenced by save_buildings_ruleset().

◆ comment_calendar_fragments()

void comment_calendar_fragments ( struct section_file sfile)

Write calendar fragments settings header.

Definition at line 905 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_citystyles()

void comment_citystyles ( struct section_file sfile)

Write city styles header.

Definition at line 424 of file comments.c.

Referenced by save_styles_ruleset().

◆ comment_civstyle_airlift_always()

void comment_civstyle_airlift_always ( struct section_file sfile)

Write civstyle airlift always enabled settings header.

Definition at line 654 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_civstyle_gameloss_style()

void comment_civstyle_gameloss_style ( struct section_file sfile)

Write civstyle gameloss_style settings header.

Definition at line 627 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_civstyle_gold_upkeep_style()

void comment_civstyle_gold_upkeep_style ( struct section_file sfile)

Write civstyle gold_upkeep_style settings header.

Definition at line 636 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_civstyle_granary()

void comment_civstyle_granary ( struct section_file sfile)

Write civstyle granary settings header.

Definition at line 609 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_civstyle_homeless_gold_upkeep()

void comment_civstyle_homeless_gold_upkeep ( struct section_file sfile)

Write civstyle homeless_gold_upkeep settings header.

Definition at line 645 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_civstyle_ransom_gold()

void comment_civstyle_ransom_gold ( struct section_file sfile)

Write civstyle ransom_gold settings header.

Definition at line 618 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_clauses()

void comment_clauses ( struct section_file sfile)

Write clauses header.

Definition at line 584 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_combat_rules_damage_reduces_bombard_rate()

void comment_combat_rules_damage_reduces_bombard_rate ( struct section_file sfile)

Write combat_rules damage_reduces_bombard_rate settings header.

Definition at line 720 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_combat_rules_low_fp_badwallattacker()

void comment_combat_rules_low_fp_badwallattacker ( struct section_file sfile)

Write combat_rules low_firepower_badwallattacker settings header.

Definition at line 730 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_combat_rules_low_fp_combat_bonus()

void comment_combat_rules_low_fp_combat_bonus ( struct section_file sfile)

Write combat_rules low_firepower_combat_bonus settings header.

Definition at line 750 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_combat_rules_low_fp_nonnat_bombard()

void comment_combat_rules_low_fp_nonnat_bombard ( struct section_file sfile)

Write combat_rules low_firepower_nonnat_bombard settings header.

Definition at line 760 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_combat_rules_low_fp_pearl_harbor()

void comment_combat_rules_low_fp_pearl_harbor ( struct section_file sfile)

Write combat_rules low_firepower_pearl_harbor settings header.

Definition at line 740 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_combat_rules_nuke_defender_survival()

void comment_combat_rules_nuke_defender_survival ( struct section_file sfile)

Write combat_rules nuke_defender_survival_chance_pct settings header.

Definition at line 779 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_combat_rules_nuke_pop_loss()

void comment_combat_rules_nuke_pop_loss ( struct section_file sfile)

Write combat_rules nuke_pop_loss_pct settings header.

Definition at line 770 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_combat_rules_only_killing_veteran()

void comment_combat_rules_only_killing_veteran ( struct section_file sfile)

Write combat_rules only_killing_makes_veteran settings header.

Definition at line 690 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_combat_rules_only_real_fight_veteran()

void comment_combat_rules_only_real_fight_veteran ( struct section_file sfile)

Write combat_rules only_real_fight_makes_veteran settings header.

Definition at line 700 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_combat_rules_scaled_veterancy()

void comment_combat_rules_scaled_veterancy ( struct section_file sfile)

Write combat_rules combat_odds_scaled_veterancy settings header.

Definition at line 710 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_combat_rules_tired_attack()

void comment_combat_rules_tired_attack ( struct section_file sfile)

Write combat_rules tired_attack settings header.

Definition at line 681 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_counters()

void comment_counters ( struct section_file sfile)

Write counters comment header.

Definition at line 592 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_culture_history_interest()

void comment_culture_history_interest ( struct section_file sfile)

Write culture history_interest_pml settings header.

Definition at line 878 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_culture_migration_pml()

void comment_culture_migration_pml ( struct section_file sfile)

Write culture migration_pml settings header.

Definition at line 887 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_disasters()

void comment_disasters ( struct section_file sfile)

Write disasters header.

Definition at line 456 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_effects()

void comment_effects ( struct section_file sfile)

Write effects header.

Definition at line 440 of file comments.c.

Referenced by save_effects_ruleset().

◆ comment_enablers()

void comment_enablers ( struct section_file sfile)

Write action enablers header.

Definition at line 544 of file comments.c.

Referenced by save_actions_ruleset().

◆ comment_extras()

void comment_extras ( struct section_file sfile)

Write extras header.

Definition at line 392 of file comments.c.

Referenced by save_terrain_ruleset().

◆ comment_file_header()

void comment_file_header ( struct section_file sfile)

Write file header.

Definition at line 312 of file comments.c.

Referenced by create_ruleset_file().

◆ comment_goods()

void comment_goods ( struct section_file sfile)

Write goods header.

Definition at line 528 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_govs()

void comment_govs ( struct section_file sfile)

Write governments header.

Definition at line 344 of file comments.c.

Referenced by save_governments_ruleset().

◆ comment_incite_cost()

void comment_incite_cost ( struct section_file sfile)

Write incite_cost settings header.

Definition at line 672 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_musicstyles()

void comment_musicstyles ( struct section_file sfile)

Write music styles header.

Definition at line 432 of file comments.c.

Referenced by save_styles_ruleset().

◆ comment_nationgroups()

void comment_nationgroups ( struct section_file sfile)

Write nationgroups header.

Definition at line 568 of file comments.c.

Referenced by save_nations_ruleset().

◆ comment_nations()

void comment_nations ( struct section_file sfile)

Write nations header.

Definition at line 560 of file comments.c.

Referenced by save_nations_ruleset().

◆ comment_nations_ruledit()

void comment_nations_ruledit ( struct section_file sfile)

Write nations.ruleset [ruledit] section header.

Definition at line 601 of file comments.c.

Referenced by save_nations_ruleset().

◆ comment_nationsets()

void comment_nationsets ( struct section_file sfile)

Write nationsets header.

Definition at line 576 of file comments.c.

Referenced by save_nations_ruleset().

◆ comment_policies()

void comment_policies ( struct section_file sfile)

Write policies header.

Definition at line 352 of file comments.c.

Referenced by save_governments_ruleset().

◆ comment_research_base_tech_cost()

void comment_research_base_tech_cost ( struct section_file sfile)

Write research base_tech_cost settings header.

Definition at line 833 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_research_free_tech_method()

void comment_research_free_tech_method ( struct section_file sfile)

Write research free_tech_method settings header.

Definition at line 869 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_research_min_tech_cost()

void comment_research_min_tech_cost ( struct section_file sfile)

Write research min_tech_cost settings header.

Definition at line 842 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_research_tech_cost_style()

void comment_research_tech_cost_style ( struct section_file sfile)

Write research tech_cost_style settings header.

Definition at line 824 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_research_tech_leakage()

void comment_research_tech_leakage ( struct section_file sfile)

Write research tech_leakage settings header.

Definition at line 851 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_research_upkeep_style()

void comment_research_upkeep_style ( struct section_file sfile)

Write research tech_upkeep_style settings header.

Definition at line 860 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_resources()

void comment_resources ( struct section_file sfile)

Write resources header.

Definition at line 384 of file comments.c.

Referenced by save_terrain_ruleset().

◆ comment_roads()

void comment_roads ( struct section_file sfile)

Write roads header.

Definition at line 408 of file comments.c.

Referenced by save_terrain_ruleset().

◆ comment_specialists()

void comment_specialists ( struct section_file sfile)

Write specialists header.

Definition at line 552 of file comments.c.

Referenced by save_cities_ruleset().

◆ comment_std_tileset_compat()

void comment_std_tileset_compat ( struct section_file sfile)

Write std_tileset_compat settings header.

Definition at line 915 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_styles()

void comment_styles ( struct section_file sfile)

Write styles header.

Definition at line 416 of file comments.c.

Referenced by save_styles_ruleset().

◆ comment_tech_classes()

void comment_tech_classes ( struct section_file sfile)

Write tech classes' header.

Definition at line 328 of file comments.c.

Referenced by save_techs_ruleset().

◆ comment_techs()

void comment_techs ( struct section_file sfile)

Write techs header.

Definition at line 336 of file comments.c.

Referenced by save_techs_ruleset().

◆ comment_terrains()

void comment_terrains ( struct section_file sfile)

Write terrains header.

Definition at line 376 of file comments.c.

Referenced by save_terrain_ruleset().

◆ comment_trade_settings()

void comment_trade_settings ( struct section_file sfile)

Write trade settings header.

Definition at line 520 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_uclasses()

void comment_uclasses ( struct section_file sfile)

Write unit classes header.

Definition at line 360 of file comments.c.

Referenced by save_units_ruleset().

◆ comment_ueffs()

void comment_ueffs ( struct section_file sfile)

Write User effects header.

Definition at line 448 of file comments.c.

Referenced by save_effects_ruleset().

◆ comment_uflags_building()

void comment_uflags_building ( struct section_file sfile)

Write header for building user flags.

Definition at line 512 of file comments.c.

Referenced by save_buildings_ruleset().

◆ comment_uflags_extra()

void comment_uflags_extra ( struct section_file sfile)

Write header for extra user flags.

Definition at line 496 of file comments.c.

◆ comment_uflags_tech()

void comment_uflags_tech ( struct section_file sfile)

Write header for tech user flags.

Definition at line 504 of file comments.c.

Referenced by save_techs_ruleset().

◆ comment_uflags_terrain()

void comment_uflags_terrain ( struct section_file sfile)

Write header for terrain user flags.

Definition at line 488 of file comments.c.

Referenced by save_terrain_ruleset().

◆ comment_uflags_uclass()

void comment_uflags_uclass ( struct section_file sfile)

Write header for unit class user flags.

Definition at line 480 of file comments.c.

◆ comment_uflags_utype()

void comment_uflags_utype ( struct section_file sfile)

Write header for unit type user flags.

Definition at line 472 of file comments.c.

Referenced by save_units_ruleset().

◆ comment_utypes()

void comment_utypes ( struct section_file sfile)

Write unit types header.

Definition at line 368 of file comments.c.

Referenced by save_units_ruleset().

◆ comment_wonder_visibility_small_wonders()

void comment_wonder_visibility_small_wonders ( struct section_file sfile)

Write wonder_visibility small_wonders settings header.

Definition at line 663 of file comments.c.

Referenced by save_game_ruleset().

◆ comment_world_peace_turns()

void comment_world_peace_turns ( struct section_file sfile)

Write world peace turns settings header.

Definition at line 896 of file comments.c.

Referenced by save_game_ruleset().

◆ comments_free()

void comments_free ( void  )

Free comments.

Definition at line 276 of file comments.c.

Referenced by main().

◆ comments_load()

bool comments_load ( void  )

Load comments to add to the saved rulesets.

Definition at line 109 of file comments.c.

Referenced by main().