diff options
author | Gregory Montoir | 2003-12-26 12:58:27 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-12-26 12:58:27 +0000 |
commit | ffbfe8922a3cfa2d2750fca3a2cb2d953fd1e4ca (patch) | |
tree | e75942537560cbf1939534597c120258ceba69cb /queen/input.h | |
parent | a45e92efed3715b3bb0b1191b718207b191ab1ae (diff) | |
download | scummvm-rg350-ffbfe8922a3cfa2d2750fca3a2cb2d953fd1e4ca.tar.gz scummvm-rg350-ffbfe8922a3cfa2d2750fca3a2cb2d953fd1e4ca.tar.bz2 scummvm-rg350-ffbfe8922a3cfa2d2750fca3a2cb2d953fd1e4ca.zip |
new debugging code, using Common::Debugger
svn-id: r11940
Diffstat (limited to 'queen/input.h')
-rw-r--r-- | queen/input.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/queen/input.h b/queen/input.h index 439ca10a37..5936efd11c 100644 --- a/queen/input.h +++ b/queen/input.h @@ -31,8 +31,6 @@ class Input { public: - typedef void (*keyPressedCallback)(void *refCon, int key); - //! Adjust here to change delays! enum { DELAY_SHORT = 10, @@ -75,6 +73,8 @@ class Input { void quickSaveReset() { _quickSave = false; } bool quickLoad() const { return _quickLoad; } void quickLoadReset() { _quickLoad = false; } + bool debugger() const { return _debugger; } + void debuggerReset() { _debugger = false; } bool fastMode() const { return _fastMode; } void fastMode(bool fm) { _fastMode = fm; } @@ -87,9 +87,6 @@ class Input { int mouseButton() const { return _mouseButton; } void clearMouseButton() { _mouseButton = 0; } - bool waitForNumber(int &i, keyPressedCallback callback, void *refCon); - bool waitForCharacter(char &c); - private: enum KeyCode { @@ -146,6 +143,9 @@ class Input { //! Set if quickload requested bool _quickLoad; + //! Set if debugger requested + bool _debugger; + //! Set by delay(); int _inKey; @@ -156,10 +156,10 @@ class Input { int _mouseButton; //! Command keys for current language - const char* _currentCommandKeys; + const char *_currentCommandKeys; //! Command keys for all languages - static const char* _commandKeys[LANGUAGE_COUNT]; + static const char *_commandKeys[LANGUAGE_COUNT]; }; } // End of namespace Queen |