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

Public Member Functions

 StaticANIObject (StaticANIObject *src)
 
bool load (MfcArchive &file) override
 
void setOXY (int x, int y)
 
StaticsgetStaticsById (int id)
 
StaticsgetStaticsByName (const Common::String &name)
 
MovementgetMovementById (int id)
 
int getMovementIdById (int itemId) const
 
MovementgetMovementByName (const Common::String &name)
 
Common::Point getCurrDimensions () const
 
Common::Point getSomeXY () const
 
void clearFlags ()
 
void setFlags40 (bool state)
 
bool isIdle ()
 
void setAlpha (int alpha)
 
void deleteFromGlobalMessageQueue ()
 
bool queueMessageQueue (MessageQueue *msg)
 
void restartMessageQueue (MessageQueue *msg)
 
MessageQueuegetMessageQueue ()
 
bool trySetMessageQueue (int msgNum, int qId)
 
void startMQIfIdle (int qId, int flag)
 
void initMovements ()
 
void loadMovementsPixelData ()
 
void freeMovementsPixelData ()
 
void preloadMovements (MovTable *mt)
 
void setSomeDynamicPhaseIndex (int val)
 
void adjustSomeXY ()
 
bool startAnim (int movementId, int messageQueueId, int dynPhaseIdx)
 
bool startAnimEx (int movid, int parId, int flag1, int flag2)
 
void startAnimSteps (int movementId, int messageQueueId, int x, int y, const PointList &points, int someDynamicPhaseIndex)
 
void hide ()
 
void show1 (int x, int y, int movementId, int mqId)
 
void show2 (int x, int y, int movementId, int mqId)
 
void playIdle ()
 
void update (int counterdiff)
 
StaticsaddReverseStatics (Statics *ani)
 
void draw ()
 
void draw2 ()
 
MovTablecountMovements ()
 
Common::PointcalcStepLen (Common::Point *p)
 
void setSpeed (int speed)
 
void updateStepPos ()
 
void stopAnim_maybe ()
 
Common::PointcalcNextStep (Common::Point *point)
 
MessageQueuechangeStatics1 (int msgNum)
 
void changeStatics2 (int objId)
 
bool getPixelAtPos (int x, int y, uint32 *pixel, bool hitOnly=false)
 
bool isPixelHitAtPos (int x, int y)
 
- 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

Movement_movement
 
Statics_statics
 
int _shadowsOn
 
int16 _field_30
 
int16 _field_32
 
int _field_34
 
int _initialCounter
 
void(* _callback1 )(int, Common::Point *point, int, int)
 
void(* _callback2 )(int *)
 
Common::Array< Movement * > _movements
 
Common::Array< Statics * > _staticsList
 
StepArray _stepArray
 
int16 _field_96
 
int _messageQueueId
 
int _messageNum
 
int _animExFlag
 
int _counter
 
int _someDynamicPhaseIndex
 
int16 _sceneId
 
- 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 Function Documentation

◆ countMovements()

MovTable* NGI::StaticANIObject::countMovements ( )

ownership of returned object is transferred to caller

Member Data Documentation

◆ _movements

Common::Array<Movement *> NGI::StaticANIObject::_movements

list items are owned

◆ _staticsList

Common::Array<Statics *> NGI::StaticANIObject::_staticsList

list items are owned


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