ScummVM API documentation
Titanic::CMotionControlUnmarked Class Reference
Inheritance diagram for Titanic::CMotionControlUnmarked:
Titanic::CMotionControl

Public Member Functions

 CMotionControlUnmarked (const CNavigationInfo *src)
 
void moveTo (const FVector &srcV, const FVector &destV, const FMatrix &orientation) override
 
void transitionBetweenOrientations (const FVector &v1, const FVector &v2, const FVector &v3, const FMatrix &m) override
 
void updatePosition (CErrorCode &errorCode, FVector &pos, FMatrix &orientation) override
 
- Public Member Functions inherited from Titanic::CMotionControl
 CMotionControl (const CNavigationInfo *src)
 
virtual void setMotion (const CNavigationInfo *src)
 
virtual void getMotion (CNavigationInfo *dest)
 
virtual void clear ()
 
virtual void reset ()
 
virtual void setCallback (CCallbackHandler *callback)
 
virtual void accelerate ()
 
virtual void deccelerate ()
 
virtual void fullSpeed ()
 
virtual void stop ()
 
virtual void transitionBetweenPosOrients (const FVector &oldPos, const FVector &newPos, const FMatrix &oldOrientation, const FMatrix &newOrientation)
 
virtual void load (SimpleFile *file, int version=0)
 
virtual void save (SimpleFile *file, int indent)
 
void incLockCount ()
 
void decLockCount ()
 
bool isLocked () const
 

Additional Inherited Members

- Public Attributes inherited from Titanic::CMotionControl
int _lockCounter
 
CCallbackHandler_callback
 
- Protected Attributes inherited from Titanic::CMotionControl
double _currVelocity
 
double _incVelocity
 
double _incAcceleration
 
double _minVelocity
 
double _maxVelocity
 
double _rotationX
 
double _rotationY
 
double _rotationZ
 

Member Function Documentation

◆ moveTo()

void Titanic::CMotionControlUnmarked::moveTo ( const FVector srcV,
const FVector destV,
const FMatrix orientation 
)
overridevirtual

Start a movement to a given specified destination

Reimplemented from Titanic::CMotionControl.

◆ transitionBetweenOrientations()

void Titanic::CMotionControlUnmarked::transitionBetweenOrientations ( const FVector v1,
const FVector v2,
const FVector v3,
const FMatrix m 
)
overridevirtual

First two vectors are used to form a new orientation that gets transitioned to from the old orientation m.

Reimplemented from Titanic::CMotionControl.

◆ updatePosition()

void Titanic::CMotionControlUnmarked::updatePosition ( CErrorCode errorCode,
FVector pos,
FMatrix orientation 
)
overridevirtual

Update the passed position and orientation matrix

Reimplemented from Titanic::CMotionControl.


The documentation for this class was generated from the following file: