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:270
void comment_borders_radius_permanent(struct section_file *sfile)
Definition comments.c:809
void comment_uflags_utype(struct section_file *sfile)
Definition comments.c:466
void comment_uflags_uclass(struct section_file *sfile)
Definition comments.c:474
void comment_combat_rules_nuke_defender_survival(struct section_file *sfile)
Definition comments.c:765
void comment_roads(struct section_file *sfile)
Definition comments.c:402
void comment_civstyle_granary(struct section_file *sfile)
Definition comments.c:595
void comment_research_tech_leakage(struct section_file *sfile)
Definition comments.c:845
void comment_actions_ui_names(struct section_file *sfile)
Definition comments.c:783
void comment_uclasses(struct section_file *sfile)
Definition comments.c:354
void comment_uflags_extra(struct section_file *sfile)
Definition comments.c:490
void comment_calendar_fragments(struct section_file *sfile)
Definition comments.c:889
void comment_actions_quiet_actions(struct section_file *sfile)
Definition comments.c:800
void comment_uflags_terrain(struct section_file *sfile)
Definition comments.c:482
void comment_citystyles(struct section_file *sfile)
Definition comments.c:418
void comment_govs(struct section_file *sfile)
Definition comments.c:338
void comment_combat_rules_low_fp_pearl_harbour(struct section_file *sfile)
Definition comments.c:726
void comment_research_base_tech_cost(struct section_file *sfile)
Definition comments.c:827
void comment_research_tech_cost_style(struct section_file *sfile)
Definition comments.c:818
void comment_combat_rules_only_killing_veteran(struct section_file *sfile)
Definition comments.c:676
void comment_bases(struct section_file *sfile)
Definition comments.c:394
void comment_terrains(struct section_file *sfile)
Definition comments.c:370
void comment_uflags_tech(struct section_file *sfile)
Definition comments.c:498
void comment_file_header(struct section_file *sfile)
Definition comments.c:306
void comment_effects(struct section_file *sfile)
Definition comments.c:434
void comment_actions_dc_initial_odds(struct section_file *sfile)
Definition comments.c:791
void comment_combat_rules_scaled_veterancy(struct section_file *sfile)
Definition comments.c:696
void comment_research_upkeep_style(struct section_file *sfile)
Definition comments.c:854
void comment_disasters(struct section_file *sfile)
Definition comments.c:450
void comment_clauses(struct section_file *sfile)
Definition comments.c:570
void comment_goods(struct section_file *sfile)
Definition comments.c:522
void comment_civstyle_gameloss_style(struct section_file *sfile)
Definition comments.c:613
void comment_civstyle_gold_upkeep_style(struct section_file *sfile)
Definition comments.c:622
void comment_extras(struct section_file *sfile)
Definition comments.c:386
void comment_combat_rules_low_fp_nonnat_bombard(struct section_file *sfile)
Definition comments.c:746
void comment_ueffs(struct section_file *sfile)
Definition comments.c:442
void comment_techs(struct section_file *sfile)
Definition comments.c:330
void comment_nations(struct section_file *sfile)
Definition comments.c:546
void comment_trade_settings(struct section_file *sfile)
Definition comments.c:514
void comment_combat_rules_low_fp_combat_bonus(struct section_file *sfile)
Definition comments.c:736
void comment_nations_ruledit(struct section_file *sfile)
Definition comments.c:587
void comment_civstyle_homeless_gold_upkeep(struct section_file *sfile)
Definition comments.c:631
void comment_nationgroups(struct section_file *sfile)
Definition comments.c:554
void comment_specialists(struct section_file *sfile)
Definition comments.c:538
void comment_musicstyles(struct section_file *sfile)
Definition comments.c:426
void comment_civstyle_airlift_always(struct section_file *sfile)
Definition comments.c:640
void comment_resources(struct section_file *sfile)
Definition comments.c:378
void comment_civstyle_ransom_gold(struct section_file *sfile)
Definition comments.c:604
void comment_tech_classes(struct section_file *sfile)
Definition comments.c:322
void comment_culture_migration_pml(struct section_file *sfile)
Definition comments.c:880
void comment_combat_rules_only_real_fight_veteran(struct section_file *sfile)
Definition comments.c:686
void comment_research_free_tech_method(struct section_file *sfile)
Definition comments.c:863
void comment_combat_rules_nuke_pop_loss(struct section_file *sfile)
Definition comments.c:756
void comment_utypes(struct section_file *sfile)
Definition comments.c:362
void comment_research_min_tech_cost(struct section_file *sfile)
Definition comments.c:836
bool comments_load(void)
Definition comments.c:106
void comment_culture_history_interest(struct section_file *sfile)
Definition comments.c:872
void comment_policies(struct section_file *sfile)
Definition comments.c:346
void comment_combat_rules_low_fp_badwallattacker(struct section_file *sfile)
Definition comments.c:716
void comment_achievements(struct section_file *sfile)
Definition comments.c:458
void comment_combat_rules_damage_reduces_bombard_rate(struct section_file *sfile)
Definition comments.c:706
void comment_counters(struct section_file *sfile)
Definition comments.c:578
void comment_styles(struct section_file *sfile)
Definition comments.c:410
void comment_combat_rules_tired_attack(struct section_file *sfile)
Definition comments.c:667
void comment_uflags_building(struct section_file *sfile)
Definition comments.c:506
void comment_buildings(struct section_file *sfile)
Definition comments.c:314
void comment_enablers(struct section_file *sfile)
Definition comments.c:530
void comment_nationsets(struct section_file *sfile)
Definition comments.c:562
void comment_wonder_visibility_small_wonders(struct section_file *sfile)
Definition comments.c:649
void comment_incite_cost(struct section_file *sfile)
Definition comments.c:658
void comment_auto_attack(struct section_file *sfile)
Definition comments.c:775