[Scummvm-cvs-logs] SF.net SVN: scummvm: [21212] scummvm/trunk/engines/scumm/script_v5.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Fri Mar 10 15:16:03 CET 2006


Revision: 21212
Author:   kirben
Date:     2006-03-10 15:15:05 -0800 (Fri, 10 Mar 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21212&view=rev

Log Message:
-----------
Remove unused case in o5_actorOps, which is never triggered by any game scripts

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/script_v5.cpp
Modified: scummvm/trunk/engines/scumm/script_v5.cpp
===================================================================
--- scummvm/trunk/engines/scumm/script_v5.cpp	2006-03-10 23:09:27 UTC (rev 21211)
+++ scummvm/trunk/engines/scumm/script_v5.cpp	2006-03-10 23:15:05 UTC (rev 21212)
@@ -474,20 +474,6 @@
 		case 14:		// SO_INIT_ANIMATION
 			a->_initFrame = getVarOrDirectByte(PARAM_1);
 			break;
-		case 15:		// SO_PALETTE_LIST
-			error("o5_actorOps:unk not implemented");
-#if 0
-			int args[16] =
-				{
-					0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
-					0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
-				};
-			getWordVararg(args);
-			for (i = 0; i < 16; i++)
-				if (args[i] != 0xFF)
-					a->_palette[i] = args[i];
-#endif
-			break;
 		case 16:		// SO_ACTOR_WIDTH
 			a->_width = getVarOrDirectByte(PARAM_1);
 			break;


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