ScummVM API documentation
Illusions::Control Class Reference

Public Member Functions

 Control (IllusionsEngine *vm)
 
void pause ()
 
void unpause ()
 
void appearActor ()
 
void disappearActor ()
 
bool isActorVisible ()
 
void activateObject ()
 
void deactivateObject ()
 
void readPointsConfig (byte *pointsConfig)
 
void setActorPosition (Common::Point position)
 
Common::Point getActorPosition ()
 
void setActorScale (int scale)
 
void faceActor (uint facing)
 
void linkToObject (uint32 parentObjectId, uint32 linkedObjectValue)
 
void unlinkObject ()
 
void clearNotifyThreadId1 ()
 
void clearNotifyThreadId2 ()
 
void setPriority (int16 priority)
 
uint32 getOverlapPriority ()
 
uint32 getDrawPriority ()
 
uint32 getPriority ()
 
Common::Point calcPosition (Common::Point posDelta)
 
uint32 getSubActorParent ()
 
void getCollisionRectAccurate (Common::Rect &collisionRect)
 
void getCollisionRect (Common::Rect &collisionRect)
 
void setActorUsePan (int usePan)
 
void setActorFrameIndex (int16 frameIndex)
 
void stopActor ()
 
void startSequenceActor (uint32 sequenceId, int value, uint32 notifyThreadId)
 
void stopSequenceActor ()
 
void startTalkActor (uint32 sequenceId, byte *entryTblPtr, uint32 threadId)
 
void sequenceActor ()
 
void setActorIndex (int actorIndex)
 
void setActorIndexTo1 ()
 
void setActorIndexTo2 ()
 
void startSubSequence (int linkIndex, uint32 sequenceId)
 
void stopSubSequence (int linkIndex)
 
void startMoveActor (uint32 sequenceId, Common::Point destPt, uint32 callerThreadId1, uint32 callerThreadId2)
 
PointArraycreatePath (Common::Point destPt)
 
void updateActorMovement (uint32 deltaTime)
 
void refreshSequenceCode ()
 
void getActorFrameDimensions (WidthHeight &dimensions)
 
void drawActorRect (const Common::Rect r, byte color)
 
void fillActor (byte color)
 
bool isPixelCollision (Common::Point &pt)
 
void startSequenceActorIntern (uint32 sequenceId, int value, byte *entryTblPtr, uint32 notifyThreadId)
 
void execSequenceOpcode (OpCall &opCall)
 

Public Attributes

IllusionsEngine_vm
 
uint _flags
 
int _pauseCtr
 
int16 _priority
 
Actor_actor
 
uint32 _sceneId
 
uint32 _objectId
 
uint32 _actorTypeId
 
WRect _bounds
 
Common::Point _feetPt
 
Common::Point _position
 
Common::Point _subobjectsPos [kSubObjectsCount]
 

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