diff options
author | Paul Gilbert | 2019-09-30 19:05:48 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-09-30 19:05:48 -0700 |
commit | f4b12285d09dbf78c2e636483b0662c4ed400fad (patch) | |
tree | 109693809b9c4904f459ad95f2953f7d7c76de07 /engines/glk/quest/quest.h | |
parent | 13de2f177135b8f243d373c1aaa5367aaa9b1845 (diff) | |
download | scummvm-rg350-f4b12285d09dbf78c2e636483b0662c4ed400fad.tar.gz scummvm-rg350-f4b12285d09dbf78c2e636483b0662c4ed400fad.tar.bz2 scummvm-rg350-f4b12285d09dbf78c2e636483b0662c4ed400fad.zip |
GLK: QUEST: Support loading savegames from the launcher
Diffstat (limited to 'engines/glk/quest/quest.h')
-rw-r--r-- | engines/glk/quest/quest.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/glk/quest/quest.h b/engines/glk/quest/quest.h index ed8d60eb5f..ab6e8b8d9d 100644 --- a/engines/glk/quest/quest.h +++ b/engines/glk/quest/quest.h @@ -95,6 +95,11 @@ public: * Savegames aren't supported for Quest games */ virtual Common::Error writeGameData(Common::WriteStream *ws) override; + + /** + * Returns true if a savegame is being loaded directly from the ScummVM launcher + */ + bool loadingSavegame() const { return _saveSlot != -1; } }; extern Quest *g_vm; |