diff options
-rw-r--r-- | engines/lure/luredefs.h | 6 | ||||
-rw-r--r-- | engines/lure/res_struct.cpp | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/engines/lure/luredefs.h b/engines/lure/luredefs.h index 6dca97678c..c873a38c36 100644 --- a/engines/lure/luredefs.h +++ b/engines/lure/luredefs.h @@ -34,7 +34,7 @@ namespace Lure { #define SUPPORT_FILENAME "lure.dat" #define LURE_DAT_MAJOR 1 -#define LURE_DAT_MINOR 23 +#define LURE_DAT_MINOR 24 #define LURE_DEBUG 1 @@ -297,8 +297,8 @@ enum CursorType {CURSOR_ARROW = 0, CURSOR_DISK = 1, CURSOR_TIME_START = 2, #define EWAN_ANIM_INDEX 22 #define EWAN_ALT_ANIM_INDEX 23 #define PLAYER_ANIM_INDEX 31 -#define SELENA_ANIM_INDEX 32 -#define BLACKSMITH_DEFAULT_ANIM_INDEX 33 +#define SELENA_ANIM_INDEX 33 +#define BLACKSMITH_DEFAULT_ANIM_INDEX 34 #define CONVERSE_COUNTDOWN_SIZE 40 #define IDLE_COUNTDOWN_SIZE 15 diff --git a/engines/lure/res_struct.cpp b/engines/lure/res_struct.cpp index 6dd121e90e..ae229fa4e4 100644 --- a/engines/lure/res_struct.cpp +++ b/engines/lure/res_struct.cpp @@ -456,6 +456,7 @@ void HotspotData::saveToStream(WriteStream *stream) { stream->writeUint16LE(tickScriptOffset); stream->writeUint16LE(characterMode); stream->writeUint16LE(delayCtr); + stream->writeUint16LE(animRecordId); // Write out the runtime fields stream->writeUint16LE(actionCtr); @@ -498,6 +499,7 @@ void HotspotData::loadFromStream(ReadStream *stream) { tickScriptOffset = stream->readUint16LE(); characterMode = (CharacterMode) stream->readUint16LE(); delayCtr = stream->readUint16LE(); + animRecordId = stream->readUint16LE(); // Read in the runtime fields actionCtr = stream->readUint16LE(); |