ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <ad_actor.h>

Inheritance diagram for Wintermute::AdActor:
Collaboration diagram for Wintermute::AdActor:

List of all members.

Public Member Functions

TDirection angleToDirection (int angle)
int32 getHeight () override
BaseSpritegetTalkStance (const char *stance) override
virtual void goTo (int x, int y, TDirection afterWalkDir=DI_NONE)
bool update () override
bool display () override
virtual void turnTo (TDirection dir)
 AdActor (BaseGame *inGame)
 ~AdActor () override
bool loadFile (const char *filename)
bool loadBuffer (char *buffer, bool complete=true)

Public Attributes

BasePoint_targetPoint

Private Member Functions

bool playAnim (const char *filename) override
AdSpriteSetgetAnimByName (const Common::String &animName)
ScValuescGetProperty (const Common::String &name) override
bool scSetProperty (const char *name, ScValue *value) override
bool scCallMethod (ScScript *script, ScStack *stack, ScStack *thisStack, const char *name) override
const char * scToString () override
bool setDefaultAnimNames ()
BaseSpritegetTalkStanceOld (const char *stance)
bool mergeAnims (const char *animsFilename)
void initLine (const BasePoint &startPt, const BasePoint &endPt)
void getNextStep ()
void followPath ()

Private Attributes

TDirection _targetDir
TDirection _afterWalkDir
AdPath_path
AdSpriteSet_walkSprite
AdSpriteSet_standSprite
AdSpriteSet_turnLeftSprite
AdSpriteSet_turnRightSprite
BaseArray< AdSpriteSet * > _talkSprites
BaseArray< AdSpriteSet * > _talkSpritesEx
TDirection _dir
Common::String _talkAnimName
Common::String _idleAnimName
Common::String _walkAnimName
Common::String _turnLeftAnimName
Common::String _turnRightAnimName
BaseArray< AdSpriteSet * > _anims
BaseSprite_animSprite2
double _pFStepX
double _pFStepY
double _pFX
double _pFY
int32 _pFCount

Detailed Description

Definition at line 46 of file ad_actor.h.


Constructor & Destructor Documentation

Wintermute::AdActor::AdActor ( BaseGame inGame  ) 

Definition at line 55 of file ad_actor.cpp.

Wintermute::AdActor::~AdActor (  )  [override]

Definition at line 85 of file ad_actor.cpp.


Member Function Documentation

TDirection Wintermute::AdActor::angleToDirection ( int  angle  ) 

Definition at line 1406 of file ad_actor.cpp.

bool Wintermute::AdActor::display (  )  [override, virtual]

Reimplemented from Wintermute::AdObject.

Definition at line 534 of file ad_actor.cpp.

void Wintermute::AdActor::followPath (  )  [private]

Definition at line 825 of file ad_actor.cpp.

AdSpriteSet * Wintermute::AdActor::getAnimByName ( const Common::String animName  )  [private]

Definition at line 1450 of file ad_actor.cpp.

int32 Wintermute::AdActor::getHeight (  )  [override, virtual]

Reimplemented from Wintermute::AdObject.

Definition at line 1432 of file ad_actor.cpp.

void Wintermute::AdActor::getNextStep (  )  [private]

Definition at line 850 of file ad_actor.cpp.

BaseSprite * Wintermute::AdActor::getTalkStance ( const char *  stance  )  [override, virtual]

Reimplemented from Wintermute::AdTalkHolder.

Definition at line 1276 of file ad_actor.cpp.

BaseSprite * Wintermute::AdActor::getTalkStanceOld ( const char *  stance  )  [private]

Definition at line 1335 of file ad_actor.cpp.

void Wintermute::AdActor::goTo ( int  x,
int  y,
TDirection  afterWalkDir = DI_NONE 
) [virtual]

Definition at line 514 of file ad_actor.cpp.

void Wintermute::AdActor::initLine ( const BasePoint startPt,
const BasePoint endPt 
) [private]

Definition at line 922 of file ad_actor.cpp.

TOKEN_DEF_START TOKEN_DEF_END bool Wintermute::AdActor::loadBuffer ( char *  buffer,
bool  complete = true 
)

Definition at line 183 of file ad_actor.cpp.

bool Wintermute::AdActor::loadFile ( const char *  filename  ) 

Definition at line 122 of file ad_actor.cpp.

bool Wintermute::AdActor::mergeAnims ( const char *  animsFilename  )  [private]

Definition at line 1460 of file ad_actor.cpp.

bool Wintermute::AdActor::playAnim ( const char *  filename  )  [override, private, virtual]

Reimplemented from Wintermute::AdObject.

Definition at line 1501 of file ad_actor.cpp.

bool Wintermute::AdActor::scCallMethod ( ScScript script,
ScStack stack,
ScStack thisStack,
const char *  name 
) [override, private, virtual]

Reimplemented from Wintermute::AdTalkHolder.

Definition at line 942 of file ad_actor.cpp.

ScValue * Wintermute::AdActor::scGetProperty ( const Common::String name  )  [override, private, virtual]

Reimplemented from Wintermute::AdTalkHolder.

Definition at line 1131 of file ad_actor.cpp.

bool Wintermute::AdActor::scSetProperty ( const char *  name,
ScValue value 
) [override, private, virtual]

Reimplemented from Wintermute::AdTalkHolder.

Definition at line 1193 of file ad_actor.cpp.

const char * Wintermute::AdActor::scToString (  )  [override, private, virtual]

Reimplemented from Wintermute::AdTalkHolder.

Definition at line 1270 of file ad_actor.cpp.

bool Wintermute::AdActor::setDefaultAnimNames (  )  [private]

Definition at line 75 of file ad_actor.cpp.

void Wintermute::AdActor::turnTo ( TDirection  dir  )  [virtual]

Definition at line 488 of file ad_actor.cpp.

bool Wintermute::AdActor::update (  )  [override, virtual]

Reimplemented from Wintermute::AdObject.

Definition at line 595 of file ad_actor.cpp.


Member Data Documentation

Definition at line 65 of file ad_actor.h.

Definition at line 81 of file ad_actor.h.

Definition at line 94 of file ad_actor.h.

Definition at line 74 of file ad_actor.h.

Definition at line 77 of file ad_actor.h.

Definition at line 67 of file ad_actor.h.

Definition at line 103 of file ad_actor.h.

Definition at line 99 of file ad_actor.h.

Definition at line 100 of file ad_actor.h.

double Wintermute::AdActor::_pFX [private]

Definition at line 101 of file ad_actor.h.

double Wintermute::AdActor::_pFY [private]

Definition at line 102 of file ad_actor.h.

Definition at line 69 of file ad_actor.h.

Definition at line 76 of file ad_actor.h.

Reimplemented from Wintermute::AdTalkHolder.

Definition at line 72 of file ad_actor.h.

Reimplemented from Wintermute::AdTalkHolder.

Definition at line 73 of file ad_actor.h.

Definition at line 64 of file ad_actor.h.

Definition at line 79 of file ad_actor.h.

Definition at line 70 of file ad_actor.h.

Definition at line 71 of file ad_actor.h.

Definition at line 78 of file ad_actor.h.

Definition at line 68 of file ad_actor.h.


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


Generated on Sat Sep 26 2020 05:04:10 for ResidualVM by doxygen 1.7.1
curved edge   curved edge