diff options
author | Filippos Karapetis | 2010-06-21 21:25:13 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-21 21:25:13 +0000 |
commit | 9d5d9e13aea2e5c34ec237e735152427dd40b65c (patch) | |
tree | 6eb082dfba328f60777312c090bf63ac6e070588 /engines/sci | |
parent | 97dd94019cc668342ea52603891d706f3fbab5e3 (diff) | |
download | scummvm-rg350-9d5d9e13aea2e5c34ec237e735152427dd40b65c.tar.gz scummvm-rg350-9d5d9e13aea2e5c34ec237e735152427dd40b65c.tar.bz2 scummvm-rg350-9d5d9e13aea2e5c34ec237e735152427dd40b65c.zip |
Fixed the demo of Hoyle 4 by adding two selectors it needs "syncTime" and "syncCue". Usually, games that need them are CD talkie versions which have a selector vocabulary, but Hoyle 4 is an exception
svn-id: r50122
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/static_selectors.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/sci/engine/static_selectors.cpp b/engines/sci/engine/static_selectors.cpp index 0f558f2dc8..eca18f67fb 100644 --- a/engines/sci/engine/static_selectors.cpp +++ b/engines/sci/engine/static_selectors.cpp @@ -149,6 +149,19 @@ Common::StringArray Kernel::checkStaticSelectorNames() { names[slot] = selectorRemap->name; } } + + if (g_sci->getGameId() == "hoyle4") { + // The demo of Hoyle 4 is one of the few demos with lip syncing and no selector vocabulary. + // This needs two selectors, "syncTime" and "syncCue", which keep changing positions in each + // game. Usually, games with speech and lip sync have a selector vocabulary, so we don't need + // to set these two selectors, but we need for Hoyle... + if (names.size() < 276) + names.resize(276); + + names[274] = "syncTime"; + names[275] = "syncCue"; + } + #ifdef ENABLE_SCI32 } else { // SCI2+ |