diff options
author | Paul Gilbert | 2011-10-14 20:49:06 +1100 |
---|---|---|
committer | Paul Gilbert | 2011-10-14 20:49:06 +1100 |
commit | 2ac551aa28dd0c7b339516a53135d6195ec0666f (patch) | |
tree | e3790ceade166f7d0d0a96fd1a73fbf598fef509 /engines/tsage/blue_force/blueforce_logic.cpp | |
parent | 6811a3daffc2743d2d733050be9306dcbf419214 (diff) | |
download | scummvm-rg350-2ac551aa28dd0c7b339516a53135d6195ec0666f.tar.gz scummvm-rg350-2ac551aa28dd0c7b339516a53135d6195ec0666f.tar.bz2 scummvm-rg350-2ac551aa28dd0c7b339516a53135d6195ec0666f.zip |
TSAGE: Bugfix for Ringworld demo having save/restore buttons enabled in GMM
This splits checking if save and load are enabled to the individual game classes.
Diffstat (limited to 'engines/tsage/blue_force/blueforce_logic.cpp')
-rw-r--r-- | engines/tsage/blue_force/blueforce_logic.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/tsage/blue_force/blueforce_logic.cpp b/engines/tsage/blue_force/blueforce_logic.cpp index 156062d0d6..d413c2e035 100644 --- a/engines/tsage/blue_force/blueforce_logic.cpp +++ b/engines/tsage/blue_force/blueforce_logic.cpp @@ -240,6 +240,20 @@ Scene *BlueForceGame::createScene(int sceneNumber) { } } +/** + * Returns true if it is currently okay to restore a game + */ +bool BlueForceGame::canLoadGameStateCurrently() { + return true; +} + +/** + * Returns true if it is currently okay to save the game + */ +bool BlueForceGame::canSaveGameStateCurrently() { + return true; +} + void BlueForceGame::rightClick() { RightClickDialog *dlg = new RightClickDialog(); dlg->execute(); |