ScummVM API documentation
Sherlock::Scalpel::ScalpelPerson Class Reference
Inheritance diagram for Sherlock::Scalpel::ScalpelPerson:
Sherlock::Person Sherlock::Sprite Sherlock::BaseObject

Public Member Functions

virtual void synchronize (Serializer &s)
 
void adjustSprite () override
 
void gotoStand () override
 
void setWalking () override
 
void walkToCoords (const Point32 &destPos, int destDir) override
 
Common::Point getSourcePoint () const override
 
- Public Member Functions inherited from Sherlock::Person
void goAllTheWay ()
 
virtual void centerScreenOnPerson ()
 
- Public Member Functions inherited from Sherlock::Sprite
void clear ()
 
void setImageFrame ()
 
void checkSprite ()
 
void setObjTalkSequence (int seq) override
 
int frameWidth () const
 
int frameHeight () const
 
const Common::Rect getOldBounds () const
 
- Public Member Functions inherited from Sherlock::BaseObject
bool hasAborts () const
 
void checkObject ()
 
int checkNameForCodes (const Common::String &name, FixedTextActionId fixedTextActionId=kFixedTextAction_Invalid)
 

Additional Inherited Members

- Static Public Member Functions inherited from Sherlock::Sprite
static void setVm (SherlockEngine *vm)
 
- Static Public Member Functions inherited from Sherlock::BaseObject
static void setVm (SherlockEngine *vm)
 
- Public Attributes inherited from Sherlock::Person
Common::Queue< Common::Point_walkTo
 
int _srcZone
 
int _destZone
 
bool _walkLoaded
 
Common::String _portrait
 
Common::Point _walkDest
 
Common::String _npcName
 
Common::Path _walkVGSName
 
- Public Attributes inherited from Sherlock::Sprite
Common::String _name
 
Common::String _examine
 
Common::String _pickUp
 
WalkSequences _walkSequences
 
Common::Point _noShapeSize
 
int _status
 
int8 _misc
 
ImageFrame_stopFrames [8]
 
ImageFile_altImages
 
int _altSeq
 
int _centerWalk
 
Common::Point _adjust
 
int _oldWalkSequence
 
- Public Attributes inherited from Sherlock::BaseObject
SpriteType _type
 
Common::String _description
 
byte * _sequences
 
ImageFile_images
 
ImageFrame_imageFrame
 
int _sequenceNumber
 
int _startSeq
 
int _walkCount
 
int _allow
 
int _frameNumber
 
Point32 _position
 
Point32 _delta
 
Common::Point _oldPosition
 
Common::Point _oldSize
 
Point32 _goto
 
int _lookFlag
 
int _requiredFlag [2]
 
Common::Point _noShapeSize
 
int _status
 
int8 _misc
 
int _maxFrames
 
int _flags
 
AType _aType
 
int _lookFrames
 
int _seqCounter
 
PositionFacing _lookPosition
 
int _lookcAnim
 
int _seqStack
 
int _seqTo
 
uint _descOffset
 
int _seqCounter2
 
uint _seqSize
 
UseType _use [6]
 
int _quickDraw
 
int _scaleVal
 
int _gotoSeq
 
int _talkSeq
 
int _restoreSlot
 
- Static Public Attributes inherited from Sherlock::BaseObject
static bool _countCAnimFrames
 
- Protected Member Functions inherited from Sherlock::BaseObject
bool checkEndOfSequence ()
 
void setObjSequence (int seq, bool wait)
 
- Static Protected Attributes inherited from Sherlock::BaseObject
static SherlockEngine_vm
 

Member Function Documentation

◆ synchronize()

virtual void Sherlock::Scalpel::ScalpelPerson::synchronize ( Serializer s)
virtual

Synchronize the data for a savegame

◆ adjustSprite()

void Sherlock::Scalpel::ScalpelPerson::adjustSprite ( )
overridevirtual

This adjusts the sprites position, as well as its animation sequence:

Implements Sherlock::Sprite.

◆ gotoStand()

void Sherlock::Scalpel::ScalpelPerson::gotoStand ( )
overridevirtual

Bring a moving character to a standing position

Implements Sherlock::Sprite.

◆ setWalking()

void Sherlock::Scalpel::ScalpelPerson::setWalking ( )
overridevirtual

Set the variables for moving a character from one poisition to another in a straight line

Implements Sherlock::Sprite.

◆ walkToCoords()

void Sherlock::Scalpel::ScalpelPerson::walkToCoords ( const Point32 destPos,
int  destDir 
)
overridevirtual

Walk to the co-ordinates passed, and then face the given direction

Implements Sherlock::Person.

◆ getSourcePoint()

Common::Point Sherlock::Scalpel::ScalpelPerson::getSourcePoint ( ) const
overridevirtual

Get the source position for a character potentially affected by scaling

Implements Sherlock::Person.


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