[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.164,1.165

Max Horn fingolfin at users.sourceforge.net
Tue Sep 9 06:30:03 CEST 2003


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

Modified Files:
	actor.cpp 
Log Message:
added some comments to a FIXME

Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -d -r1.164 -r1.165
--- actor.cpp	8 Sep 2003 21:04:17 -0000	1.164
+++ actor.cpp	9 Sep 2003 13:29:18 -0000	1.165
@@ -421,8 +421,15 @@
 	}
 
 	// FIXME - Hack for The Dig 'Tomb' (room 88)
-	//	Otherwise walking to the far-left door causes the actor
-	//	to shrink to a one-pixel dot. (!?!?)
+	// Otherwise walking to the far-left door causes the actor
+	// to shrink to a one-pixel dot. The reason for this is that
+	// scale items (as handled in setScaleItem etc.) are only
+	// working as long as the room height is <= 200!!! That's a
+	// serious problem for DIG/FT, and causes the FIXME below, too.
+	// A way to properly fix the problem would be to use the
+	// V8 "scale slots" instead. This would be almost perfect, the
+	// only problem being that it might render some old savegames
+	// partially broken...
 	if (_vm->_gameId == GID_DIG && _vm->_currentRoom == 88) {
 		scale = 0xFF;
 	}





More information about the Scummvm-git-logs mailing list