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_actions(struct section_file *sfile);
52void comment_enablers(struct section_file *sfile);
53void comment_specialists(struct section_file *sfile);
54void comment_nationsets(struct section_file *sfile);
55void comment_nationgroups(struct section_file *sfile);
56void comment_nations(struct section_file *sfile);
57void comment_clauses(struct section_file *sfile);
58
59/* User (custom) flag types */
60void comment_uflags_utype(struct section_file *sfile);
61void comment_uflags_uclass(struct section_file *sfile);
62void comment_uflags_terrain(struct section_file *sfile);
63void comment_uflags_extra(struct section_file *sfile);
64void comment_uflags_tech(struct section_file *sfile);
65void comment_uflags_building(struct section_file *sfile);
66
67/* Other section comments */
68void comment_trade_settings(struct section_file *sfile);
69void comment_nations_ruledit(struct section_file *sfile);
70
71/* Entry comments */
72void comment_civstyle_granary(struct section_file *sfile);
79void comment_incite_cost(struct section_file *sfile);
91void comment_auto_attack(struct section_file *sfile);
103void comment_world_peace_turns(struct section_file *sfile);
104void comment_calendar_fragments(struct section_file *sfile);
105void comment_std_tileset_compat(struct section_file *sfile);
106void comment_counters(struct section_file *sfile);
107
108#ifdef __cplusplus
109}
110#endif /* __cplusplus */
111
112#endif /* FC__COMMENTS_H */
void comments_free(void)
Definition comments.c:276
void comment_borders_radius_permanent(struct section_file *sfile)
Definition comments.c:815
void comment_uflags_utype(struct section_file *sfile)
Definition comments.c:472
void comment_uflags_uclass(struct section_file *sfile)
Definition comments.c:480
void comment_world_peace_turns(struct section_file *sfile)
Definition comments.c:896
void comment_combat_rules_nuke_defender_survival(struct section_file *sfile)
Definition comments.c:779
void comment_roads(struct section_file *sfile)
Definition comments.c:408
void comment_civstyle_granary(struct section_file *sfile)
Definition comments.c:609
void comment_research_tech_leakage(struct section_file *sfile)
Definition comments.c:851
void comment_uclasses(struct section_file *sfile)
Definition comments.c:360
void comment_uflags_extra(struct section_file *sfile)
Definition comments.c:496
void comment_calendar_fragments(struct section_file *sfile)
Definition comments.c:905
void comment_actions_quiet_actions(struct section_file *sfile)
Definition comments.c:806
void comment_uflags_terrain(struct section_file *sfile)
Definition comments.c:488
void comment_combat_rules_low_fp_pearl_harbor(struct section_file *sfile)
Definition comments.c:740
void comment_citystyles(struct section_file *sfile)
Definition comments.c:424
void comment_std_tileset_compat(struct section_file *sfile)
Definition comments.c:915
void comment_govs(struct section_file *sfile)
Definition comments.c:344
void comment_research_base_tech_cost(struct section_file *sfile)
Definition comments.c:833
void comment_research_tech_cost_style(struct section_file *sfile)
Definition comments.c:824
void comment_combat_rules_only_killing_veteran(struct section_file *sfile)
Definition comments.c:690
void comment_bases(struct section_file *sfile)
Definition comments.c:400
void comment_terrains(struct section_file *sfile)
Definition comments.c:376
void comment_uflags_tech(struct section_file *sfile)
Definition comments.c:504
void comment_file_header(struct section_file *sfile)
Definition comments.c:312
void comment_effects(struct section_file *sfile)
Definition comments.c:440
void comment_actions_dc_initial_odds(struct section_file *sfile)
Definition comments.c:797
void comment_combat_rules_scaled_veterancy(struct section_file *sfile)
Definition comments.c:710
void comment_research_upkeep_style(struct section_file *sfile)
Definition comments.c:860
void comment_disasters(struct section_file *sfile)
Definition comments.c:456
void comment_clauses(struct section_file *sfile)
Definition comments.c:584
void comment_goods(struct section_file *sfile)
Definition comments.c:528
void comment_civstyle_gameloss_style(struct section_file *sfile)
Definition comments.c:627
void comment_civstyle_gold_upkeep_style(struct section_file *sfile)
Definition comments.c:636
void comment_extras(struct section_file *sfile)
Definition comments.c:392
void comment_combat_rules_low_fp_nonnat_bombard(struct section_file *sfile)
Definition comments.c:760
void comment_ueffs(struct section_file *sfile)
Definition comments.c:448
void comment_techs(struct section_file *sfile)
Definition comments.c:336
void comment_nations(struct section_file *sfile)
Definition comments.c:560
void comment_trade_settings(struct section_file *sfile)
Definition comments.c:520
void comment_combat_rules_low_fp_combat_bonus(struct section_file *sfile)
Definition comments.c:750
void comment_nations_ruledit(struct section_file *sfile)
Definition comments.c:601
void comment_civstyle_homeless_gold_upkeep(struct section_file *sfile)
Definition comments.c:645
void comment_nationgroups(struct section_file *sfile)
Definition comments.c:568
void comment_specialists(struct section_file *sfile)
Definition comments.c:552
void comment_musicstyles(struct section_file *sfile)
Definition comments.c:432
void comment_civstyle_airlift_always(struct section_file *sfile)
Definition comments.c:654
void comment_resources(struct section_file *sfile)
Definition comments.c:384
void comment_civstyle_ransom_gold(struct section_file *sfile)
Definition comments.c:618
void comment_tech_classes(struct section_file *sfile)
Definition comments.c:328
void comment_culture_migration_pml(struct section_file *sfile)
Definition comments.c:887
void comment_combat_rules_only_real_fight_veteran(struct section_file *sfile)
Definition comments.c:700
void comment_research_free_tech_method(struct section_file *sfile)
Definition comments.c:869
void comment_combat_rules_nuke_pop_loss(struct section_file *sfile)
Definition comments.c:770
void comment_utypes(struct section_file *sfile)
Definition comments.c:368
void comment_research_min_tech_cost(struct section_file *sfile)
Definition comments.c:842
bool comments_load(void)
Definition comments.c:109
void comment_culture_history_interest(struct section_file *sfile)
Definition comments.c:878
void comment_policies(struct section_file *sfile)
Definition comments.c:352
void comment_combat_rules_low_fp_badwallattacker(struct section_file *sfile)
Definition comments.c:730
void comment_achievements(struct section_file *sfile)
Definition comments.c:464
void comment_combat_rules_damage_reduces_bombard_rate(struct section_file *sfile)
Definition comments.c:720
void comment_actions(struct section_file *sfile)
Definition comments.c:536
void comment_counters(struct section_file *sfile)
Definition comments.c:592
void comment_styles(struct section_file *sfile)
Definition comments.c:416
void comment_combat_rules_tired_attack(struct section_file *sfile)
Definition comments.c:681
void comment_uflags_building(struct section_file *sfile)
Definition comments.c:512
void comment_buildings(struct section_file *sfile)
Definition comments.c:320
void comment_enablers(struct section_file *sfile)
Definition comments.c:544
void comment_nationsets(struct section_file *sfile)
Definition comments.c:576
void comment_wonder_visibility_small_wonders(struct section_file *sfile)
Definition comments.c:663
void comment_incite_cost(struct section_file *sfile)
Definition comments.c:672
void comment_auto_attack(struct section_file *sfile)
Definition comments.c:789