aboutsummaryrefslogtreecommitdiff
path: root/libs/game_bethesda/src/games/fallout3/fallout3savegame.h
blob: 2a330370b19337cccb487ea67dafa1ff6efaba53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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