aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/phantom/phantom_scenes1.h
diff options
context:
space:
mode:
authorStrangerke2015-10-15 11:21:31 +0200
committerStrangerke2015-10-15 11:21:31 +0200
commit79fbcb96c3532e730ad8298d96f56f4a52c77ead (patch)
tree02afeca23784e7629629bdab2674727d53987e4a /engines/mads/phantom/phantom_scenes1.h
parentc275e304df97260ca79b5c2ca2b64e4de3670294 (diff)
downloadscummvm-rg350-79fbcb96c3532e730ad8298d96f56f4a52c77ead.tar.gz
scummvm-rg350-79fbcb96c3532e730ad8298d96f56f4a52c77ead.tar.bz2
scummvm-rg350-79fbcb96c3532e730ad8298d96f56f4a52c77ead.zip
MADS: Add logic for scene 103, some rework on animations
Diffstat (limited to 'engines/mads/phantom/phantom_scenes1.h')
-rw-r--r--engines/mads/phantom/phantom_scenes1.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/engines/mads/phantom/phantom_scenes1.h b/engines/mads/phantom/phantom_scenes1.h
index 2da9ba7f91..f978fa4b19 100644
--- a/engines/mads/phantom/phantom_scenes1.h
+++ b/engines/mads/phantom/phantom_scenes1.h
@@ -101,6 +101,56 @@ public:
virtual void actions();
};
+class Scene103 : public Scene1xx {
+private:
+ int _jacquesAction;
+ int _lastRandom;
+ int _standPosition;
+ int _hotspotPrompt1;
+ int _hotspotPrompt2;
+ int _hotspotPrompt3;
+ int _hotspotPrompt4;
+ int _hotspotPrompt5;
+ int _hotspotRightFloor1;
+ int _hotspotRightFloor2;
+ int _hotspotLeftFloor1;
+ int _hotspotLeftFloor2;
+ int _hotspotGentleman;
+ int _convCount;
+ int _lastStairFrame;
+ int _lastJacquesFrame;
+ int _talkCount;
+
+ bool _anim0ActvFl;
+ bool _anim1ActvFl;
+ bool _anim2ActvFl;
+ bool _anim3ActvFl;
+ bool _anim4ActvFl;
+ bool _anim5ActvFl;
+ bool _anim6ActvFl;
+ bool _climbThroughTrapFl;
+ bool _guardFrameFl;
+ bool _sitFl;
+
+ void adjustRails(int variant);
+ void handleJacquesAnim();
+ void climbRightStairs();
+ void climbLeftStairs();
+ void descendRightStairs();
+ void descendLeftStairs();
+ void process_conv_jacques();
+
+public:
+ Scene103(MADSEngine *vm);
+ virtual void synchronize(Common::Serializer &s);
+
+ virtual void setup();
+ virtual void enter();
+ virtual void step();
+ virtual void preActions();
+ virtual void actions();
+};
+
} // End of namespace Phantom
} // End of namespace MADS