diff options
author | Joost Peters | 2003-11-09 21:31:18 +0000 |
---|---|---|
committer | Joost Peters | 2003-11-09 21:31:18 +0000 |
commit | b64c6fcbfc0898f8eb881f551e55d6695cc5dfd7 (patch) | |
tree | 5a536742f1b3ba1dd539e4a34f059b7f76d53eee /queen/input.h | |
parent | 1b6e9a9b0099774efb1a80baf29275cca1075ebe (diff) | |
download | scummvm-rg350-b64c6fcbfc0898f8eb881f551e55d6695cc5dfd7.tar.gz scummvm-rg350-b64c6fcbfc0898f8eb881f551e55d6695cc5dfd7.tar.bz2 scummvm-rg350-b64c6fcbfc0898f8eb881f551e55d6695cc5dfd7.zip |
Added (quick-)Saving/Loading
svn-id: r11230
Diffstat (limited to 'queen/input.h')
-rw-r--r-- | queen/input.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/queen/input.h b/queen/input.h index d9a047a84f..ff93b94a50 100644 --- a/queen/input.h +++ b/queen/input.h @@ -72,6 +72,11 @@ class Input { bool talkQuit() const { return _talkQuit; } void talkQuitReset() { _talkQuit = false; } + bool quickSave() const { return _quickSave; } + void quickSaveReset() { _quickSave = false; } + bool quickLoad() const { return _quickLoad; } + void quickLoadReset() { _quickLoad = false; } + bool fastMode() const { return _fastMode; } void fastMode(bool fm) { _fastMode = fm; } @@ -102,7 +107,9 @@ class Input { KEY_RETURN = 13, KEY_BACKSPACE = 8, - KEY_F1 = 282 + KEY_F1 = 282, + KEY_F11 = KEY_F1 + 10, + KEY_F12 }; enum @@ -131,6 +138,12 @@ class Input { //! moved Talk::_quit here bool _talkQuit; // TALKQUIT + //! Set if quicksave requested + bool _quickSave; + + //! Set if quickload requested + bool _quickLoad; + //! Set by delay(); int _inKey; |