aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/create_lure/create_lure_dat.cpp3
-rw-r--r--tools/create_lure/create_lure_dat.h13
2 files changed, 10 insertions, 6 deletions
diff --git a/tools/create_lure/create_lure_dat.cpp b/tools/create_lure/create_lure_dat.cpp
index 13008eab1b..109b4f268b 100644
--- a/tools/create_lure/create_lure_dat.cpp
+++ b/tools/create_lure/create_lure_dat.cpp
@@ -269,7 +269,8 @@ void read_hotspot_data(byte *&data, uint16 &totalSize)
r->scriptLoadFlag = entry.scriptLoadFlag;
r->loadOffset = entry.loadOffset;
r->colourOffset = entry.colourOffset;
- r->sequenceOffset = entry.sequenceOffset;
+ r->hotspotScriptOffset = entry.hotspotScriptOffset;
+ r->talkScriptOffset = entry.talkScriptOffset;
r->tickProcOffset = entry.tickProcOffset;
r->flags = entry.flags;
diff --git a/tools/create_lure/create_lure_dat.h b/tools/create_lure/create_lure_dat.h
index 8cfe8ee09b..b3fd6d198a 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 18
+#define VERSION_MINOR 19
#define ENGLISH_LURE
#define DATA_SEGMENT 0xac50
@@ -136,11 +136,13 @@ struct HotspotResource {
uint16 tickTimeout;
uint16 animOffset;
byte colourOffset;
- uint16 sequenceOffset;
- byte unknown4[15];
+ uint16 hotspotScriptOffset;
+ byte unused1[7];
+ uint16 talkScriptOffset;
+ byte unused2[6];
int8 talkX;
int8 talkY;
- byte unused5[11];
+ byte unused3[11];
uint16 delayCtr;
uint8 characterMode;
uint16 tickSequenceOffset;
@@ -176,7 +178,8 @@ struct HotspotResourceOutput {
int8 talkY;
uint16 colourOffset;
uint16 animRecordId;
- uint16 sequenceOffset;
+ uint16 hotspotScriptOffset;
+ uint16 talkScriptOffset;
uint16 tickProcOffset;
uint16 tickTimeout;
uint16 tickSequenceOffset;