diff options
author | Matthew Hoops | 2012-04-09 11:20:18 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-04-09 11:20:18 -0400 |
commit | 981833b34e73905045338053d528af68f81884d7 (patch) | |
tree | 88cc6738db075c29654e5b7a219f1cb8db65f096 /engines/pegasus/pegasus.h | |
parent | ec0b4f7b96676dac890503cc156113b0966886b3 (diff) | |
download | scummvm-rg350-981833b34e73905045338053d528af68f81884d7.tar.gz scummvm-rg350-981833b34e73905045338053d528af68f81884d7.tar.bz2 scummvm-rg350-981833b34e73905045338053d528af68f81884d7.zip |
PEGASUS: Add support for load/save keys
Diffstat (limited to 'engines/pegasus/pegasus.h')
-rw-r--r-- | engines/pegasus/pegasus.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/pegasus/pegasus.h b/engines/pegasus/pegasus.h index 349856d27b..a1b4cff9ab 100644 --- a/engines/pegasus/pegasus.h +++ b/engines/pegasus/pegasus.h @@ -189,6 +189,10 @@ public: _loadAllowed = allow; return old; } + void requestSave() { _saveRequested = true; } + bool saveRequested() const { return _saveRequested; } + void requestLoad() { _loadRequested = true; } + bool loadRequested() const { return _loadRequested; } protected: Common::Error run(); @@ -243,6 +247,7 @@ private: bool _saveAllowed, _loadAllowed; // It's so nice that this was in the original code already :P Common::Error showLoadDialog(); Common::Error showSaveDialog(); + bool _saveRequested, _loadRequested; // Misc. Hotspot _returnHotspot; |