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

Public Member Functions

 CMotionControlMarked (const CNavigationInfo *src)
 
void transitionBetweenPosOrients (const FVector &oldPos, const FVector &newPos, const FMatrix &oldOrientation, const FMatrix &newOrientation) 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 moveTo (const FVector &srcV, const FVector &destV, const FMatrix &orientation)
 
virtual void transitionBetweenOrientations (const FVector &v1, const FVector &v2, const FVector &v3, const FMatrix &m)
 
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

◆ transitionBetweenPosOrients()

void Titanic::CMotionControlMarked::transitionBetweenPosOrients ( const FVector oldPos,
const FVector newPos,
const FMatrix oldOrientation,
const FMatrix newOrientation 
)
overridevirtual

Move the mover from an old position and orientation to a new position and orientation

Reimplemented from Titanic::CMotionControl.

◆ updatePosition()

void Titanic::CMotionControlMarked::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: