34 std::string name, date, time;
56 std::string _saveName, _savePath;
61 std::vector<Target*> _targets;
62 std::vector<int> _targetDat;
63 std::vector<Soldier*> _soldiers;
64 std::vector<std::string> _aliens;
68 char *binaryBuffer(
const std::string &filename, std::vector<char> &buffer)
const;
70 template <
typename T>
void graphVector(std::vector<T> &vector,
int month,
bool year);
91 void loadDatMissions();
101 void loadDatSoldier();
103 void loadDatTransfer();
105 void loadDatResearch();
109 void loadDatProject();
113 void loadDatXBases();
115 static const int NUM_SAVES = 10;
~SaveConverter()
Cleans up the converter.
Definition: SaveConverter.cpp:108
SaveConverter(int save, Mod *mod)
Creates a converter for the specified save.
Definition: SaveConverter.cpp:94
Represents an ongoing alien mission.
Definition: AlienMission.h:46
The game data that gets written to disk when the game is saved.
Definition: SavedGame.h:99
Contains all the game-specific static data that never changes throughout the game, like rulesets and resources.
Definition: Mod.h:87
Container for savegame info displayed on listings.
Definition: SaveConverter.h:31
Represents game-specific contents needed for save convertion and ID matching.
Definition: RuleConverter.h:33
SavedGame * loadOriginal()
Loads an original X-COM save.
Definition: SaveConverter.cpp:163
Contains strings used throughout the game for localization.
Definition: Language.h:39
Represents a soldier hired by the player.
Definition: Soldier.h:48
Handles conversion operations for original X-COM savegames.
Definition: SaveConverter.h:53
static void getList(Language *lang, SaveOriginal info[NUM_SAVES])
Gets list of saves in the user directory.
Definition: SaveConverter.cpp:117
Base class for targets on the globe with a set of radian coordinates.
Definition: Target.h:35
Definition: BaseInfoState.cpp:40