Freeciv-3.4
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.4.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_tiledefs(struct section_file *sfile);
44void comment_styles(struct section_file *sfile);
45void comment_citystyles(struct section_file *sfile);
46void comment_musicstyles(struct section_file *sfile);
47void comment_effects(struct section_file *sfile);
48void comment_ueffs(struct section_file *sfile);
49void comment_disasters(struct section_file *sfile);
50void comment_achievements(struct section_file *sfile);
51void comment_goods(struct section_file *sfile);
52void comment_actions(struct section_file *sfile);
53void comment_enablers(struct section_file *sfile);
54void comment_specialists(struct section_file *sfile);
55void comment_nationsets(struct section_file *sfile);
56void comment_nationgroups(struct section_file *sfile);
57void comment_nations(struct section_file *sfile);
58void comment_clauses(struct section_file *sfile);
59
60/* User (custom) flag types */
61void comment_uflags_utype(struct section_file *sfile);
62void comment_uflags_uclass(struct section_file *sfile);
63void comment_uflags_terrain(struct section_file *sfile);
64void comment_uflags_extra(struct section_file *sfile);
65void comment_uflags_tech(struct section_file *sfile);
66void comment_uflags_building(struct section_file *sfile);
67void comment_uflags_government(struct section_file *sfile);
68
69/* Other section comments */
70void comment_trade_settings(struct section_file *sfile);
71void comment_nations_ruledit(struct section_file *sfile);
72
73/* Entry comments */
74void comment_civstyle_granary(struct section_file *sfile);
80void comment_incite_cost(struct section_file *sfile);
92void comment_auto_attack(struct section_file *sfile);
104void comment_world_peace_turns(struct section_file *sfile);
105void comment_calendar_fragments(struct section_file *sfile);
106void comment_std_tileset_compat(struct section_file *sfile);
107void comment_counters(struct section_file *sfile);
108
109#ifdef __cplusplus
110}
111#endif /* __cplusplus */
112
113#endif /* FC__COMMENTS_H */
void comments_free(void)
Definition comments.c:278
void comment_borders_radius_permanent(struct section_file *sfile)
Definition comments.c:824
void comment_uflags_utype(struct section_file *sfile)
Definition comments.c:482
void comment_uflags_uclass(struct section_file *sfile)
Definition comments.c:490
void comment_world_peace_turns(struct section_file *sfile)
Definition comments.c:905
void comment_combat_rules_nuke_defender_survival(struct section_file *sfile)
Definition comments.c:788
void comment_roads(struct section_file *sfile)
Definition comments.c:410
void comment_civstyle_granary(struct section_file *sfile)
Definition comments.c:627
void comment_research_tech_leakage(struct section_file *sfile)
Definition comments.c:860
void comment_uclasses(struct section_file *sfile)
Definition comments.c:362
void comment_uflags_extra(struct section_file *sfile)
Definition comments.c:506
void comment_calendar_fragments(struct section_file *sfile)
Definition comments.c:914
void comment_actions_quiet_actions(struct section_file *sfile)
Definition comments.c:815
void comment_uflags_terrain(struct section_file *sfile)
Definition comments.c:498
void comment_combat_rules_low_fp_pearl_harbor(struct section_file *sfile)
Definition comments.c:749
void comment_citystyles(struct section_file *sfile)
Definition comments.c:434
void comment_std_tileset_compat(struct section_file *sfile)
Definition comments.c:924
void comment_govs(struct section_file *sfile)
Definition comments.c:346
void comment_tiledefs(struct section_file *sfile)
Definition comments.c:418
void comment_research_base_tech_cost(struct section_file *sfile)
Definition comments.c:842
void comment_research_tech_cost_style(struct section_file *sfile)
Definition comments.c:833
void comment_combat_rules_only_killing_veteran(struct section_file *sfile)
Definition comments.c:699
void comment_bases(struct section_file *sfile)
Definition comments.c:402
void comment_terrains(struct section_file *sfile)
Definition comments.c:378
void comment_uflags_tech(struct section_file *sfile)
Definition comments.c:514
void comment_file_header(struct section_file *sfile)
Definition comments.c:314
void comment_effects(struct section_file *sfile)
Definition comments.c:450
void comment_actions_dc_initial_odds(struct section_file *sfile)
Definition comments.c:806
void comment_combat_rules_scaled_veterancy(struct section_file *sfile)
Definition comments.c:719
void comment_research_upkeep_style(struct section_file *sfile)
Definition comments.c:869
void comment_disasters(struct section_file *sfile)
Definition comments.c:466
void comment_clauses(struct section_file *sfile)
Definition comments.c:602
void comment_goods(struct section_file *sfile)
Definition comments.c:546
void comment_civstyle_gameloss_style(struct section_file *sfile)
Definition comments.c:645
void comment_civstyle_gold_upkeep_style(struct section_file *sfile)
Definition comments.c:654
void comment_extras(struct section_file *sfile)
Definition comments.c:394
void comment_uflags_government(struct section_file *sfile)
Definition comments.c:530
void comment_combat_rules_low_fp_nonnat_bombard(struct section_file *sfile)
Definition comments.c:769
void comment_ueffs(struct section_file *sfile)
Definition comments.c:458
void comment_techs(struct section_file *sfile)
Definition comments.c:338
void comment_nations(struct section_file *sfile)
Definition comments.c:578
void comment_trade_settings(struct section_file *sfile)
Definition comments.c:538
void comment_combat_rules_low_fp_combat_bonus(struct section_file *sfile)
Definition comments.c:759
void comment_nations_ruledit(struct section_file *sfile)
Definition comments.c:619
void comment_nationgroups(struct section_file *sfile)
Definition comments.c:586
void comment_specialists(struct section_file *sfile)
Definition comments.c:570
void comment_musicstyles(struct section_file *sfile)
Definition comments.c:442
void comment_civstyle_airlift_always(struct section_file *sfile)
Definition comments.c:663
void comment_resources(struct section_file *sfile)
Definition comments.c:386
void comment_civstyle_ransom_gold(struct section_file *sfile)
Definition comments.c:636
void comment_tech_classes(struct section_file *sfile)
Definition comments.c:330
void comment_culture_migration_pml(struct section_file *sfile)
Definition comments.c:896
void comment_combat_rules_only_real_fight_veteran(struct section_file *sfile)
Definition comments.c:709
void comment_research_free_tech_method(struct section_file *sfile)
Definition comments.c:878
void comment_combat_rules_nuke_pop_loss(struct section_file *sfile)
Definition comments.c:779
void comment_utypes(struct section_file *sfile)
Definition comments.c:370
void comment_research_min_tech_cost(struct section_file *sfile)
Definition comments.c:851
bool comments_load(void)
Definition comments.c:110
void comment_culture_history_interest(struct section_file *sfile)
Definition comments.c:887
void comment_policies(struct section_file *sfile)
Definition comments.c:354
void comment_combat_rules_low_fp_badwallattacker(struct section_file *sfile)
Definition comments.c:739
void comment_achievements(struct section_file *sfile)
Definition comments.c:474
void comment_combat_rules_damage_reduces_bombard_rate(struct section_file *sfile)
Definition comments.c:729
void comment_actions(struct section_file *sfile)
Definition comments.c:554
void comment_counters(struct section_file *sfile)
Definition comments.c:610
void comment_styles(struct section_file *sfile)
Definition comments.c:426
void comment_combat_rules_tired_attack(struct section_file *sfile)
Definition comments.c:690
void comment_uflags_building(struct section_file *sfile)
Definition comments.c:522
void comment_buildings(struct section_file *sfile)
Definition comments.c:322
void comment_enablers(struct section_file *sfile)
Definition comments.c:562
void comment_nationsets(struct section_file *sfile)
Definition comments.c:594
void comment_wonder_visibility_small_wonders(struct section_file *sfile)
Definition comments.c:672
void comment_incite_cost(struct section_file *sfile)
Definition comments.c:681
void comment_auto_attack(struct section_file *sfile)
Definition comments.c:798