#9237 closed patch
MMC64: save actor state
Reported by: | SF/tobigun | Owned by: | Kirben |
---|---|---|---|
Priority: | normal | Component: | Engine: SCUMM |
Version: | Keywords: | ||
Cc: | Game: | Maniac Mansion |
Description
At the moment the C64 specific status of an actor (ActorC64) is not stored in savegames. This state also contains the _miscflags variable which stores e.g. if a kid is dead, if it used the strong-o-mat, if a kid is Ed's enemy and similar things. So for instance if a kid used the strong-o-mat and the game was saved and loaded afterwards the kid is not strong anymore.
This patch adds all C64 specific state vars to the serializer so they will be saved. I don't know if all of these vars have to be saved. In addition I had to move all these vars from the ActorC64 to the Actor class as it did not seem to be possible to add the ActorC64 vars directly.
Ticket imported from: #3094717. Ticket imported from: patches/1342.
Attachments (1)
Change History (5)
by , 14 years ago
Attachment: | save_actorstate.patch added |
---|
comment:1 by , 14 years ago
Owner: | set to |
---|
comment:2 by , 14 years ago
Thanks, I added an alternative version of the patch to ScummVM 1.3.0svn.
I kept the additional variables in ActorC64, by virtualizing the Actor::saveLoadWithSerializer() function.
comment:3 by , 14 years ago
Status: | new → closed |
---|
comment:4 by , 6 years ago
Component: | → Engine: SCUMM |
---|---|
Game: | → Maniac Mansion |
save C64 actor state