Public Member Functions | |
ActorHE (ScummEngine *scumm, int id) | |
void | initActor (int mode) override |
void | hideActor () override |
void | drawActorToBackBuf (int x, int y) |
void | setActorEraseType (int eraseValue) |
void | setCondition (int slot, int set) |
bool | isConditionSet (int slot) const |
void | setUserCondition (int slot, int set) |
bool | isUserConditionSet (int slot) const |
void | setTalkCondition (int slot) |
bool | isTalkConditionSet (int slot) const |
void | clearActorUpdateInfo () |
void | setActorUpdateArea (int x1, int y1, int x2, int y2) |
void | prepareDrawActorCostume (BaseCostumeRenderer *bcr) override |
void | setActorCostume (int c) override |
Public Member Functions inherited from Scumm::Actor | |
Actor (ScummEngine *scumm, int id) | |
void | showActor () |
void | putActor () |
void | putActor (int room) |
void | putActor (int x, int y) |
void | putActor (int x, int y, int room) |
void | setActorWalkSpeed (uint newSpeedX, uint newSpeedY) |
void | adjustActorPos () |
virtual AdjustBoxResult | adjustXYToBeInBox (int dstX, int dstY) |
virtual void | setDirection (int direction) |
void | faceToObject (int obj) |
virtual void | turnToDirection (int newdir) |
virtual void | walkActor () |
void | drawActorCostume (bool hitTestMode=false) |
virtual void | animateCostume () |
void | animateLimb (int limb, int f) |
bool | actorHitTest (int x, int y) |
const byte * | getActorName () |
void | startWalkActor (int x, int y, int dir) |
void | stopActorMoving () |
void | runActorTalkScript (int f) |
virtual void | startAnimActor (int frame) |
void | remapActorPalette (int r_fact, int g_fact, int b_fact, int threshold) |
void | remapActorPaletteColor (int slot, int color) |
void | animateActor (int anim) |
bool | isInCurrentRoom () const |
Common::Point | getPos () const |
const Common::Point & | getRealPos () const |
int | getRoom () const |
int | getFacing () const |
void | setFacing (int newFacing) |
int | getAnimVar (byte var) const |
void | setAnimVar (byte var, int value) |
void | setAnimSpeed (byte newAnimSpeed) |
int | getAnimSpeed () const |
int | getAnimProgress () const |
int | getElevation () const |
void | setElevation (int newElevation) |
void | setPalette (int idx, int val) |
void | setScale (int sx, int sy) |
void | classChanged (int cls, bool value) |
void | saveLoadWithSerializer (Common::Serializer &ser) override |
Public Attributes | |
Common::Rect | _clipOverride |
bool | _heNoTalkAnimation |
bool | _heTalking |
byte | _generalFlags |
int | _auxActor |
int32 | _auxEraseX1 |
int32 | _auxEraseY1 |
int32 | _auxEraseX2 |
int32 | _auxEraseY2 |
int | _screenUpdateTableMin [80] |
int | _screenUpdateTableMax [80] |
struct { | |
int16 posX | |
int16 posY | |
int16 color | |
byte sentence [128] | |
} | _heTalkQueue [16] |
Public Attributes inherited from Scumm::Actor | |
int | _top |
int | _bottom |
uint | _width |
byte | _number |
uint16 | _costume |
byte | _room |
byte | _talkColor |
int | _talkFrequency |
byte | _talkPan |
byte | _talkVolume |
uint16 | _boxscale |
byte | _scalex |
byte | _scaley |
byte | _charset |
byte | _moving |
bool | _ignoreBoxes |
byte | _forceClip |
uint16 | _lastValidX |
uint16 | _lastValidY |
byte | _initFrame |
byte | _walkFrame |
byte | _standFrame |
byte | _talkStartFrame |
byte | _talkStopFrame |
bool | _needRedraw |
bool | _needBgReset |
bool | _visible |
byte | _shadowMode |
bool | _flip |
byte | _frame |
byte | _walkbox |
int16 | _talkPosX |
int16 | _talkPosY |
uint16 | _talkScript |
uint16 | _walkScript |
bool | _ignoreTurns |
bool | _drawToBackBuf |
int32 | _layer |
uint16 | _sound [32] |
CostumeData | _cost |
int | _heOffsX |
int | _heOffsY |
bool | _heSkipLimbs |
uint32 | _heCondMask |
uint32 | _hePaletteNum |
uint32 | _heShadow |
Additional Inherited Members | |
Static Public Attributes inherited from Scumm::Actor | |
static byte | kInvalidBox |
Protected Member Functions inherited from Scumm::Actor | |
virtual int | calcMovementFactor (const Common::Point &next) |
virtual int | actorWalkStep () |
virtual int | remapDirection (int dir, bool is_walking) |
virtual void | setupActorScale () |
void | setBox (int box) |
int | updateActorDirection (bool is_walking) |
void | startWalkAnim (int cmd, int angle) |
bool | isInClass (int cls) |
virtual bool | isPlayer () |
bool | findPathTowards (byte box, byte box2, byte box3, Common::Point &foundPath) |
Protected Attributes inherited from Scumm::Actor | |
ScummEngine * | _vm |
Common::Point | _pos |
uint16 | _palette [256] |
int | _elevation |
uint16 | _facing |
uint16 | _targetFacing |
uint | _speedx |
uint | _speedy |
byte | _animProgress |
byte | _animSpeed |
bool | _costumeNeedsInit |
ActorWalkData | _walkdata |
int16 | _animVariable [27] |
Common::Rect Scumm::ActorHE::_clipOverride |
This rect is used to clip actor drawing.