diff options
author | Strangerke | 2015-10-18 23:57:38 +0200 |
---|---|---|
committer | Strangerke | 2015-10-18 23:57:38 +0200 |
commit | 7a56c52c89d8a6afc391b1f8181dcad56ad3997e (patch) | |
tree | 5403ce104290d993508227f4e8f19c14d1933304 /engines/mads/phantom/phantom_scenes1.h | |
parent | 5f3c0cf63aeaf46f30f40a5b7f9a119199dcc194 (diff) | |
download | scummvm-rg350-7a56c52c89d8a6afc391b1f8181dcad56ad3997e.tar.gz scummvm-rg350-7a56c52c89d8a6afc391b1f8181dcad56ad3997e.tar.bz2 scummvm-rg350-7a56c52c89d8a6afc391b1f8181dcad56ad3997e.zip |
MADS: Phantom: Fix some hotspot rects in scene 103, implement scene 108
Diffstat (limited to 'engines/mads/phantom/phantom_scenes1.h')
-rw-r--r-- | engines/mads/phantom/phantom_scenes1.h | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/engines/mads/phantom/phantom_scenes1.h b/engines/mads/phantom/phantom_scenes1.h index ad91b8edf9..7a3b3fb38e 100644 --- a/engines/mads/phantom/phantom_scenes1.h +++ b/engines/mads/phantom/phantom_scenes1.h @@ -219,10 +219,35 @@ public: }; class Scene107 : public Scene1xx { +public: + Scene107(MADSEngine *vm); + virtual void synchronize(Common::Serializer &s); + + virtual void setup(); + virtual void enter(); + virtual void step(); + virtual void preActions(); + virtual void actions(); +}; + +class Scene108 : public Scene1xx { private: + bool _anim0ActvFl; + bool _handRaisedFl; + int _shutUpCount; + int _maxTalkCount; + int _charAction; + int _charFrame; + int _charTalkCount; + int _charHotspotId; + int _conversationCount; + int _prevShutUpFrame; + + void handle_animation_char(); + void process_conversation_charles(); public: - Scene107(MADSEngine *vm); + Scene108(MADSEngine *vm); virtual void synchronize(Common::Serializer &s); virtual void setup(); @@ -231,6 +256,7 @@ public: virtual void preActions(); virtual void actions(); }; + } // End of namespace Phantom } // End of namespace MADS |