diff options
author | Max Horn | 2009-11-02 21:54:57 +0000 |
---|---|---|
committer | Max Horn | 2009-11-02 21:54:57 +0000 |
commit | 51933629d1f1a17839ddbb75b2b619effe117abb (patch) | |
tree | 7292b23e5ce3fb11e6b2bb360a3befbbf35b64d9 /engines/agi/keyboard.cpp | |
parent | 400ee8c461e8060393b62be639c27dd3820dccd4 (diff) | |
download | scummvm-rg350-51933629d1f1a17839ddbb75b2b619effe117abb.tar.gz scummvm-rg350-51933629d1f1a17839ddbb75b2b619effe117abb.tar.bz2 scummvm-rg350-51933629d1f1a17839ddbb75b2b619effe117abb.zip |
Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
Diffstat (limited to 'engines/agi/keyboard.cpp')
-rw-r--r-- | engines/agi/keyboard.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agi/keyboard.cpp b/engines/agi/keyboard.cpp index ea384f3418..d5ef590961 100644 --- a/engines/agi/keyboard.cpp +++ b/engines/agi/keyboard.cpp @@ -421,12 +421,12 @@ int AgiEngine::waitAnyKey() { return key; } -bool AgiEngine::isKeypress(void) { +bool AgiEngine::isKeypress() { processEvents(); return _keyQueueStart != _keyQueueEnd; } -int AgiEngine::getKeypress(void) { +int AgiEngine::getKeypress() { int k; while (_keyQueueStart == _keyQueueEnd) // block @@ -437,7 +437,7 @@ int AgiEngine::getKeypress(void) { return k; } -void AgiEngine::clearKeyQueue(void) { +void AgiEngine::clearKeyQueue() { while (isKeypress()) { getKeypress(); } |