[Scummvm-cvs-logs] SF.net SVN: scummvm: [21646] scummvm/trunk/engines/cine/bg.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Thu Apr 6 13:59:01 CEST 2006


Revision: 21646
Author:   eriktorbjorn
Date:     2006-04-06 13:57:58 -0700 (Thu, 06 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21646&view=rev

Log Message:
-----------
Fixed another "worked in cinE, broken in ScummVM" bug that made it impossible
to interact with the objects in the second room. We were passing the wrong
pointer to gfxConvertSpriteToRaw() in loadCt(), causing page3Raw (which I
believe is an "image" mapping screen coordinates to objects) to be wrong.

Modified Paths:
--------------
    scummvm/trunk/engines/cine/bg.cpp
Modified: scummvm/trunk/engines/cine/bg.cpp
===================================================================
--- scummvm/trunk/engines/cine/bg.cpp	2006-04-06 18:55:39 UTC (rev 21645)
+++ scummvm/trunk/engines/cine/bg.cpp	2006-04-06 20:57:58 UTC (rev 21646)
@@ -58,13 +58,13 @@
 
 		assert(strstr(ctName, ".NEO"));
 
-		memcpy(header, ptr, 32); ptr += 32;
+		memcpy(header, ptr, 32);
 
 		for (int i = 0; i < 16; i++) {
 			header[i] = TO_BE_16(header[i]);
 		}
 
-		gfxConvertSpriteToRaw(page3Raw, ptr + 0x80 - 0x22, 160, 200);
+		gfxConvertSpriteToRaw(page3Raw, ptr + 0x80, 160, 200);
 	}
 
 	return 0;


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