[Scummvm-cvs-logs] CVS: scummvm/scumm/insane insane.cpp,1.19,1.19.2.1 insane.h,1.12,1.12.2.1

Travis Howell kirben at users.sourceforge.net
Thu Apr 22 05:28:50 CEST 2004


Update of /cvsroot/scummvm/scummvm/scumm/insane
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4537/scumm/insane

Modified Files:
      Tag: branch-0-6-0
	insane.cpp insane.h 
Log Message:

Add some fixes from main branch:
special case for 384x242 smush resolution for ft pc demo, it use additional buffer
Fix bad array size (part of bug report #924685)


Index: insane.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/insane/insane.cpp,v
retrieving revision 1.19
retrieving revision 1.19.2.1
diff -u -d -r1.19 -r1.19.2.1
--- insane.cpp	14 Feb 2004 05:39:18 -0000	1.19
+++ insane.cpp	22 Apr 2004 12:27:21 -0000	1.19.2.1
@@ -437,7 +437,7 @@
 	init_actStruct(1, 2, 13, 1, 1, 0, 0, 0);
 	init_actStruct(1, 3, 13, 1, 1, 0, 0, 0);
 
-	for (i = 0; i < 9; i++)
+	for (i = 0; i < 10; i++)
 		for (j = 0; j < 10; j++)
 			_enemyState[i][j] = 0;
 }

Index: insane.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/insane/insane.h,v
retrieving revision 1.12
retrieving revision 1.12.2.1
diff -u -d -r1.12 -r1.12.2.1
--- insane.h	9 Feb 2004 18:57:03 -0000	1.12
+++ insane.h	22 Apr 2004 12:27:22 -0000	1.12.2.1
@@ -159,7 +159,7 @@
 	int16 _smush_frameNum1;
 	int16 _smush_frameNum2;
 	byte _smush_earlyFluContents[0x31a];
-	int16 _enemyState[9][10];
+	int16 _enemyState[10][10];
 	byte _iactBits[0x80];
 	int16 _mainRoadPos;
 	int16 _posBrokenCar;





More information about the Scummvm-git-logs mailing list