diff options
author | Filippos Karapetis | 2008-11-11 17:57:13 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-11-11 17:57:13 +0000 |
commit | 0414a78a65b3ae843ffa69f6966682498d3c32eb (patch) | |
tree | a938e619dc28f21968628ff75d2b2ceb942bd116 /engines/touche/touche.cpp | |
parent | 113a83c0da91cafdb2b3c9d73094a801311c940f (diff) | |
download | scummvm-rg350-0414a78a65b3ae843ffa69f6966682498d3c32eb.tar.gz scummvm-rg350-0414a78a65b3ae843ffa69f6966682498d3c32eb.tar.bz2 scummvm-rg350-0414a78a65b3ae843ffa69f6966682498d3c32eb.zip |
Added save/load support from the GMM for the touche engine
svn-id: r35008
Diffstat (limited to 'engines/touche/touche.cpp')
-rw-r--r-- | engines/touche/touche.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/touche/touche.cpp b/engines/touche/touche.cpp index 0033d80cb2..be211a34a1 100644 --- a/engines/touche/touche.cpp +++ b/engines/touche/touche.cpp @@ -3286,4 +3286,12 @@ void ToucheEngine::updatePalette() { _system->setPalette(_paletteBuffer, 0, 256); } +bool ToucheEngine::canLoadGameStateCurrently() { + return (_flagsTable[618] == 0 && !_hideInventoryTexts); +} + +bool ToucheEngine::canSaveGameStateCurrently() { + return (_flagsTable[618] == 0 && !_hideInventoryTexts); +} + } // namespace Touche |