diff options
author | Travis Howell | 2009-03-09 03:58:18 +0000 |
---|---|---|
committer | Travis Howell | 2009-03-09 03:58:18 +0000 |
commit | 269754759f3c4f7ebb2e33f55f429239b1345aae (patch) | |
tree | 50e386ef374cc49892bd58b6c6923873322f92a8 /engines/agos/input.cpp | |
parent | 7cd40da1be0278b31bc012005544b41aab6cf231 (diff) | |
download | scummvm-rg350-269754759f3c4f7ebb2e33f55f429239b1345aae.tar.gz scummvm-rg350-269754759f3c4f7ebb2e33f55f429239b1345aae.tar.bz2 scummvm-rg350-269754759f3c4f7ebb2e33f55f429239b1345aae.zip |
Changed _inputting & _inputReady from uint8 to bool.
svn-id: r39258
Diffstat (limited to 'engines/agos/input.cpp')
-rw-r--r-- | engines/agos/input.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/agos/input.cpp b/engines/agos/input.cpp index 2e9291288c..618ec11d8a 100644 --- a/engines/agos/input.cpp +++ b/engines/agos/input.cpp @@ -609,8 +609,8 @@ bool AGOSEngine::processSpecialKeys() { #ifdef ENABLE_PN // Personal Nightmare specific void AGOSEngine_PN::clearInputLine() { - _inputting = 0; - _inputReady = 0; + _inputting = false; + _inputReady = false; clearWindow(_windowArray[2]); } @@ -659,7 +659,7 @@ void AGOSEngine_PN::handleKeyboard() { _mouseString = 0; _mouseString1 = 0; _mousePrintFG = 0; - _inputReady = 0; + _inputReady = false; } _keyPressed.reset(); @@ -672,8 +672,8 @@ void AGOSEngine_PN::interact(char *buffer, uint8 size) { _inputMax = size; _inputWindow = _windowArray[_curWindow]; windowPutChar(_inputWindow, 128); - _inputting = 1; - _inputReady = 1; + _inputting = true; + _inputReady = true; } while (!shouldQuit() && _inputReady) { @@ -688,7 +688,7 @@ void AGOSEngine_PN::interact(char *buffer, uint8 size) { if (!_inputReady) { memcpy(buffer, _keyboardBuffer, size); - _inputting = 0; + _inputting = false; } } |