|
Freeciv-3.2
|
#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_restore_sane_state (void) |
Unconditionally save the game, with specified filename. Always prints a message: either save ok, or failed.
Definition at line 155 of file savemain.c.
Referenced by api_server_save(), handle_save_scenario(), save_command(), save_game_auto(), and scensave_command().
Restore the server to sane state after savegame loading failure.
Definition at line 353 of file savemain.c.
Referenced by savegame2_load(), savegame3_load(), and savegame_load().
Close saving system.
Definition at line 341 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 45 of file savemain.c.
Referenced by load_command().
Main entry point for saving a game.
Definition at line 109 of file savemain.c.
Referenced by save_game().