diff options
author | Nicolas Bacca | 2003-12-22 11:25:51 +0000 |
---|---|---|
committer | Nicolas Bacca | 2003-12-22 11:25:51 +0000 |
commit | 7ab78ea26a7d42ea208df7057cefe65128731a02 (patch) | |
tree | 4c8ba0d0c89f9047d5328f77f0ecb9c2323230df /backends/wince/pocketpc.cpp | |
parent | 42cea0975a39b570a2e0a463530a0dc0534db8b3 (diff) | |
download | scummvm-rg350-7ab78ea26a7d42ea208df7057cefe65128731a02.tar.gz scummvm-rg350-7ab78ea26a7d42ea208df7057cefe65128731a02.tar.bz2 scummvm-rg350-7ab78ea26a7d42ea208df7057cefe65128731a02.zip |
Preliminary support for queen in the old codebase ...
svn-id: r11852
Diffstat (limited to 'backends/wince/pocketpc.cpp')
-rw-r--r-- | backends/wince/pocketpc.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backends/wince/pocketpc.cpp b/backends/wince/pocketpc.cpp index 8236979641..dc86ba50c0 100644 --- a/backends/wince/pocketpc.cpp +++ b/backends/wince/pocketpc.cpp @@ -31,6 +31,7 @@ extern bool freelook; extern bool is_simon; extern bool is_bass; extern bool is_sword2; +extern bool is_queen; extern int num_of_dirty_square; extern bool toolbar_drawn; extern Engine *engine; @@ -242,6 +243,8 @@ BOOL PPCWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, OSystem_W */ /*}*/ wm->_event.event_code = OSystem::EVENT_KEYDOWN; + if (is_queen) + wm->_event.kbd.keycode = 282; if (is_bass) wm->_event.kbd.ascii = 63; else @@ -258,7 +261,7 @@ BOOL PPCWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, OSystem_W do_quit(); wm->_event.event_code = OSystem::EVENT_KEYDOWN; - if (is_simon || is_bass || is_sword2) { + if (is_simon || is_bass || is_sword2 || is_queen) { wm->_event.kbd.ascii = mapKey(VK_ESCAPE); wm->_event.kbd.keycode = mapKey(VK_ESCAPE); break; |