[Scummvm-cvs-logs] SF.net SVN: scummvm: [23687] scummvm/trunk/tools/create_lure

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Mon Aug 7 15:09:35 CEST 2006


Revision: 23687
Author:   dreammaster
Date:     2006-08-07 06:09:27 -0700 (Mon, 07 Aug 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23687&view=rev

Log Message:
-----------
Removed stripping of high two bits of hotspot name and desc field string Ids

Modified Paths:
--------------
    scummvm/trunk/tools/create_lure/create_lure_dat.cpp
    scummvm/trunk/tools/create_lure/create_lure_dat.h
Modified: scummvm/trunk/tools/create_lure/create_lure_dat.cpp
===================================================================
--- scummvm/trunk/tools/create_lure/create_lure_dat.cpp	2006-08-06 09:18:38 UTC (rev 23686)
+++ scummvm/trunk/tools/create_lure/create_lure_dat.cpp	2006-08-07 13:09:27 UTC (rev 23687)
@@ -238,9 +238,9 @@
 
 			memset(r, 0, sizeof(HotspotResourceOutput));
 			r->hotspotId = TO_LE_16(startId[tableNum] + hotspotIndex);
-			r->nameId = TO_LE_16(FROM_LE_16(entryHeader.resourceId) & 0x1fff);
-			r->descId = TO_LE_16(FROM_LE_16(entryHeader.descId) & 0x1fff);
-			r->descId2 = TO_LE_16(FROM_LE_16(entryHeader.descId2) & 0x1fff);
+			r->nameId = entryHeader.resourceId;
+			r->descId = entryHeader.descId; //TO_LE_16(FROM_LE_16(entryHeader.descId) & 0x1fff);
+			r->descId2 = entryHeader.descId2; //TO_LE_16(FROM_LE_16(entryHeader.descId2) & 0x1fff);
 			r->hdrFlags = entryHeader.hdrFlags;
 
 			// Get the hotspot data

Modified: scummvm/trunk/tools/create_lure/create_lure_dat.h
===================================================================
--- scummvm/trunk/tools/create_lure/create_lure_dat.h	2006-08-06 09:18:38 UTC (rev 23686)
+++ scummvm/trunk/tools/create_lure/create_lure_dat.h	2006-08-07 13:09:27 UTC (rev 23687)
@@ -27,7 +27,7 @@
 #include "common/endian.h"
 
 #define VERSION_MAJOR 1
-#define VERSION_MINOR 10
+#define VERSION_MINOR 11
 #define ENGLISH_LURE 
 
 #define DATA_SEGMENT 0xac50


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