|
Freeciv-3.1
|
#include "support.h"Go to the source code of this file.
Functions | |
| void | savegame_load (struct section_file *sfile) |
| void | savegame_save (struct section_file *sfile, const char *save_reason, bool scenario) |
| void | save_game (const char *orig_filename, const char *save_reason, bool scenario) |
| void | save_system_close (void) |
| void save_game | ( | const char * | orig_filename, |
| const char * | save_reason, | ||
| bool | scenario | ||
| ) |
Unconditionally save the game, with specified filename. Always prints a message: either save ok, or failed.
Definition at line 152 of file savemain.c.
Referenced by api_server_save(), handle_save_scenario(), save_command(), save_game_auto(), and scensave_command().
| void save_system_close | ( | void | ) |
Close saving system.
Definition at line 344 of file savemain.c.
Referenced by server_quit(), and srv_main().
| void savegame_load | ( | struct section_file * | sfile | ) |
Main entry point for loading a game.
Definition at line 44 of file savemain.c.
Referenced by load_command().
| void savegame_save | ( | struct section_file * | sfile, |
| const char * | save_reason, | ||
| bool | scenario | ||
| ) |
Main entry point for saving a game.
Definition at line 106 of file savemain.c.
Referenced by save_game().