aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular/nebular_scenes6.h
diff options
context:
space:
mode:
authorStrangerke2014-05-12 18:55:58 +0200
committerStrangerke2014-05-12 18:56:34 +0200
commit8e728a04e893ebb9efe249715506289f2088ab16 (patch)
treec3527c40d59cb7f147550d1db6e5e9a9be0ca674 /engines/mads/nebular/nebular_scenes6.h
parent24243d57e6a3b6fc291b754339aa60e98a76592e (diff)
downloadscummvm-rg350-8e728a04e893ebb9efe249715506289f2088ab16.tar.gz
scummvm-rg350-8e728a04e893ebb9efe249715506289f2088ab16.tar.bz2
scummvm-rg350-8e728a04e893ebb9efe249715506289f2088ab16.zip
MADS: Implement scene 608
Diffstat (limited to 'engines/mads/nebular/nebular_scenes6.h')
-rw-r--r--engines/mads/nebular/nebular_scenes6.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/engines/mads/nebular/nebular_scenes6.h b/engines/mads/nebular/nebular_scenes6.h
index 69db9eb4f3..d259eab61e 100644
--- a/engines/mads/nebular/nebular_scenes6.h
+++ b/engines/mads/nebular/nebular_scenes6.h
@@ -161,6 +161,54 @@ public:
virtual void postActions() {};
};
+class Scene608: public Scene6xx{
+private:
+ int _carMode;
+ int _carFrame;
+ int _carMoveMode;
+ int _dogDeathMode;
+ int _carHotspotId;
+ int _barkCount;
+ int _polycementHotspotId;
+ int _animationMode;
+ int _nextTrigger;
+ int _throwMode;
+
+ bool _resetPositionsFl;
+ bool _dogActiveFl;
+ bool _dogBarkingFl;
+ bool _dogFirstEncounter;
+ bool _rexBeingEaten;
+ bool _dogHitWindow;
+ bool _checkFl;
+ bool _dogSquashFl;
+ bool _dogSafeFl;
+ bool _buttonPressedonTimeFl;
+ bool _dogUnderCar;
+ bool _dogYelping;
+
+ long _dogWindowTimer;
+ long _dogRunTimer;
+
+ uint32 _dogTimer1;
+ uint32 _dogTimer2;
+
+ void resetDogVariables();
+ void restoreAnimations();
+ void setCarAnimations();
+ void handleThrowingBone();
+
+public:
+ Scene608(MADSEngine *vm) : Scene6xx(vm) {}
+
+ virtual void setup();
+ virtual void enter();
+ virtual void step();
+ virtual void preActions();
+ virtual void actions();
+ virtual void postActions() {};
+};
+
class Scene620: public Scene6xx{
public:
Scene620(MADSEngine *vm) : Scene6xx(vm) {}