[Scummvm-cvs-logs] SF.net SVN: scummvm:[50122] scummvm/trunk/engines/sci/engine/ static_selectors.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Mon Jun 21 23:25:13 CEST 2010
Revision: 50122
http://scummvm.svn.sourceforge.net/scummvm/?rev=50122&view=rev
Author: thebluegr
Date: 2010-06-21 21:25:13 +0000 (Mon, 21 Jun 2010)
Log Message:
-----------
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
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/static_selectors.cpp
Modified: scummvm/trunk/engines/sci/engine/static_selectors.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/static_selectors.cpp 2010-06-21 20:17:59 UTC (rev 50121)
+++ scummvm/trunk/engines/sci/engine/static_selectors.cpp 2010-06-21 21:25:13 UTC (rev 50122)
@@ -149,6 +149,19 @@
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+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list