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

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Thu Oct 22 11:13:46 CEST 2009


Revision: 45333
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45333&view=rev
Author:   Kirben
Date:     2009-10-22 09:13:45 +0000 (Thu, 22 Oct 2009)

Log Message:
-----------
Fix verb display in PCE version of Loom.

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/verbs.cpp

Modified: scummvm/trunk/engines/scumm/verbs.cpp
===================================================================
--- scummvm/trunk/engines/scumm/verbs.cpp	2009-10-22 08:55:54 UTC (rev 45332)
+++ scummvm/trunk/engines/scumm/verbs.cpp	2009-10-22 09:13:45 UTC (rev 45333)
@@ -1361,8 +1361,13 @@
 	} else if (_game.features & GF_SMALL_HEADER) {
 		size = READ_LE_UINT32(obim);
 
-		imgw = (*(obim + size + 11));
-		imgh = (*(obim + size + 17)) / 8;
+		if (_game.id == GID_LOOM && _game.platform == Common::kPlatformPCEngine) {
+			imgw = (*(obim + size + 10));
+			imgh = (*(obim + size + 15)) / 8;
+		} else {
+			imgw = (*(obim + size + 11));
+			imgh = (*(obim + size + 17)) / 8;
+		}
 		imptr = getObjectImage(obim, 1);
 	} else {
 		const ImageHeader *imhd = (const ImageHeader *)findResourceData(MKID_BE('IMHD'), obim);


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