summaryrefslogtreecommitdiff
path: root/src/shared/gameinfo.h
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-11-28 14:53:32 +0000
committerThomas Tanner <trtanner@btinternet.com>2015-11-28 14:53:32 +0000
commit9e2bcffc32157b99a2d7364b869a4423ba827a32 (patch)
tree0983cb8b1b915c016d39b9e2632562fcc813b40b /src/shared/gameinfo.h
parentca54ee2e9a8f1d49d81d5c3b66a860b9b16992d6 (diff)
Reworked startup considerably so now no longer dependant on GameInfo
Did some const correctness to the "managed_game" property as you shouldn't really be altering the plugin details whilst MO is running
Diffstat (limited to 'src/shared/gameinfo.h')
-rw-r--r--src/shared/gameinfo.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/shared/gameinfo.h b/src/shared/gameinfo.h
index de3af8b4..55161952 100644
--- a/src/shared/gameinfo.h
+++ b/src/shared/gameinfo.h
@@ -58,13 +58,10 @@ public:
// get a list of file extensions for additional files belonging to a save game
virtual std::vector<std::wstring> getSavegameAttachmentExtensions() = 0;
- //**Currently only used in a nasty mess at initialisation time.
- virtual std::wstring getGameName() const = 0;
-
- //**USED IN HOOKDLL and in initialisation
+ //**USED IN HOOKDLL
virtual std::wstring getGameDirectory() const;
- //**USED IN HOOKDLL and initialisation
+ //**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 &gamePath = L"");