ScummVM API documentation
NGI::Movement Class Reference
Inheritance diagram for NGI::Movement:
NGI::GameObject NGI::CObject

Public Member Functions

 Movement (Movement *src, StaticANIObject *ani)
 
 Movement (Movement *src, int *flag1, int flag2, StaticANIObject *ani)
 
bool load (MfcArchive &file) override
 
bool load (MfcArchive &file, StaticANIObject *ani)
 
Common::Point getCurrDynamicPhaseXY () const
 
Common::Point getCenter () const
 
Dims getDimensionsOfPhase (int phaseIndex) const
 
Common::Point calcSomeXY (int idx, int dynidx)
 
void initStatics (StaticANIObject *ani)
 
void updateCurrDynamicPhase ()
 
void setAlpha (int alpha)
 
void setDynamicPhaseIndex (int index)
 
DynamicPhasegetDynamicPhaseByIndex (int idx)
 
int calcDuration ()
 
int countPhasesWithFlag (int maxidx, int flag)
 
void removeFirstPhase ()
 
bool gotoNextFrame (void(*_callback1)(int, Common::Point *point, int, int), void(*callback2)(int *))
 
bool gotoPrevFrame ()
 
void gotoFirstFrame ()
 
void gotoLastFrame ()
 
void loadPixelData ()
 
void freePixelData ()
 
void draw (bool flipFlag, int angle)
 
- Public Member Functions inherited from NGI::GameObject
 GameObject (GameObject *src)
 
virtual Common::String toXML ()
 
void setOXY (int x, int y)
 
void renumPictures (Common::Array< StaticANIObject *> *lst)
 
void renumPictures (Common::Array< PictureObject *> *lst)
 
void setFlags (int16 flags)
 
void clearFlags ()
 
Common::String getName ()
 
bool getPicAniInfo (PicAniInfo &info)
 
bool setPicAniInfo (const PicAniInfo &info)
 
- Public Member Functions inherited from NGI::CObject
virtual void save (MfcArchive &out)
 
bool loadFile (const Common::Path &fname)
 

Public Attributes

Common::Point _somePoint
 
int _lastFrameSpecialFlag
 
int _flipFlag
 
int _updateFlag1
 
Statics_staticsObj1
 
Statics_staticsObj2
 
int _mx
 
int _my
 
int _m2x
 
int _m2y
 
int _field_50
 
int _counterMax
 
int _counter
 
Common::Array< DynamicPhase * > _dynamicPhases
 
int _field_78
 
PointList _framePosOffsets
 
Movement_currMovement
 
int _field_84
 
DynamicPhase_currDynamicPhase
 
int _field_8C
 
int _currDynamicPhaseIndex
 
int _field_94
 
- Public Attributes inherited from NGI::GameObject
int16 _odelay
 
int _field_8
 
int16 _flags
 
int16 _id
 
Common::String _objectName
 
int _ox
 
int _oy
 
int _priority
 
int _field_20
 
- Public Attributes inherited from NGI::CObject
ObjType _objtype
 
uint _cnum
 

Member Data Documentation

◆ _dynamicPhases

Common::Array<DynamicPhase *> NGI::Movement::_dynamicPhases

a confusing mix of owned and unowned items


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