Freeciv-3.3
Loading...
Searching...
No Matches
comments.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13#ifndef FC__COMMENTS_H
14#define FC__COMMENTS_H
15
16#ifdef __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19
20#define COMMENTS_FILE_NAME "comments-3.3.txt"
21
22struct section_file;
23
24bool comments_load(void);
25void comments_free(void);
26
27
28/* Section comments */
29void comment_file_header(struct section_file *sfile);
30
31void comment_buildings(struct section_file *sfile);
32void comment_tech_classes(struct section_file *sfile);
33void comment_techs(struct section_file *sfile);
34void comment_govs(struct section_file *sfile);
35void comment_policies(struct section_file *sfile);
36void comment_uclasses(struct section_file *sfile);
37void comment_utypes(struct section_file *sfile);
38void comment_terrains(struct section_file *sfile);
39void comment_resources(struct section_file *sfile);
40void comment_extras(struct section_file *sfile);
41void comment_bases(struct section_file *sfile);
42void comment_roads(struct section_file *sfile);
43void comment_styles(struct section_file *sfile);
44void comment_citystyles(struct section_file *sfile);
45void comment_musicstyles(struct section_file *sfile);
46void comment_effects(struct section_file *sfile);
47void comment_ueffs(struct section_file *sfile);
48void comment_disasters(struct section_file *sfile);
49void comment_achievements(struct section_file *sfile);
50void comment_goods(struct section_file *sfile);
51void comment_enablers(struct section_file *sfile);
52void comment_specialists(struct section_file *sfile);
53void comment_nationsets(struct section_file *sfile);
54void comment_nationgroups(struct section_file *sfile);
55void comment_nations(struct section_file *sfile);
56void comment_clauses(struct section_file *sfile);
57
58/* User (custom) flag types */
59void comment_uflags_utype(struct section_file *sfile);
60void comment_uflags_uclass(struct section_file *sfile);
61void comment_uflags_terrain(struct section_file *sfile);
62void comment_uflags_extra(struct section_file *sfile);
63void comment_uflags_tech(struct section_file *sfile);
64void comment_uflags_building(struct section_file *sfile);
65
66/* Other section comments */
67void comment_trade_settings(struct section_file *sfile);
68void comment_nations_ruledit(struct section_file *sfile);
69
70/* Entry comments */
71void comment_civstyle_granary(struct section_file *sfile);
78void comment_incite_cost(struct section_file *sfile);
90void comment_auto_attack(struct section_file *sfile);
91void comment_actions_ui_names(struct section_file *sfile);
103void comment_world_peace_turns(struct section_file *sfile);
104void comment_calendar_fragments(struct section_file *sfile);
105void comment_counters(struct section_file *sfile);
106
107#ifdef __cplusplus
108}
109#endif /* __cplusplus */
110
111#endif /* FC__COMMENTS_H */
void comments_free(void)
Definition comments.c:272
void comment_borders_radius_permanent(struct section_file *sfile)
Definition comments.c:811
void comment_uflags_utype(struct section_file *sfile)
Definition comments.c:468
void comment_uflags_uclass(struct section_file *sfile)
Definition comments.c:476
void comment_world_peace_turns(struct section_file *sfile)
Definition comments.c:892
void comment_combat_rules_nuke_defender_survival(struct section_file *sfile)
Definition comments.c:767
void comment_roads(struct section_file *sfile)
Definition comments.c:404
void comment_civstyle_granary(struct section_file *sfile)
Definition comments.c:597
void comment_research_tech_leakage(struct section_file *sfile)
Definition comments.c:847
void comment_actions_ui_names(struct section_file *sfile)
Definition comments.c:785
void comment_uclasses(struct section_file *sfile)
Definition comments.c:356
void comment_uflags_extra(struct section_file *sfile)
Definition comments.c:492
void comment_calendar_fragments(struct section_file *sfile)
Definition comments.c:901
void comment_actions_quiet_actions(struct section_file *sfile)
Definition comments.c:802
void comment_uflags_terrain(struct section_file *sfile)
Definition comments.c:484
void comment_citystyles(struct section_file *sfile)
Definition comments.c:420
void comment_govs(struct section_file *sfile)
Definition comments.c:340
void comment_combat_rules_low_fp_pearl_harbour(struct section_file *sfile)
Definition comments.c:728
void comment_research_base_tech_cost(struct section_file *sfile)
Definition comments.c:829
void comment_research_tech_cost_style(struct section_file *sfile)
Definition comments.c:820
void comment_combat_rules_only_killing_veteran(struct section_file *sfile)
Definition comments.c:678
void comment_bases(struct section_file *sfile)
Definition comments.c:396
void comment_terrains(struct section_file *sfile)
Definition comments.c:372
void comment_uflags_tech(struct section_file *sfile)
Definition comments.c:500
void comment_file_header(struct section_file *sfile)
Definition comments.c:308
void comment_effects(struct section_file *sfile)
Definition comments.c:436
void comment_actions_dc_initial_odds(struct section_file *sfile)
Definition comments.c:793
void comment_combat_rules_scaled_veterancy(struct section_file *sfile)
Definition comments.c:698
void comment_research_upkeep_style(struct section_file *sfile)
Definition comments.c:856
void comment_disasters(struct section_file *sfile)
Definition comments.c:452
void comment_clauses(struct section_file *sfile)
Definition comments.c:572
void comment_goods(struct section_file *sfile)
Definition comments.c:524
void comment_civstyle_gameloss_style(struct section_file *sfile)
Definition comments.c:615
void comment_civstyle_gold_upkeep_style(struct section_file *sfile)
Definition comments.c:624
void comment_extras(struct section_file *sfile)
Definition comments.c:388
void comment_combat_rules_low_fp_nonnat_bombard(struct section_file *sfile)
Definition comments.c:748
void comment_ueffs(struct section_file *sfile)
Definition comments.c:444
void comment_techs(struct section_file *sfile)
Definition comments.c:332
void comment_nations(struct section_file *sfile)
Definition comments.c:548
void comment_trade_settings(struct section_file *sfile)
Definition comments.c:516
void comment_combat_rules_low_fp_combat_bonus(struct section_file *sfile)
Definition comments.c:738
void comment_nations_ruledit(struct section_file *sfile)
Definition comments.c:589
void comment_civstyle_homeless_gold_upkeep(struct section_file *sfile)
Definition comments.c:633
void comment_nationgroups(struct section_file *sfile)
Definition comments.c:556
void comment_specialists(struct section_file *sfile)
Definition comments.c:540
void comment_musicstyles(struct section_file *sfile)
Definition comments.c:428
void comment_civstyle_airlift_always(struct section_file *sfile)
Definition comments.c:642
void comment_resources(struct section_file *sfile)
Definition comments.c:380
void comment_civstyle_ransom_gold(struct section_file *sfile)
Definition comments.c:606
void comment_tech_classes(struct section_file *sfile)
Definition comments.c:324
void comment_culture_migration_pml(struct section_file *sfile)
Definition comments.c:883
void comment_combat_rules_only_real_fight_veteran(struct section_file *sfile)
Definition comments.c:688
void comment_research_free_tech_method(struct section_file *sfile)
Definition comments.c:865
void comment_combat_rules_nuke_pop_loss(struct section_file *sfile)
Definition comments.c:758
void comment_utypes(struct section_file *sfile)
Definition comments.c:364
void comment_research_min_tech_cost(struct section_file *sfile)
Definition comments.c:838
bool comments_load(void)
Definition comments.c:106
void comment_culture_history_interest(struct section_file *sfile)
Definition comments.c:874
void comment_policies(struct section_file *sfile)
Definition comments.c:348
void comment_combat_rules_low_fp_badwallattacker(struct section_file *sfile)
Definition comments.c:718
void comment_achievements(struct section_file *sfile)
Definition comments.c:460
void comment_combat_rules_damage_reduces_bombard_rate(struct section_file *sfile)
Definition comments.c:708
void comment_counters(struct section_file *sfile)
Definition comments.c:580
void comment_styles(struct section_file *sfile)
Definition comments.c:412
void comment_combat_rules_tired_attack(struct section_file *sfile)
Definition comments.c:669
void comment_uflags_building(struct section_file *sfile)
Definition comments.c:508
void comment_buildings(struct section_file *sfile)
Definition comments.c:316
void comment_enablers(struct section_file *sfile)
Definition comments.c:532
void comment_nationsets(struct section_file *sfile)
Definition comments.c:564
void comment_wonder_visibility_small_wonders(struct section_file *sfile)
Definition comments.c:651
void comment_incite_cost(struct section_file *sfile)
Definition comments.c:660
void comment_auto_attack(struct section_file *sfile)
Definition comments.c:777