![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include "support.h"
Include dependency graph for savemain.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | savegame_load (struct section_file *sfile) |
| Main entry point for loading a game. More... | |
| void | savegame_save (struct section_file *sfile, const char *save_reason, bool scenario) |
| Main entry point for saving a game. More... | |
| void | save_game (const char *orig_filename, const char *save_reason, bool scenario) |
| Unconditionally save the game, with specified filename. More... | |
| void | save_system_close () |
| Close saving system. More... | |
| 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 139 of file savemain.cpp.
Referenced by api_server_save(), handle_save_scenario(), save_command(), save_game_auto(), and scensave_command().
| void save_system_close | ( | ) |
Close saving system.
Definition at line 286 of file savemain.cpp.
Referenced by freeciv::server::shut_game_down().
| void savegame_load | ( | struct section_file * | sfile | ) |
Main entry point for loading a game.
Definition at line 46 of file savemain.cpp.
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 102 of file savemain.cpp.
Referenced by save_game().