diff options
author | Kostas Nakos | 2006-06-20 17:52:25 +0000 |
---|---|---|
committer | Kostas Nakos | 2006-06-20 17:52:25 +0000 |
commit | 35ce9e3c98d8770694c9fd199473cdf1e45474a4 (patch) | |
tree | 839b65260c0f52938c4a30d18d615b366385eccc | |
parent | 7e2227927cf65cf2281e466b0d43cc0e9ad22a83 (diff) | |
download | scummvm-rg350-35ce9e3c98d8770694c9fd199473cdf1e45474a4.tar.gz scummvm-rg350-35ce9e3c98d8770694c9fd199473cdf1e45474a4.tar.bz2 scummvm-rg350-35ce9e3c98d8770694c9fd199473cdf1e45474a4.zip |
kyra engine support
svn-id: r23188
-rw-r--r-- | backends/wince/CEActionsPocket.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/wince/CEActionsPocket.cpp b/backends/wince/CEActionsPocket.cpp index 3e77afde26..ee76245ef3 100644 --- a/backends/wince/CEActionsPocket.cpp +++ b/backends/wince/CEActionsPocket.cpp @@ -124,6 +124,7 @@ void CEActionsPocket::initInstanceGame() { bool is_gob = (strncmp(gameid.c_str(), "gob", 3) == 0); bool is_ite = ((strncmp(gameid.c_str(), "ite", 3) == 0) || (strncmp(gameid.c_str(), "ihnm", 4) == 0)); + bool is_kyra = (gameid == "kyra1"); GUI_Actions::initInstanceGame(); @@ -141,7 +142,7 @@ void CEActionsPocket::initInstanceGame() { _key_action[POCKET_ACTION_PAUSE].setAscii(VK_SPACE); _action_enabled[POCKET_ACTION_PAUSE] = true; // Save - if (is_simon || is_sword2 || is_gob) + if (is_simon || is_sword2 || is_gob || is_kyra) _action_enabled[POCKET_ACTION_SAVE] = false; else if (is_queen || is_ite) { @@ -161,7 +162,7 @@ void CEActionsPocket::initInstanceGame() { _action_enabled[POCKET_ACTION_QUIT] = true; // Skip _action_enabled[POCKET_ACTION_SKIP] = true; - if (is_simon || is_sky || is_sword2 || is_queen || is_sword1 || is_gob || is_ite) + if (is_simon || is_sky || is_sword2 || is_queen || is_sword1 || is_gob || is_ite || is_kyra) _key_action[POCKET_ACTION_SKIP].setAscii(VK_ESCAPE); else _key_action[POCKET_ACTION_SKIP].setAscii(KEY_ALL_SKIP); |