aboutsummaryrefslogtreecommitdiff
path: root/libs/game_bethesda/src/games/ttw/falloutttwsavegame.h
blob: f8460b39b67ac0b05ed071cc682f10b279728feb (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 FALLOUTTTWSAVEGAME_H
#define FALLOUTTTWSAVEGAME_H

#include "gamebryosavegame.h"

class GameFalloutTTW;

class FalloutTTWSaveGame : public GamebryoSaveGame
{
public:
  FalloutTTWSaveGame(QString const& fileName, GameFalloutTTW 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  // FALLOUTTTWSAVEGAME_H