[Scummvm-cvs-logs] SF.net SVN: scummvm:[39261] scummvm/trunk/engines/agos/gfx.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Mon Mar 9 09:38:02 CET 2009


Revision: 39261
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39261&view=rev
Author:   Kirben
Date:     2009-03-09 08:38:02 +0000 (Mon, 09 Mar 2009)

Log Message:
-----------
Add more code differences in PN.

Modified Paths:
--------------
    scummvm/trunk/engines/agos/gfx.cpp

Modified: scummvm/trunk/engines/agos/gfx.cpp
===================================================================
--- scummvm/trunk/engines/agos/gfx.cpp	2009-03-09 04:37:31 UTC (rev 39260)
+++ scummvm/trunk/engines/agos/gfx.cpp	2009-03-09 08:38:02 UTC (rev 39261)
@@ -1049,8 +1049,10 @@
 	byte *p, *pp;
 	uint count;
 
-	if (isSpriteLoaded(vgaSpriteId, zoneNum))
-		return;
+	if (getGameType() != GType_PN && getGameType() != GType_ELVIRA1) {
+		if (isSpriteLoaded(vgaSpriteId, zoneNum))
+			return;
+	}
 
 	vsp = _vgaSprites;
 	while (vsp->id != 0)
@@ -1341,6 +1343,14 @@
 		vte->delay = 2;
 	}
 
+	if (getGameType() == GType_PN) {
+		AnimTable *animTable = _screenAnim1;
+		while (animTable->srcPtr) {
+			animTable->srcPtr = 0;
+			animTable++;
+		}
+	}
+
 	if (getGameType() == GType_SIMON2 || getGameType() == GType_FF) {
 		_scrollX = 0;
 		_scrollY = 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