[Scummvm-cvs-logs] SF.net SVN: scummvm:[52300] scummvm/trunk/engines/mohawk/console.cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Mon Aug 23 16:41:25 CEST 2010


Revision: 52300
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52300&view=rev
Author:   mthreepwood
Date:     2010-08-23 14:41:25 +0000 (Mon, 23 Aug 2010)

Log Message:
-----------
MOHAWK: Print the rect of the hotspot in the 'hotspot' command too

Modified Paths:
--------------
    scummvm/trunk/engines/mohawk/console.cpp

Modified: scummvm/trunk/engines/mohawk/console.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/console.cpp	2010-08-23 13:57:00 UTC (rev 52299)
+++ scummvm/trunk/engines/mohawk/console.cpp	2010-08-23 14:41:25 UTC (rev 52300)
@@ -467,10 +467,11 @@
 		DebugPrintf("Hotspot %d, index %d, BLST ID %d (", i, _vm->_hotspots[i].index, _vm->_hotspots[i].blstID);
 
 		if (_vm->_hotspots[i].enabled)
-			DebugPrintf("enabled)\n");
+			DebugPrintf("enabled");
 		else
-			DebugPrintf("disabled)\n");
+			DebugPrintf("disabled");
 
+		DebugPrintf(") - (%d, %d, %d, %d)\n", _vm->_hotspots[i].rect.left, _vm->_hotspots[i].rect.top, _vm->_hotspots[i].rect.right, _vm->_hotspots[i].rect.bottom);
 		DebugPrintf("    Name = %s\n", _vm->getHotspotName(i).c_str());
 	}
 


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