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

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Fri Sep 28 09:57:09 CEST 2007


Revision: 29115
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29115&view=rev
Author:   dreammaster
Date:     2007-09-28 00:57:09 -0700 (Fri, 28 Sep 2007)

Log Message:
-----------
Bugfix to extract correct hotspot offsets list for Italian version

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	2007-09-28 07:55:02 UTC (rev 29114)
+++ scummvm/trunk/tools/create_lure/create_lure_dat.cpp	2007-09-28 07:57:09 UTC (rev 29115)
@@ -777,8 +777,10 @@
 }
 
 void read_hotspot_script_offsets(byte *&data, uint16 &totalSize) {
-	lureExe.seek(dataSegment + HOTSPOT_SCRIPT_LIST);
-	
+	uint16 dataStart = 0x57e0;
+	if (language == IT_ITA) dataStart = 0x58a0;
+
+	lureExe.seek(dataSegment + dataStart);
 	totalSize = HOTSPOT_SCRIPT_SIZE;
 	data = (byte *) malloc(totalSize);
 	lureExe.read(data, totalSize);

Modified: scummvm/trunk/tools/create_lure/create_lure_dat.h
===================================================================
--- scummvm/trunk/tools/create_lure/create_lure_dat.h	2007-09-28 07:55:02 UTC (rev 29114)
+++ scummvm/trunk/tools/create_lure/create_lure_dat.h	2007-09-28 07:57:09 UTC (rev 29115)
@@ -47,7 +47,6 @@
 #define SCRIPT2_SEGMENT_SIZE 0x2800
 #define FIGHT_SEGMENT_SIZE 0x1850
 
-#define HOTSPOT_SCRIPT_LIST 0x57e0
 #define HOTSPOT_SCRIPT_SIZE 0x30
 
 #define MAX_NUM_ANIM_RECORDS 0x200


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