diff options
| author | Thomas Tanner <trtanner@btinternet.com> | 2015-12-05 06:51:57 +0000 |
|---|---|---|
| committer | Thomas Tanner <trtanner@btinternet.com> | 2015-12-05 06:51:57 +0000 |
| commit | c07e48075e86c855f147e084a50ee1c7f0c00e40 (patch) | |
| tree | 56ac9ee364e9a83a6b766487d65d20331ac289ad /src/shared | |
| parent | c236078aa1d3b756aaabd2f2c1d28d7474de3c2d (diff) | |
Most of work for savegame
Diffstat (limited to 'src/shared')
| -rw-r--r-- | src/shared/fallout3info.h | 2 | ||||
| -rw-r--r-- | src/shared/falloutnvinfo.h | 2 | ||||
| -rw-r--r-- | src/shared/gameinfo.h | 12 | ||||
| -rw-r--r-- | src/shared/oblivioninfo.h | 2 | ||||
| -rw-r--r-- | src/shared/skyriminfo.h | 2 |
5 files changed, 0 insertions, 20 deletions
diff --git a/src/shared/fallout3info.h b/src/shared/fallout3info.h index 69eb9c45..489ac038 100644 --- a/src/shared/fallout3info.h +++ b/src/shared/fallout3info.h @@ -38,8 +38,6 @@ public: static std::wstring getRegPathStatic();
virtual std::wstring getRegPath() { return getRegPathStatic(); }
- virtual GameInfo::Type getType() { return TYPE_FALLOUT3; }
-
virtual std::vector<std::wstring> getSavegameAttachmentExtensions();
// file name of this games ini (no path)
diff --git a/src/shared/falloutnvinfo.h b/src/shared/falloutnvinfo.h index a7ee089e..a0bc5bd4 100644 --- a/src/shared/falloutnvinfo.h +++ b/src/shared/falloutnvinfo.h @@ -38,8 +38,6 @@ public: static std::wstring getRegPathStatic();
virtual std::wstring getRegPath() { return getRegPathStatic(); }
- virtual GameInfo::Type getType() { return TYPE_FALLOUTNV; }
-
virtual std::vector<std::wstring> getSavegameAttachmentExtensions();
// file name of this games ini (no path)
diff --git a/src/shared/gameinfo.h b/src/shared/gameinfo.h index 01d51f8a..9e6a35ef 100644 --- a/src/shared/gameinfo.h +++ b/src/shared/gameinfo.h @@ -40,24 +40,12 @@ class GameInfo public:
- enum Type {
- TYPE_OBLIVION,
- TYPE_FALLOUT3,
- TYPE_FALLOUTNV,
- TYPE_SKYRIM
- };
-
-public:
-
virtual ~GameInfo() {}
//**USED IN HOOKDLL and savegame code
static GameInfo& instance();
//**Used only in savegame which needs refactoring a lot.
- virtual GameInfo::Type getType() = 0;
-
- //**Used only in savegame which needs refactoring a lot.
// get a list of file extensions for additional files belonging to a save game
virtual std::vector<std::wstring> getSavegameAttachmentExtensions() = 0;
diff --git a/src/shared/oblivioninfo.h b/src/shared/oblivioninfo.h index e0a861bf..1e48b742 100644 --- a/src/shared/oblivioninfo.h +++ b/src/shared/oblivioninfo.h @@ -36,8 +36,6 @@ public: static std::wstring getRegPathStatic();
virtual std::wstring getRegPath() { return getRegPathStatic(); }
- virtual GameInfo::Type getType() { return TYPE_OBLIVION; }
-
virtual std::vector<std::wstring> getSavegameAttachmentExtensions();
// file name of this games ini (no path)
diff --git a/src/shared/skyriminfo.h b/src/shared/skyriminfo.h index 17b542ab..ce2510f1 100644 --- a/src/shared/skyriminfo.h +++ b/src/shared/skyriminfo.h @@ -38,8 +38,6 @@ public: static std::wstring getRegPathStatic();
virtual std::wstring getRegPath() { return getRegPathStatic(); }
- virtual GameInfo::Type getType() { return TYPE_SKYRIM; }
-
virtual std::vector<std::wstring> getSavegameAttachmentExtensions();
// file name of this games ini (no path)
|
