diff options
author | Kostas Nakos | 2009-03-01 22:35:14 +0000 |
---|---|---|
committer | Kostas Nakos | 2009-03-01 22:35:14 +0000 |
commit | f78d6b2fae2280010dd0dcf8828a2a09fa7ca3e1 (patch) | |
tree | 465de112a0e7928eb7b0cca7f6c1ee2d1572611e /backends/platform/wince/CEActionsSmartphone.cpp | |
parent | 0e134d5871246a546f49fa3ab0006b2f1fe91e11 (diff) | |
download | scummvm-rg350-f78d6b2fae2280010dd0dcf8828a2a09fa7ca3e1.tar.gz scummvm-rg350-f78d6b2fae2280010dd0dcf8828a2a09fa7ca3e1.tar.bz2 scummvm-rg350-f78d6b2fae2280010dd0dcf8828a2a09fa7ca3e1.zip |
add support for tinsel engine (off by default for the time being)
svn-id: r39061
Diffstat (limited to 'backends/platform/wince/CEActionsSmartphone.cpp')
-rw-r--r-- | backends/platform/wince/CEActionsSmartphone.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/backends/platform/wince/CEActionsSmartphone.cpp b/backends/platform/wince/CEActionsSmartphone.cpp index 663ad18433..99f73bf37d 100644 --- a/backends/platform/wince/CEActionsSmartphone.cpp +++ b/backends/platform/wince/CEActionsSmartphone.cpp @@ -122,11 +122,12 @@ void CEActionsSmartphone::initInstanceGame() { bool is_drascula = (strncmp(gameid.c_str(), "drascula",8) == 0); bool is_tucker = (gameid == "tucker"); bool is_groovie = (gameid == "groovie"); + bool is_tinsel = (gameid == "tinsel"); GUI_Actions::initInstanceGame(); // See if a right click mapping could be needed - if (is_sword1 || is_sword2 || is_sky || is_queen || is_comi || is_gob || + if (is_sword1 || is_sword2 || is_sky || is_queen || is_comi || is_gob || is_tinsel || is_samnmax || is_cine || is_touche || is_parallaction || is_drascula) _right_click_needed = true; @@ -149,13 +150,16 @@ void CEActionsSmartphone::initInstanceGame() { } else if (is_parallaction) { _action_enabled[SMARTPHONE_ACTION_SAVE] = true; _key_action[SMARTPHONE_ACTION_SAVE].setKey('s', SDLK_s); + } else if (is_tinsel) { + _action_enabled[SMARTPHONE_ACTION_SAVE] = true; + _key_action[SMARTPHONE_ACTION_SAVE].setKey(Common::ASCII_F1, SDLK_F1); } else { _action_enabled[SMARTPHONE_ACTION_SAVE] = true; _key_action[SMARTPHONE_ACTION_SAVE].setKey(Common::ASCII_F5, SDLK_F5); // F5 key } // Skip _action_enabled[SMARTPHONE_ACTION_SKIP] = true; - if (is_simon || is_sky || is_sword2 || is_queen || is_sword1 || is_gob || + if (is_simon || is_sky || is_sword2 || is_queen || is_sword1 || is_gob || is_tinsel || is_saga || is_kyra || is_touche || is_lure || is_feeble || is_drascula || is_tucker || is_groovie) _key_action[SMARTPHONE_ACTION_SKIP].setKey(VK_ESCAPE); else |