ScummVM API documentation
NGI::MovGraph Class Reference
Inheritance diagram for NGI::MovGraph:
NGI::MotionController NGI::CObject NGI::MctlGraph

Public Member Functions

bool load (MfcArchive &file) override
 
void attachObject (StaticANIObject *obj) override
 
int detachObject (StaticANIObject *obj) override
 
void detachAllObjects () override
 
Common::Array< MovItem * > * getPaths (StaticANIObject *ani, int x, int y, int flag1, int *rescount) override
 
bool setPosImmediate (StaticANIObject *obj, int x, int y) override
 
MessageQueue * startMove (StaticANIObject *subj, int xpos, int ypos, int fuzzyMatch, int staticsId) override
 
void setSelFunc (MovArr *(*_callback1)(StaticANIObject *ani, Common::Array< MovItem * > *items, signed int counter)) override
 
bool resetPosition (StaticANIObject *ani, int flag) override
 
bool canDropInventory (StaticANIObject *ani, int x, int y) override
 
MessageQueue * makeQueue (StaticANIObject *subj, int xpos, int ypos, int fuzzyMatch, int staticsId) override
 
virtual MessageQueue * method50 (StaticANIObject *ani, MovArr *movarr, int staticsId)
 
double putToLink (Common::Point *point, MovGraphLink *link, int fuzzyMatch)
 
void recalcLinkParams ()
 
bool getNearestPoint (int unusedArg, Common::Point *p, MovArr *movarr)
 
MovGraphNode * calcOffset (int ox, int oy)
 
int getObjectIndex (StaticANIObject *ani)
 
Common::Array< MovArr * > * getHitPoints (int x, int y, int *arrSize, int flag1, int flag2)
 
void findAllPaths (MovGraphLink *lnk, MovGraphLink *lnk2, MovGraphLinkList &tempObList1, MovGraphLinkList &tempObList2)
 
Common::Array< MovItem * > * getPaths (MovArr *movarr1, MovArr *movarr2, int *listCount)
 
void genMovItem (MovItem *movitem, MovGraphLink *grlink, MovArr *movarr1, MovArr *movarr2)
 
bool getHitPoint (int idx, int x, int y, MovArr *arr, int a6)
 
MessageQueue * sub1 (StaticANIObject *ani, int x, int y, int a5, int x1, int y1, int a8, int a9)
 
MessageQueue * makeWholeQueue (StaticANIObject *ani, MovArr *movarr, int staticsId)
 
void setEnds (MovStep *step1, MovStep *step2)
 
- Public Member Functions inherited from NGI::MotionController
bool load (MfcArchive &file) override
 
virtual void methodC ()
 
virtual void method10 ()
 
virtual void deactivate ()
 
virtual void activate ()
 
virtual void attachObject (StaticANIObject *obj)
 
virtual int detachObject (StaticANIObject *obj)
 
virtual void detachAllObjects ()
 
virtual Common::Array< MovItem * > * getPaths (StaticANIObject *ani, int x, int y, int flag1, int *rescount)
 
virtual bool setPosImmediate (StaticANIObject *obj, int x, int y)
 
virtual int method30 ()
 
virtual MessageQueue * startMove (StaticANIObject *subj, int xpos, int ypos, int fuzzyMatch, int staticsId)
 
virtual void setSelFunc (MovArr *(*_callback1)(StaticANIObject *ani, Common::Array< MovItem * > *items, signed int counter))
 
virtual bool resetPosition (StaticANIObject *ani, int flag)
 
virtual int method40 ()
 
virtual bool canDropInventory (StaticANIObject *ani, int x, int y)
 
virtual int method48 ()
 
virtual MessageQueue * makeQueue (StaticANIObject *subj, int xpos, int ypos, int fuzzyMatch, int staticsId)
 
void enableLinks (const char *linkName, bool enable)
 
MovGraphLink * getLinkByName (const char *name)
 
- Public Member Functions inherited from NGI::CObject
virtual bool load (MfcArchive &in)
 
virtual void save (MfcArchive &out)
 
bool loadFile (const Common::Path &fname)
 

Static Public Member Functions

static int messageHandler (ExCommand *cmd)
 

Additional Inherited Members

- Public Attributes inherited from NGI::MotionController
int _field_4
 
bool _isEnabled
 
- Public Attributes inherited from NGI::CObject
ObjType _objtype
 
uint _cnum
 

Member Function Documentation

◆ load()

bool NGI::MovGraph::load ( MfcArchive &  file)
overridevirtual

Reimplemented from NGI::MotionController.

◆ attachObject()

void NGI::MovGraph::attachObject ( StaticANIObject *  obj)
overridevirtual

Reimplemented from NGI::MotionController.

◆ detachObject()

int NGI::MovGraph::detachObject ( StaticANIObject *  obj)
overridevirtual

Reimplemented from NGI::MotionController.

◆ detachAllObjects()

void NGI::MovGraph::detachAllObjects ( )
overridevirtual

Reimplemented from NGI::MotionController.

◆ getPaths()

Common::Array< MovItem * > * NGI::MovGraph::getPaths ( StaticANIObject *  ani,
int  x,
int  y,
int  flag1,
int *  rescount 
)
overridevirtual

Reimplemented from NGI::MotionController.

◆ setPosImmediate()

bool NGI::MovGraph::setPosImmediate ( StaticANIObject *  obj,
int  x,
int  y 
)
overridevirtual

Reimplemented from NGI::MotionController.

◆ startMove()

MessageQueue * NGI::MovGraph::startMove ( StaticANIObject *  subj,
int  xpos,
int  ypos,
int  fuzzyMatch,
int  staticsId 
)
overridevirtual

Reimplemented from NGI::MotionController.

◆ setSelFunc()

void NGI::MovGraph::setSelFunc ( MovArr *(*)(StaticANIObject *ani, Common::Array< MovItem * > *items, signed int counter)  _callback1)
overridevirtual

Reimplemented from NGI::MotionController.

◆ resetPosition()

bool NGI::MovGraph::resetPosition ( StaticANIObject *  ani,
int  flag 
)
overridevirtual

Reimplemented from NGI::MotionController.

◆ canDropInventory()

bool NGI::MovGraph::canDropInventory ( StaticANIObject *  ani,
int  x,
int  y 
)
overridevirtual

Reimplemented from NGI::MotionController.

◆ makeQueue()

MessageQueue * NGI::MovGraph::makeQueue ( StaticANIObject *  subj,
int  xpos,
int  ypos,
int  fuzzyMatch,
int  staticsId 
)
overridevirtual

Reimplemented from NGI::MotionController.


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