diff options
author | Travis Howell | 2003-12-05 00:02:01 +0000 |
---|---|---|
committer | Travis Howell | 2003-12-05 00:02:01 +0000 |
commit | 83bf2e25932ca991af8a190bbd4c6d7a8b410107 (patch) | |
tree | addea610c21786491f60ee258242e821e2dd7646 /scumm/script_v8.cpp | |
parent | 98b5f371430439e9f072adf3b13b6834c21cc658 (diff) | |
download | scummvm-rg350-83bf2e25932ca991af8a190bbd4c6d7a8b410107.tar.gz scummvm-rg350-83bf2e25932ca991af8a190bbd4c6d7a8b410107.tar.bz2 scummvm-rg350-83bf2e25932ca991af8a190bbd4c6d7a8b410107.zip |
Add keyboard support for derby in FT and cannon battle in COMI, patch #853099
svn-id: r11496
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r-- | scumm/script_v8.cpp | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp index a0a5242d03..5a45b9f8eb 100644 --- a/scumm/script_v8.cpp +++ b/scumm/script_v8.cpp @@ -1401,21 +1401,7 @@ void ScummEngine_v8::o8_kernelGetFunctions() { push(checkXYInBoxBounds(args[3], args[1], args[2])); break; case 0xD3: // getKeyState - switch(args[1]) { - // Stub out a few specific cases, just to make things less noisy - - // To actually implement this, we may need a new OSystem call to do - // asyncronous keyboard state checking... - case 0x14B: // Left Arrow depressed? - case 0x14D: // Right Arrow depressed? - case 0x09: // Tab depressed (fire in ship combat) - push(0); - break; - default: - warning("getKeyState(0x%X)", args[1]); - push(0); - break; - } + push(getKeyState(args[1])); break; case 0xCE: // getRGBSlot case 0xD7: // getBox |