diff options
| author | johndoe123 | 2015-11-19 17:40:13 +0100 |
|---|---|---|
| committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
| commit | 09bbb482a8ccdfb8e36128d40364900b99aa2a13 (patch) | |
| tree | 45aba751e4c2fc6826c3e9db26ee4bee28e0da9d /engines/illusions/input.cpp | |
| parent | 601c6f408210344c73dcf4f3bab34b493132387a (diff) | |
| download | scummvm-rg350-09bbb482a8ccdfb8e36128d40364900b99aa2a13.tar.gz scummvm-rg350-09bbb482a8ccdfb8e36128d40364900b99aa2a13.tar.bz2 scummvm-rg350-09bbb482a8ccdfb8e36128d40364900b99aa2a13.zip | |
ILLUSIONS: DUCKMAN: Implement opcodes 70/71 for pausing/unpausing during the menu
Also change some input functions to return uint istead of byte to allow bigger bitmasks.
Diffstat (limited to 'engines/illusions/input.cpp')
| -rw-r--r-- | engines/illusions/input.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/illusions/input.cpp b/engines/illusions/input.cpp index 1251aabc5d..3956691ef6 100644 --- a/engines/illusions/input.cpp +++ b/engines/illusions/input.cpp @@ -59,8 +59,8 @@ InputEvent& InputEvent::addMouseButton(int mouseButton) { return *this; } -byte InputEvent::handle(Common::KeyCode key, int mouseButton, bool down) { - byte newKeys = 0; +uint InputEvent::handle(Common::KeyCode key, int mouseButton, bool down) { + uint newKeys = 0; for (KeyMap::iterator it = _keyMap.begin(); it != _keyMap.end(); ++it) { KeyMapping &keyMapping = *it; if ((keyMapping._key != Common::KEYCODE_INVALID && keyMapping._key == key) || |
