mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
Added saving of the current hotspot animation record to savegames
svn-id: r29528
This commit is contained in:
parent
4987cde3a1
commit
75382bdadc
@ -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
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user