![]() |
OpenXcom
1.0
Open-source clone of the original X-Com
|
Handles conversion operations for original X-COM savegames. More...
#include <SaveConverter.h>
Public Member Functions | |
SaveConverter (int save, Mod *mod) | |
Creates a converter for the specified save. More... | |
~SaveConverter () | |
Cleans up the converter. | |
SavedGame * | loadOriginal () |
Loads an original X-COM save. More... | |
Static Public Member Functions | |
static void | getList (Language *lang, SaveOriginal info[NUM_SAVES]) |
Gets list of saves in the user directory. More... | |
Handles conversion operations for original X-COM savegames.
OpenXcom::SaveConverter::SaveConverter | ( | int | save, |
Mod * | mod | ||
) |
Creates a converter for the specified save.
Creates a new converter for the given save folder.
save | Number of the save folder GAME_# |
mod | Mod to associate with this save. |
|
static |
Gets list of saves in the user directory.
Gets all the info of the saves found in the user folder.
lang | Loaded language. |
info | Returned list of saves info. |
SavedGame * OpenXcom::SaveConverter::loadOriginal | ( | ) |
Loads an original X-COM save.
Converts an original X-COM save into an OpenXcom save.