aboutsummaryrefslogtreecommitdiff
path: root/libs/game_bethesda/src/games/fallout3/fallout3savegame.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/game_bethesda/src/games/fallout3/fallout3savegame.h')
-rw-r--r--libs/game_bethesda/src/games/fallout3/fallout3savegame.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/libs/game_bethesda/src/games/fallout3/fallout3savegame.h b/libs/game_bethesda/src/games/fallout3/fallout3savegame.h
new file mode 100644
index 0000000..2a33037
--- /dev/null
+++ b/libs/game_bethesda/src/games/fallout3/fallout3savegame.h
@@ -0,0 +1,23 @@
+#ifndef FALLOUT3SAVEGAME_H
+#define FALLOUT3SAVEGAME_H
+
+#include "gamebryosavegame.h"
+
+class GameFallout3;
+
+class Fallout3SaveGame : public GamebryoSaveGame
+{
+public:
+ Fallout3SaveGame(QString const& fileName, GameFallout3 const* game);
+
+protected:
+ // Fetch easy-to-access information.
+ void fetchInformationFields(FileWrapper& wrapper, uint32_t& width,
+ uint32_t& height, uint32_t& saveNumber,
+ QString& playerName, unsigned short& playerLevel,
+ QString& playerLocation) const;
+
+ std::unique_ptr<DataFields> fetchDataFields() const override;
+};
+
+#endif // FALLOUT3SAVEGAME_H