ScummVM API documentation
Lure::Hotspot Class Reference

Public Member Functions

 Hotspot (HotspotData *res)
 
 Hotspot (Hotspot *character, uint16 objType)
 
void setAnimation (uint16 newAnimId)
 
void setAnimationIndex (int animIndex)
 
void setAnimation (HotspotAnimData *newRecord)
 
uint16 hotspotId () const
 
uint16 originalId () const
 
Surfaceframes () const
 
HotspotAnimDataanim () const
 
HotspotDataresource () const
 
uint16 numFrames () const
 
uint16 frameNumber () const
 
void setFrameNumber (uint16 frameNum)
 
void incFrameNumber ()
 
Direction direction () const
 
uint16 frameWidth () const
 
int16 x () const
 
int16 y () const
 
int16 destX () const
 
int16 destY () const
 
int8 talkX () const
 
int8 talkY () const
 
uint16 destHotspotId () const
 
uint16 blockedOffset () const
 
uint8 exitCtr () const
 
bool walkFlag () const
 
uint16 startRoomNumber () const
 
uint16 width () const
 
uint16 height () const
 
uint16 widthCopy () const
 
uint16 heightCopy () const
 
uint16 yCorrection () const
 
uint16 charRectY () const
 
uint16 roomNumber () const
 
uint16 talkScript () const
 
uint16 hotspotScript () const
 
uint8 layer () const
 
bool skipFlag () const
 
void setTickProc (uint16 newVal)
 
bool persistent () const
 
void setPersistent (bool value)
 
uint8 colorOffset () const
 
void setColorOffset (uint8 value)
 
void setRoomNumber (uint16 roomNum)
 
uint16 nameId () const
 
const char * getName ()
 
bool isActiveAnimation ()
 
void setPosition (int16 newX, int16 newY)
 
void setDestPosition (int16 newX, int16 newY)
 
void setDestHotspot (uint16 id)
 
void setExitCtr (uint8 value)
 
BlockedState blockedState () const
 
void setBlockedState (BlockedState newState)
 
bool blockedFlag () const
 
void setBlockedFlag (bool newValue)
 
void setWalkFlag (bool value)
 
void setStartRoomNumber (uint16 value)
 
void setSize (uint16 newWidth, uint16 newHeight)
 
void setWidth (uint16 newWidth)
 
void setHeight (uint16 newHeight)
 
void setHotspotScript (uint16 offset)
 
void setLayer (uint8 newLayer)
 
void setActions (uint32 newActions)
 
void setCharRectY (uint16 value)
 
void setSkipFlag (bool value)
 
CharacterMode characterMode () const
 
void setCharacterMode (CharacterMode value)
 
uint16 delayCtr () const
 
void setDelayCtr (uint16 value)
 
uint16 pauseCtr () const
 
void setPauseCtr (uint16 value)
 
VariantBool coveredFlag () const
 
void setCoveredFlag (VariantBool value)
 
uint16 useHotspotId () const
 
void setUseHotspotId (uint16 value)
 
uint16 talkGate () const
 
void setTalkGate (uint16 value)
 
uint16 supportValue () const
 
void setSupportValue (uint16 value)
 
void copyTo (Surface *dest)
 
bool executeScript ()
 
void tick ()
 
bool isRoomExit (uint16 id)
 
void walkTo (int16 endPosX, int16 endPosY, uint16 destHotspot=0)
 
void stopWalking ()
 
void endAction ()
 
void setDirection (Direction dir)
 
void faceHotspot (HotspotData *hotspot)
 
void faceHotspot (uint16 hotspotId)
 
void setRandomDest ()
 
void setOccupied (bool occupiedFlag)
 
bool walkingStep ()
 
void updateMovement ()
 
void updateMovement2 (CharacterMode value)
 
void resetPosition ()
 
bool doorCloseCheck (uint16 doorId)
 
void doAction ()
 
void doAction (Action action, HotspotData *hotspot)
 
CurrentActionStackcurrentActions () const
 
PathFinderpathFinder ()
 
DestStructuretempDest ()
 
uint16 frameCtr () const
 
void setFrameCtr (uint16 value)
 
void decrFrameCtr ()
 
uint8 actionCtr () const
 
void setActionCtr (uint8 v)
 
uint8 voiceCtr () const
 
void setVoiceCtr (uint8 v)
 
void doNothing (HotspotData *hotspot)
 
void converse (uint16 destCharacterId, uint16 messageId, bool srcStandStill=false, bool destStandStill=false)
 
void showMessage (uint16 messageId, uint16 destCharacterId=NOONE_ID)
 
void scheduleConverse (uint16 destHotspot, uint16 messageId)
 
void handleTalkDialog ()
 
void saveToStream (Common::WriteStream *stream) const
 
void loadFromStream (Common::ReadStream *stream)
 

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