[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.29,2.30

Jonathan Gray khalek at users.sourceforge.net
Sun Mar 2 17:57:18 CET 2003


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

Modified Files:
	gfx.cpp 
Log Message:
add hack that attempts to workaround the offset hotspot problem in humongous games

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.29
retrieving revision 2.30
diff -u -d -r2.29 -r2.30
--- gfx.cpp	19 Feb 2003 14:35:24 -0000	2.29
+++ gfx.cpp	3 Mar 2003 01:53:18 -0000	2.30
@@ -3097,6 +3097,11 @@
 {
 	_cursor.hotspotX = x;
 	_cursor.hotspotY = y;
+	// FIXME this hacks around offset cursor in the humongous games
+	if (_features & GF_HUMONGOUS) {
+		_cursor.hotspotX += 15;
+		_cursor.hotspotY += 15;
+	}
 }
 
 void Scumm::updateCursor()





More information about the Scummvm-git-logs mailing list