Freeciv-3.1: /fast/freeciv/nightly/S3_1/tools/ruleutil/comments.h File Reference

Freeciv-3.1

Loading...
Searching...
No Matches
Macros | Functions
comments.h File Reference

Go to the source code of this file.

## Macros

#define | COMMENTS_FILE_NAME "comments-3.1.txt"

## Functions

bool | comments_load (void)
void | comments_free (void)
void | comment_file_header (struct section_file *sfile)
void | comment_buildings (struct section_file *sfile)
void | comment_tech_classes (struct section_file *sfile)
void | comment_techs (struct section_file *sfile)
void | comment_govs (struct section_file *sfile)
void | comment_policies (struct section_file *sfile)
void | comment_uclasses (struct section_file *sfile)
void | comment_utypes (struct section_file *sfile)
void | comment_terrains (struct section_file *sfile)
void | comment_resources (struct section_file *sfile)
void | comment_extras (struct section_file *sfile)
void | comment_bases (struct section_file *sfile)
void | comment_roads (struct section_file *sfile)
void | comment_styles (struct section_file *sfile)
void | comment_citystyles (struct section_file *sfile)
void | comment_musicstyles (struct section_file *sfile)
void | comment_effects (struct section_file *sfile)
void | comment_disasters (struct section_file *sfile)
void | comment_achievements (struct section_file *sfile)
void | comment_goods (struct section_file *sfile)
void | comment_enablers (struct section_file *sfile)
void | comment_specialists (struct section_file *sfile)
void | comment_nationsets (struct section_file *sfile)
void | comment_nationgroups (struct section_file *sfile)
void | comment_nations (struct section_file *sfile)
void | comment_clauses (struct section_file *sfile)
void | comment_trade_settings (struct section_file *sfile)
void | comment_nations_ruledit (struct section_file *sfile)

## Macro Definition Documentation

## ◆ COMMENTS_FILE_NAME

#define COMMENTS_FILE_NAME "comments-3.1.txt"

Definition at line 20 of file comments.h.

## Function Documentation

## ◆ comment_achievements()

void comment_achievements | ( | struct section_file * | sfile | ) |

Write achievements header.

Definition at line 308 of file comments.c.

Referenced by save_game_ruleset().

## ◆ comment_bases()

void comment_bases | ( | struct section_file * | sfile | ) |

Write bases header.

Definition at line 252 of file comments.c.

Referenced by save_terrain_ruleset().

## ◆ comment_buildings()

void comment_buildings | ( | struct section_file * | sfile | ) |

Write buildings header.

Definition at line 172 of file comments.c.

Referenced by save_buildings_ruleset().

## ◆ comment_citystyles()

void comment_citystyles | ( | struct section_file * | sfile | ) |

Write city styles header.

Definition at line 276 of file comments.c.

Referenced by save_styles_ruleset().

## ◆ comment_clauses()

void comment_clauses | ( | struct section_file * | sfile | ) |

Write clauses header.

Definition at line 372 of file comments.c.

Referenced by save_game_ruleset().

## ◆ comment_disasters()

void comment_disasters | ( | struct section_file * | sfile | ) |

Write disasters header.

Definition at line 300 of file comments.c.

Referenced by save_game_ruleset().

## ◆ comment_effects()

void comment_effects | ( | struct section_file * | sfile | ) |

Write effects header.

Definition at line 292 of file comments.c.

Referenced by save_effects_ruleset().

## ◆ comment_enablers()

void comment_enablers | ( | struct section_file * | sfile | ) |

Write action enablers header.

Definition at line 332 of file comments.c.

Referenced by save_game_ruleset().

## ◆ comment_extras()

void comment_extras | ( | struct section_file * | sfile | ) |

Write extras header.

Definition at line 244 of file comments.c.

Referenced by save_terrain_ruleset().

## ◆ comment_file_header()

void comment_file_header | ( | struct section_file * | sfile | ) |

Write file header.

Definition at line 164 of file comments.c.

Referenced by create_ruleset_file().

## ◆ comment_goods()

void comment_goods | ( | struct section_file * | sfile | ) |

Write goods header.

Definition at line 324 of file comments.c.

Referenced by save_game_ruleset().

## ◆ comment_govs()

void comment_govs | ( | struct section_file * | sfile | ) |

Write governments header.

Definition at line 196 of file comments.c.

Referenced by save_governments_ruleset().

## ◆ comment_musicstyles()

void comment_musicstyles | ( | struct section_file * | sfile | ) |

Write music styles header.

Definition at line 284 of file comments.c.

Referenced by save_styles_ruleset().

## ◆ comment_nationgroups()

void comment_nationgroups | ( | struct section_file * | sfile | ) |

Write nationgroups header.

Definition at line 356 of file comments.c.

Referenced by save_nations_ruleset().

## ◆ comment_nations()

void comment_nations | ( | struct section_file * | sfile | ) |

Write nations header.

Definition at line 348 of file comments.c.

Referenced by save_nations_ruleset().

## ◆ comment_nations_ruledit()

void comment_nations_ruledit | ( | struct section_file * | sfile | ) |

Write nations.ruleset [ruledit] section header.

Definition at line 380 of file comments.c.

Referenced by save_nations_ruleset().

## ◆ comment_nationsets()

void comment_nationsets | ( | struct section_file * | sfile | ) |

Write nationsets header.

Definition at line 364 of file comments.c.

Referenced by save_nations_ruleset().

## ◆ comment_policies()

void comment_policies | ( | struct section_file * | sfile | ) |

Write policies header.

Definition at line 204 of file comments.c.

Referenced by save_governments_ruleset().

## ◆ comment_resources()

void comment_resources | ( | struct section_file * | sfile | ) |

Write resources header.

Definition at line 236 of file comments.c.

Referenced by save_terrain_ruleset().

## ◆ comment_roads()

void comment_roads | ( | struct section_file * | sfile | ) |

Write roads header.

Definition at line 260 of file comments.c.

Referenced by save_terrain_ruleset().

## ◆ comment_specialists()

void comment_specialists | ( | struct section_file * | sfile | ) |

Write specialists header.

Definition at line 340 of file comments.c.

Referenced by save_cities_ruleset().

## ◆ comment_styles()

void comment_styles | ( | struct section_file * | sfile | ) |

Write styles header.

Definition at line 268 of file comments.c.

Referenced by save_styles_ruleset().

## ◆ comment_tech_classes()

void comment_tech_classes | ( | struct section_file * | sfile | ) |

Write tech classes' header.

Definition at line 180 of file comments.c.

Referenced by save_techs_ruleset().

## ◆ comment_techs()

void comment_techs | ( | struct section_file * | sfile | ) |

Write techs header.

Definition at line 188 of file comments.c.

Referenced by save_techs_ruleset().

## ◆ comment_terrains()

void comment_terrains | ( | struct section_file * | sfile | ) |

Write terrains header.

Definition at line 228 of file comments.c.

Referenced by save_terrain_ruleset().

## ◆ comment_trade_settings()

void comment_trade_settings | ( | struct section_file * | sfile | ) |

Write trade settings header.

Definition at line 316 of file comments.c.

Referenced by save_game_ruleset().

## ◆ comment_uclasses()

void comment_uclasses | ( | struct section_file * | sfile | ) |

Write unit classes header.

Definition at line 212 of file comments.c.

Referenced by save_units_ruleset().

## ◆ comment_utypes()

void comment_utypes | ( | struct section_file * | sfile | ) |

Write unit types header.

Definition at line 220 of file comments.c.

Referenced by save_units_ruleset().

## ◆ comments_free()

void comments_free | ( | void |  | ) |

Free comments.

Definition at line 142 of file comments.c.

Referenced by main().

## ◆ comments_load()

bool comments_load | ( | void |  | ) |

Load comments to add to the saved rulesets.

Definition at line 61 of file comments.c.

Referenced by main().