aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2007-04-14 03:44:52 +0000
committerPaul Gilbert2007-04-14 03:44:52 +0000
commitff31d88c9222a5084debd3fd7fceb8d0c264403f (patch)
treedb56a1de33ea2455a462172fc7f22db423c72a2b
parente5de883ccf1b39ba431fbd73fa6308e15146837b (diff)
downloadscummvm-rg350-ff31d88c9222a5084debd3fd7fceb8d0c264403f.tar.gz
scummvm-rg350-ff31d88c9222a5084debd3fd7fceb8d0c264403f.tar.bz2
scummvm-rg350-ff31d88c9222a5084debd3fd7fceb8d0c264403f.zip
Added fix to set tinderbox to be in the smithy, and added animation needed for barman handling
svn-id: r26462
-rw-r--r--tools/create_lure/create_lure_dat.cpp6
-rw-r--r--tools/create_lure/create_lure_dat.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/tools/create_lure/create_lure_dat.cpp b/tools/create_lure/create_lure_dat.cpp
index 3509b2fc59..b1c81830b9 100644
--- a/tools/create_lure/create_lure_dat.cpp
+++ b/tools/create_lure/create_lure_dat.cpp
@@ -273,6 +273,11 @@ void read_hotspot_data(byte *&data, uint16 &totalSize)
r->tickProcOffset = entry.tickProcOffset;
r->flags = entry.flags;
+ // Special check for the tinderbox hotspot to set it's room number correctly - the original
+ // game used this as a backup against people trying to hack the copy protection
+ if (startId[tableNum] + hotspotIndex == 0x271C)
+ r->roomNumber = TO_LE_16(28);
+
// Find the walk-to coordinates for the hotspot
walkCtr = 0;
while ((walkCtr < walkNumEntries) &&
@@ -467,6 +472,7 @@ void read_anim_data(byte *&data, uint16 &totalSize) {
add_anim_record(0x5c95);
add_anim_record(0x5ce9); // Blacksmith in bar?
add_anim_record(0x5915); // Blacksmith hammering
+ add_anim_record(0x59ED); // Ewan's alternate animation
// Get the animation data records
AnimRecord inRec;
diff --git a/tools/create_lure/create_lure_dat.h b/tools/create_lure/create_lure_dat.h
index cfebc33824..50ddf4bfe0 100644
--- a/tools/create_lure/create_lure_dat.h
+++ b/tools/create_lure/create_lure_dat.h
@@ -27,7 +27,7 @@
#include "common/endian.h"
#define VERSION_MAJOR 1
-#define VERSION_MINOR 16
+#define VERSION_MINOR 17
#define ENGLISH_LURE
#define DATA_SEGMENT 0xac50