[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.242,2.243

Max Horn fingolfin at users.sourceforge.net
Sat Jan 3 17:12:20 CET 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv25713

Modified Files:
	gfx.cpp 
Log Message:
remove this HACK workaround - I think I may have fixed the true cause (we'll see)

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.242
retrieving revision 2.243
diff -u -d -r2.242 -r2.243
--- gfx.cpp	3 Jan 2004 22:45:23 -0000	2.242
+++ gfx.cpp	4 Jan 2004 01:11:23 -0000	2.243
@@ -2293,6 +2293,7 @@
 				while (l <= r) {
 					if (l >= 0 && l < gdi._numStrips && (uint) t < (uint) bottom) {
 						virtscr[0].tdirty[l] = t * 8;
+/*
 						//HACK: this is bad place of this hack
 		 				//it fix redraw last 8 lines in room gfx layer
 		 				//this is only for maniac classic version becouse that game
@@ -2300,6 +2301,7 @@
 						if ((_version == 1) && (_gameId == GID_MANIAC))
 							virtscr[0].bdirty[l] = (t + 2) * 8;
 						else
+*/
 							virtscr[0].bdirty[l] = (t + 1) * 8;
 					}
 					l++;
@@ -2312,13 +2314,14 @@
 				if (t < 0)
 					t = 0;
  				virtscr[0].tdirty[l] = t * 8;
- 				//HACK: this is bad place of this hack
+/* 				//HACK: this is bad place of this hack
  				//it fix redraw last 8 lines in room gfx layer
  				//this is only for maniac classic version becouse that game
  				//has bigger height of room gfx layer
 				if ((_version == 1) && (_gameId == GID_MANIAC))
 					virtscr[0].bdirty[l] = (b + 2) * 8;
 				else
+*/
 					virtscr[0].bdirty[l] = (b + 1) * 8;
 			}
 			updateDirtyScreen(kMainVirtScreen);





More information about the Scummvm-git-logs mailing list