[Scummvm-cvs-logs] SF.net SVN: scummvm: [22469] scummvm/trunk/engines/scumm/verbs.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sun May 14 03:51:50 CEST 2006


Revision: 22469
Author:   eriktorbjorn
Date:     2006-05-14 03:48:03 -0700 (Sun, 14 May 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22469&view=rev

Log Message:
-----------
Fixed regression in Maniac/Zak inventory drawing.

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/verbs.cpp
Modified: scummvm/trunk/engines/scumm/verbs.cpp
===================================================================
--- scummvm/trunk/engines/scumm/verbs.cpp	2006-05-14 10:40:06 UTC (rev 22468)
+++ scummvm/trunk/engines/scumm/verbs.cpp	2006-05-14 10:48:03 UTC (rev 22469)
@@ -379,7 +379,7 @@
 
 		_string[1].ypos = _mouseOverBoxesV2[i].rect.top + vs->topline;
 		_string[1].xpos = _mouseOverBoxesV2[i].rect.left;
-
+		_string[1].right = _mouseOverBoxesV2[i].rect.right - 1;
 		_string[1].color = _mouseOverBoxesV2[i].color;
 
 		const byte *tmp = getObjOrActorName(obj);
@@ -399,6 +399,7 @@
 	if (_inventoryOffset > 0) {
 		_string[1].xpos = _mouseOverBoxesV2[kInventoryUpArrow].rect.left;
 		_string[1].ypos = _mouseOverBoxesV2[kInventoryUpArrow].rect.top + vs->topline;
+		_string[1].right = _mouseOverBoxesV2[kInventoryUpArrow].rect.right - 1;
 		_string[1].color = _mouseOverBoxesV2[kInventoryUpArrow].color;
 		if (_game.platform == Common::kPlatformNES)
 			drawString(1, (const byte *)"\x7E");
@@ -410,6 +411,7 @@
 	if (_inventoryOffset + 4 < getInventoryCount(_scummVars[VAR_EGO])) {
 		_string[1].xpos = _mouseOverBoxesV2[kInventoryDownArrow].rect.left;
 		_string[1].ypos = _mouseOverBoxesV2[kInventoryDownArrow].rect.top + vs->topline;
+		_string[1].right = _mouseOverBoxesV2[kInventoryDownArrow].rect.right - 1;
 		_string[1].color = _mouseOverBoxesV2[kInventoryDownArrow].color;
 		if (_game.platform == Common::kPlatformNES)
 			drawString(1, (const byte *)"\x7F");


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