diff options
author | Filippos Karapetis | 2013-10-05 14:52:48 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-10-05 14:52:48 +0300 |
commit | b408b94bf1e188da7202895eab547f08cfa30450 (patch) | |
tree | 2481c9409fc4ce595aa211ecfb02bf1fece25a59 /engines/neverhood/modules/module1600.h | |
parent | b963fcbfa8794c807d831ab3b117634ce7c8550e (diff) | |
download | scummvm-rg350-b408b94bf1e188da7202895eab547f08cfa30450.tar.gz scummvm-rg350-b408b94bf1e188da7202895eab547f08cfa30450.tar.bz2 scummvm-rg350-b408b94bf1e188da7202895eab547f08cfa30450.zip |
NEVERHOOD: Split sprites from their scenes in module 1600
Diffstat (limited to 'engines/neverhood/modules/module1600.h')
-rw-r--r-- | engines/neverhood/modules/module1600.h | 88 |
1 files changed, 1 insertions, 87 deletions
diff --git a/engines/neverhood/modules/module1600.h b/engines/neverhood/modules/module1600.h index 0d1ceaa452..f08eaad8fc 100644 --- a/engines/neverhood/modules/module1600.h +++ b/engines/neverhood/modules/module1600.h @@ -26,12 +26,9 @@ #include "neverhood/neverhood.h" #include "neverhood/module.h" #include "neverhood/scene.h" -#include "neverhood/console.h" namespace Neverhood { -// Module1600 - class Module1600 : public Module { public: Module1600(NeverhoodEngine *vm, Module *parentModule, int which); @@ -42,90 +39,7 @@ protected: void updateScene(); }; -class AsCommonCar : public AnimatedSprite { -public: - AsCommonCar(NeverhoodEngine *vm, Scene *parentScene, int16 x, int16 y); - ~AsCommonCar(); - void setPathPoints(NPointArray *pathPoints); -protected: - Scene *_parentScene; - NPointArray *_pathPoints; - int _newMoveDirection; - int _currMoveDirection; - int _exitDirection; - int _currPointIndex; - bool _hasAgainDestPoint; - NPoint _againDestPoint; - bool _hasAgainDestPointIndex; - int _againDestPointIndex; - bool _inMainArea; - bool _isBraking; - bool _isBusy; - bool _isIdle; - bool _isMoving; - bool _rectFlag; - int _idleCounter; - int _idleCounterMax; - int _steps; - int _stepError; - int _lastDistance; - int _yMoveTotalSteps; - int _ySteps; - int _newDeltaXType; - int _soundCounter; - int _turnMoveStatus; - int16 _destX, _destY; - NPoint pathPoint(uint index) { return (*_pathPoints)[index]; } - void update(); - void upIdle(); - uint32 handleMessage(int messageNum, const MessageParam ¶m, Entity *sender); - uint32 hmAnimation(int messageNum, const MessageParam ¶m, Entity *sender); - uint32 hmLeaveCar(int messageNum, const MessageParam ¶m, Entity *sender); - void stCarAtHome(); - void updateTurnMovement(); - void updateMovement(); - void stEnterCar(); - void stLeaveCar(); - void stLeanForwardIdle(); - void evIdleDone(); - void stIdleBlink(); - void stUpdateMoveDirection(); - void stTurnCar(); - void moveToNextPoint(); - void stBrakeMoveToNextPoint(); - void stTurnCarMoveToNextPoint(); - void moveToPrevPoint(); - void stBrakeMoveToPrevPoint(); - void stTurnCarMoveToPrevPoint(); - void evTurnCarDone(); - void suMoveToNextPoint(); - void suMoveToPrevPoint(); - void updateSound(); -}; - -class AsCommonIdleCarLower : public AnimatedSprite { -public: - AsCommonIdleCarLower(NeverhoodEngine *vm, int16 x, int16 y); -}; - -class AsCommonIdleCarFull : public AnimatedSprite { -public: - AsCommonIdleCarFull(NeverhoodEngine *vm, int16 x, int16 y); -}; - -class AsCommonCarConnector : public AnimatedSprite { -public: - AsCommonCarConnector(NeverhoodEngine *vm, AsCommonCar *asCar); -protected: - AsCommonCar *_asCar; - void update(); -}; - -class Tracks : public Common::Array<TrackInfo*> { -public: - void findTrackPoint(NPoint pt, int &minMatchTrackIndex, int &minMatchDistance, - DataResource &dataResource); -}; +class AsCommonCar; class Scene1608 : public Scene { public: |