Add support for script cycles used by HE90+ games.

svn-id: r16958
This commit is contained in:
Travis Howell 2005-02-28 13:23:10 +00:00
parent 9424c5aef2
commit 36705d4344
8 changed files with 39 additions and 15 deletions

View file

@ -404,8 +404,7 @@ void ScummEngine::saveOrLoad(Serializer *s, uint32 savegameVersion) {
MKLINE(ObjectData, parent, sleByte, VER(8)),
MKLINE(ObjectData, state, sleByte, VER(8)),
MKLINE(ObjectData, fl_object_index, sleByte, VER(8)),
// TODO
//MKLINE(ObjectData, flag, sleByte, VER(XXX)),
MKLINE(ObjectData, flags, sleByte, VER(46)),
MKEND()
};
@ -609,6 +608,7 @@ void ScummEngine::saveOrLoad(Serializer *s, uint32 savegameVersion) {
MKLINE(ScriptSlot, freezeCount, sleByte, VER(8)),
MKLINE(ScriptSlot, didexec, sleByte, VER(8)),
MKLINE(ScriptSlot, cutsceneOverride, sleByte, VER(8)),
MKLINE(ScriptSlot, cycle, sleByte, VER(46)),
MK_OBSOLETE(ScriptSlot, unk5, sleByte, VER(8), VER(10)),
MKEND()
};