[Scummvm-cvs-logs] SF.net SVN: scummvm:[54920] scummvm/trunk/engines/hugo
strangerke at users.sourceforge.net
strangerke at users.sourceforge.net
Wed Dec 15 08:35:20 CET 2010
Revision: 54920
http://scummvm.svn.sourceforge.net/scummvm/?rev=54920&view=rev
Author: strangerke
Date: 2010-12-15 07:35:20 +0000 (Wed, 15 Dec 2010)
Log Message:
-----------
HUGO: No longer shift down inventory by 8 pixels
Modified Paths:
--------------
scummvm/trunk/engines/hugo/game.h
scummvm/trunk/engines/hugo/inventory.cpp
Modified: scummvm/trunk/engines/hugo/game.h
===================================================================
--- scummvm/trunk/engines/hugo/game.h 2010-12-15 02:29:01 UTC (rev 54919)
+++ scummvm/trunk/engines/hugo/game.h 2010-12-15 07:35:20 UTC (rev 54920)
@@ -66,7 +66,7 @@
#define VIEW_DY 184 // Height of window view
#define INV_DX 32 // Width of an inventory icon
#define INV_DY 32 // Height of inventory icon
-#define DIBOFF_Y 8 // Offset into dib SrcY (old status line area)
+#define DIBOFF_Y 0 // Offset into dib SrcY (old status line area). In original game: 8
#define OVL_SIZE (XBYTES * YPIX) // Size of an overlay file
#define MAX_SEQUENCES 4 // Number of sequences of images in object
#define MAX_CHARS (XBYTES - 2) // Max length of user input line
Modified: scummvm/trunk/engines/hugo/inventory.cpp
===================================================================
--- scummvm/trunk/engines/hugo/inventory.cpp 2010-12-15 02:29:01 UTC (rev 54919)
+++ scummvm/trunk/engines/hugo/inventory.cpp 2010-12-15 07:35:20 UTC (rev 54920)
@@ -207,7 +207,7 @@
}
gameStatus.inventoryHeight += STEP_DY; // Move the icon bar down
- if (gameStatus.inventoryHeight >= INV_DY) // Limit travel
+ if (gameStatus.inventoryHeight > INV_DY) // Limit travel
gameStatus.inventoryHeight = INV_DY;
// Move visible portion to _frontBuffer, display results
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