Freeciv-3.3
Loading...
Searching...
No Matches
savemain.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__SAVEMAIN_H
14#define FC__SAVEMAIN_H
15
16/* utility */
17#include "support.h"
18
19struct section_file;
20
21void savegame_load(struct section_file *sfile);
22void savegame_save(struct section_file *sfile, const char *save_reason,
23 bool scenario);
24
25void save_game(const char *orig_filename, const char *save_reason,
26 bool scenario);
27
28void save_system_close(void);
29
30#endif /* FC__SAVEMAIN_H */
char * incite_cost
Definition comments.c:76
void savegame_load(struct section_file *sfile)
Definition savemain.c:43
void savegame_save(struct section_file *sfile, const char *save_reason, bool scenario)
Definition savemain.c:96
void save_system_close(void)
Definition savemain.c:329
void save_game(const char *orig_filename, const char *save_reason, bool scenario)
Definition savemain.c:143