diff options
Diffstat (limited to 'engines/titanic/star_control/camera_auto_mover.h')
-rw-r--r-- | engines/titanic/star_control/camera_auto_mover.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/titanic/star_control/camera_auto_mover.h b/engines/titanic/star_control/camera_auto_mover.h index dc9cf6df45..7b2e44fe13 100644 --- a/engines/titanic/star_control/camera_auto_mover.h +++ b/engines/titanic/star_control/camera_auto_mover.h @@ -49,7 +49,7 @@ protected: int _field44; int _field48; int _field4C; - Common::Array<double> _speeds; + double _speeds[32]; int _field54; double _transitionPercent; double _transitionPercentInc; @@ -63,7 +63,11 @@ public: virtual void proc3(const FMatrix &srcOrient, const FMatrix &destOrient); virtual void setPath(const FVector &srcV, const FVector &destV, const FMatrix &orientation); virtual int proc5(CErrorCode &errorCode, FVector &pos, FMatrix &orientation) { return 2; } - virtual void proc6(int val1, int val2, float val); + /** + * Given a distance to cover, determines a bunch of speeds for a gradual transition + * from one position to another (the mover). The speeds go from fast to slow + */ + virtual void calcSpeeds(int val1, int val2, float distance); bool isActive() const { return _active; } }; |