[Scummvm-cvs-logs] SF.net SVN: scummvm: [32269] scummvm/trunk/engines/gob

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Sun May 25 15:02:23 CEST 2008


Revision: 32269
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32269&view=rev
Author:   drmccoy
Date:     2008-05-25 06:02:23 -0700 (Sun, 25 May 2008)

Log Message:
-----------
Added a workaround for the nut rolling animation in the administration center in Woodruff

Modified Paths:
--------------
    scummvm/trunk/engines/gob/inter_v2.cpp
    scummvm/trunk/engines/gob/inter_v4.cpp

Modified: scummvm/trunk/engines/gob/inter_v2.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_v2.cpp	2008-05-25 11:53:49 UTC (rev 32268)
+++ scummvm/trunk/engines/gob/inter_v2.cpp	2008-05-25 13:02:23 UTC (rev 32269)
@@ -1581,6 +1581,12 @@
 	varWidth = _vm->_parse->parseVarIndex();
 	varHeight = _vm->_parse->parseVarIndex();
 
+	// WORKAROUND: The nut rolling animation in the administration center
+	// in Woodruff is called "noixroul", but the scripts think it's "noixroule".
+	if ((_vm->getGameType() == kGameTypeWoodruff) &&
+			(!scumm_stricmp(_vm->_global->_inter_resStr, "noixroule")))
+		strcpy(_vm->_global->_inter_resStr, "noixroul");
+
 	_vm->_vidPlayer->writeVideoInfo(_vm->_global->_inter_resStr, varX, varY,
 			varFrames, varWidth, varHeight);
 }

Modified: scummvm/trunk/engines/gob/inter_v4.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_v4.cpp	2008-05-25 11:53:49 UTC (rev 32268)
+++ scummvm/trunk/engines/gob/inter_v4.cpp	2008-05-25 13:02:23 UTC (rev 32269)
@@ -811,6 +811,12 @@
 	evalExpr(0);
 	strncpy0(fileName, _vm->_global->_inter_resStr, 127);
 
+	// WORKAROUND: The nut rolling animation in the administration center
+	// in Woodruff is called "noixroul", but the scripts think it's "noixroule".
+	if ((_vm->getGameType() == kGameTypeWoodruff) &&
+			(!scumm_stricmp(fileName, "noixroule")))
+		strcpy(fileName, "noixroul");
+
 	x = _vm->_parse->parseValExpr();
 	y = _vm->_parse->parseValExpr();
 	startFrame = _vm->_parse->parseValExpr();


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