diff options
| author | Thomas Tanner <trtanner@btinternet.com> | 2015-11-20 19:34:09 +0000 |
|---|---|---|
| committer | Thomas Tanner <trtanner@btinternet.com> | 2015-11-20 19:34:09 +0000 |
| commit | f339cc8431c0a7b6a4d514599e6fa57a75eb6495 (patch) | |
| tree | 0d7ac1ea36b3819a6c4f0d0538dbf3c4d7d76245 /src/shared/gameinfo.h | |
| parent | 49de6e8d2555234c5da132c5fc35287083fe7ef7 (diff) | |
Member variable unused so removed it.
Leaves one asking *why* the datapath can be inside the game directory.
Diffstat (limited to 'src/shared/gameinfo.h')
| -rw-r--r-- | src/shared/gameinfo.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/shared/gameinfo.h b/src/shared/gameinfo.h index 1d4b050b..47a5e767 100644 --- a/src/shared/gameinfo.h +++ b/src/shared/gameinfo.h @@ -100,14 +100,14 @@ public: //**USED IN HOOKDLL
// initialise with the path to the mo directory (needs to be where hook.dll is stored). This
// needs to be called before the instance can be retrieved
- static bool init(const std::wstring &moDirectory, const std::wstring &moDataDirectory, const std::wstring &gamePath = L"");
+ static bool init(const std::wstring &moDirectory, const std::wstring &gamePath = L"");
//**USED IN HOOKDLL
static GameInfo& instance();
protected:
- GameInfo(const std::wstring &moDataDirectory, const std::wstring &gameDirectory);
+ GameInfo(const std::wstring &gameDirectory);
std::wstring getLocalAppFolder() const;
const std::wstring &getMyGamesDirectory() const { return m_MyGamesDirectory; }
@@ -115,7 +115,7 @@ protected: private:
- static bool identifyGame(const std::wstring &moDataDirectory, const std::wstring &searchPath);
+ static bool identifyGame(const std::wstring &searchPath);
std::wstring getSpecialPath(LPCWSTR name) const;
static void cleanup();
@@ -127,7 +127,6 @@ private: std::wstring m_MyGamesDirectory;
std::wstring m_GameDirectory;
- std::wstring m_OrganizerDataDirectory;
};
|
