Freeciv-3.2
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.2.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_calendar_fragments(struct section_file *sfile);
104void comment_counters(struct section_file *sfile);
105
106#ifdef __cplusplus
107}
108#endif /* __cplusplus */
109
110#endif /* FC__COMMENTS_H */
void comments_free(void)
Definition comments.c:269
void comment_borders_radius_permanent(struct section_file *sfile)
Definition comments.c:808
void comment_uflags_utype(struct section_file *sfile)
Definition comments.c:465
void comment_uflags_uclass(struct section_file *sfile)
Definition comments.c:473
void comment_combat_rules_nuke_defender_survival(struct section_file *sfile)
Definition comments.c:764
void comment_roads(struct section_file *sfile)
Definition comments.c:401
void comment_civstyle_granary(struct section_file *sfile)
Definition comments.c:594
void comment_research_tech_leakage(struct section_file *sfile)
Definition comments.c:844
void comment_actions_ui_names(struct section_file *sfile)
Definition comments.c:782
void comment_uclasses(struct section_file *sfile)
Definition comments.c:353
void comment_uflags_extra(struct section_file *sfile)
Definition comments.c:489
void comment_calendar_fragments(struct section_file *sfile)
Definition comments.c:888
void comment_actions_quiet_actions(struct section_file *sfile)
Definition comments.c:799
void comment_uflags_terrain(struct section_file *sfile)
Definition comments.c:481
void comment_citystyles(struct section_file *sfile)
Definition comments.c:417
void comment_govs(struct section_file *sfile)
Definition comments.c:337
void comment_combat_rules_low_fp_pearl_harbour(struct section_file *sfile)
Definition comments.c:725
void comment_research_base_tech_cost(struct section_file *sfile)
Definition comments.c:826
void comment_research_tech_cost_style(struct section_file *sfile)
Definition comments.c:817
void comment_combat_rules_only_killing_veteran(struct section_file *sfile)
Definition comments.c:675
void comment_bases(struct section_file *sfile)
Definition comments.c:393
void comment_terrains(struct section_file *sfile)
Definition comments.c:369
void comment_uflags_tech(struct section_file *sfile)
Definition comments.c:497
void comment_file_header(struct section_file *sfile)
Definition comments.c:305
void comment_effects(struct section_file *sfile)
Definition comments.c:433
void comment_actions_dc_initial_odds(struct section_file *sfile)
Definition comments.c:790
void comment_combat_rules_scaled_veterancy(struct section_file *sfile)
Definition comments.c:695
void comment_research_upkeep_style(struct section_file *sfile)
Definition comments.c:853
void comment_disasters(struct section_file *sfile)
Definition comments.c:449
void comment_clauses(struct section_file *sfile)
Definition comments.c:569
void comment_goods(struct section_file *sfile)
Definition comments.c:521
void comment_civstyle_gameloss_style(struct section_file *sfile)
Definition comments.c:612
void comment_civstyle_gold_upkeep_style(struct section_file *sfile)
Definition comments.c:621
void comment_extras(struct section_file *sfile)
Definition comments.c:385
void comment_combat_rules_low_fp_nonnat_bombard(struct section_file *sfile)
Definition comments.c:745
void comment_ueffs(struct section_file *sfile)
Definition comments.c:441
void comment_techs(struct section_file *sfile)
Definition comments.c:329
void comment_nations(struct section_file *sfile)
Definition comments.c:545
void comment_trade_settings(struct section_file *sfile)
Definition comments.c:513
void comment_combat_rules_low_fp_combat_bonus(struct section_file *sfile)
Definition comments.c:735
void comment_nations_ruledit(struct section_file *sfile)
Definition comments.c:586
void comment_civstyle_homeless_gold_upkeep(struct section_file *sfile)
Definition comments.c:630
void comment_nationgroups(struct section_file *sfile)
Definition comments.c:553
void comment_specialists(struct section_file *sfile)
Definition comments.c:537
void comment_musicstyles(struct section_file *sfile)
Definition comments.c:425
void comment_civstyle_airlift_always(struct section_file *sfile)
Definition comments.c:639
void comment_resources(struct section_file *sfile)
Definition comments.c:377
void comment_civstyle_ransom_gold(struct section_file *sfile)
Definition comments.c:603
void comment_tech_classes(struct section_file *sfile)
Definition comments.c:321
void comment_culture_migration_pml(struct section_file *sfile)
Definition comments.c:879
void comment_combat_rules_only_real_fight_veteran(struct section_file *sfile)
Definition comments.c:685
void comment_research_free_tech_method(struct section_file *sfile)
Definition comments.c:862
void comment_combat_rules_nuke_pop_loss(struct section_file *sfile)
Definition comments.c:755
void comment_utypes(struct section_file *sfile)
Definition comments.c:361
void comment_research_min_tech_cost(struct section_file *sfile)
Definition comments.c:835
bool comments_load(void)
Definition comments.c:105
void comment_culture_history_interest(struct section_file *sfile)
Definition comments.c:871
void comment_policies(struct section_file *sfile)
Definition comments.c:345
void comment_combat_rules_low_fp_badwallattacker(struct section_file *sfile)
Definition comments.c:715
void comment_achievements(struct section_file *sfile)
Definition comments.c:457
void comment_combat_rules_damage_reduces_bombard_rate(struct section_file *sfile)
Definition comments.c:705
void comment_counters(struct section_file *sfile)
Definition comments.c:577
void comment_styles(struct section_file *sfile)
Definition comments.c:409
void comment_combat_rules_tired_attack(struct section_file *sfile)
Definition comments.c:666
void comment_uflags_building(struct section_file *sfile)
Definition comments.c:505
void comment_buildings(struct section_file *sfile)
Definition comments.c:313
void comment_enablers(struct section_file *sfile)
Definition comments.c:529
void comment_nationsets(struct section_file *sfile)
Definition comments.c:561
void comment_wonder_visibility_small_wonders(struct section_file *sfile)
Definition comments.c:648
void comment_incite_cost(struct section_file *sfile)
Definition comments.c:657
void comment_auto_attack(struct section_file *sfile)
Definition comments.c:774