mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-08 19:00:57 +00:00
MADS: Add synchronize in scene 501
This commit is contained in:
parent
facbe1b177
commit
3aa9dc3947
@ -99,6 +99,15 @@ void Scene501::setup() {
|
||||
_scene->addActiveVocab(0x18B);
|
||||
}
|
||||
|
||||
void Scene501::synchronize(Common::Serializer &s) {
|
||||
Scene5xx::synchronize(s);
|
||||
|
||||
s.syncAsSint16LE(_mainSequenceId);
|
||||
s.syncAsSint16LE(_mainSpriteId);
|
||||
s.syncAsSint16LE(_doorHotspotid);
|
||||
s.syncAsByte(_rexPunched);
|
||||
}
|
||||
|
||||
void Scene501::handleSlotActions() {
|
||||
switch (_game._trigger) {
|
||||
case 0:
|
||||
|
@ -61,6 +61,7 @@ private:
|
||||
|
||||
public:
|
||||
Scene501(MADSEngine *vm) : Scene5xx(vm) {}
|
||||
void synchronize(Common::Serializer &s);
|
||||
|
||||
virtual void setup();
|
||||
virtual void enter();
|
||||
|
Loading…
Reference in New Issue
Block a user