diff options
author | Paul Gilbert | 2007-04-29 11:28:13 +0000 |
---|---|---|
committer | Paul Gilbert | 2007-04-29 11:28:13 +0000 |
commit | c0d487830ea8d23b2ca0e0ccb8ecd196dbf5bf53 (patch) | |
tree | 383067dcfbb2ac8b577e288f08b8f6234da6229f | |
parent | 3ca3f07cdd8d3f1ab7b9de309997316a2201226b (diff) | |
download | scummvm-rg350-c0d487830ea8d23b2ca0e0ccb8ecd196dbf5bf53.tar.gz scummvm-rg350-c0d487830ea8d23b2ca0e0ccb8ecd196dbf5bf53.tar.bz2 scummvm-rg350-c0d487830ea8d23b2ca0e0ccb8ecd196dbf5bf53.zip |
Added talk script offset field to hotspot resources
svn-id: r26674
-rw-r--r-- | tools/create_lure/create_lure_dat.cpp | 3 | ||||
-rw-r--r-- | tools/create_lure/create_lure_dat.h | 13 |
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; |