aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/scripting/controls/save_control.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2014-12-08 01:25:27 +0200
committerFilippos Karapetis2014-12-08 01:25:27 +0200
commitecb1979245fb6695a68286a59f5eaf2c3677b579 (patch)
tree54f05e27fdc3492eb4b5820164186435a78145ae /engines/zvision/scripting/controls/save_control.cpp
parenta2eaf78255d6a92f8d93e2a3e8907f60c2e6e699 (diff)
downloadscummvm-rg350-ecb1979245fb6695a68286a59f5eaf2c3677b579.tar.gz
scummvm-rg350-ecb1979245fb6695a68286a59f5eaf2c3677b579.tar.bz2
scummvm-rg350-ecb1979245fb6695a68286a59f5eaf2c3677b579.zip
ZVISION: Implement more advanced engine features
Save game thumbnails and save game creation date have now been implemented
Diffstat (limited to 'engines/zvision/scripting/controls/save_control.cpp')
-rw-r--r--engines/zvision/scripting/controls/save_control.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/zvision/scripting/controls/save_control.cpp b/engines/zvision/scripting/controls/save_control.cpp
index ad01257e6b..d773b5fc6f 100644
--- a/engines/zvision/scripting/controls/save_control.cpp
+++ b/engines/zvision/scripting/controls/save_control.cpp
@@ -101,6 +101,8 @@ bool SaveControl::process(uint32 deltaTimeInMillis) {
toSave = false;
if (toSave) {
+ // FIXME: At this point, the screen shows the save control, so the save game thumbnails will always
+ // show the save control
_engine->getSaveManager()->saveGameBuffered(iter->saveId, inp->getText());
_engine->delayedMessage(_engine->getStringManager()->getTextLine(StringManager::ZVISION_STR_SAVED), 2000);
_engine->getScriptManager()->changeLocation(_engine->getScriptManager()->getLastMenuLocation());