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

#include <ad_actor_3dx.h>

Inheritance diagram for Wintermute::AdActor3DX:
Collaboration diagram for Wintermute::AdActor3DX:

List of all members.

Public Member Functions

PartEmittercreateParticleEmitter (bool followParent=false, int offsetX=0, int offsetY=0) override
virtual PartEmittercreateParticleEmitter (const char *boneName, Math::Vector3d offset)
bool updatePartEmitter () override
bool displayShadowVolume ()
bool restoreDeviceObjects () override
bool invalidateDeviceObjects () override
void talk (const char *text, const char *sound=nullptr, uint32 duration=0, const char *stances=nullptr, TTextAlign align=TAL_CENTER) override
int getHeight () override
bool playAnim3DX (const char *name, bool setState)
bool playAnim3DX (int channel, const char *name, bool setState)
uint32 getAnimTransitionTime (char *from, char *to) override
virtual bool renderModel ()
void initLine3D (Math::Vector3d startPt, Math::Vector3d endPt, bool firstStep)
void getNextStep3D ()
void followPath3D ()
void getNextStep2D ()
void followPath2D ()
void goTo3D (Math::Vector3d targetPos, float targetAngle=-1.0f)
void goTo2D (int x, int y, float targetAngle=-1.0f)
bool turnTo (float angle)
bool display () override
bool update () override
 AdActor3DX (BaseGame *inGame)
virtual ~AdActor3DX ()
bool loadFile (const char *filename)
bool loadBuffer (byte *buffer, bool complete=true)
float dirToAngle (TDirection dir)
TDirection angleToDir (float angle)
bool updateAttachments ()
bool displayAttachments (bool registerObjects)
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

Public Attributes

Common::String _partBone
Math::Vector3d _partOffset
int _stateAnimChannel
BaseArray
< BaseAnimationTransitionTime * > 
_transitionTimes
uint32 _defaultTransTime
uint32 _defaultStopTransTime
float _afterWalkAngle
Common::String _talkAnimName
Common::String _idleAnimName
Common::String _walkAnimName
Common::String _turnLeftAnimName
Common::String _turnRightAnimName
int _talkAnimChannel
TDirectWalkMode _directWalkMode
TDirectTurnMode _directTurnMode
Common::String _directWalkAnim
Common::String _directTurnAnim
float _directWalkVelocity
float _directTurnVelocity
int _goToTolerance
bool _turningLeft
Math::Vector3d _targetPoint3D
BasePoint_targetPoint2D
Math::Angle _targetAngle
AdPath3D_path3D
AdPath_path2D

Private Member Functions

bool parseEffect (byte *buffer)
bool turnToStep (float velocity)
bool prepareTurn (Math::Angle targetAngle)
bool mergeAnimations (const char *filename)
bool mergeAnimations2 (const char *filename)
bool unloadAnimation (const char *animName)
bool isGoToNeeded (int x, int y)

Private Attributes

BaseArray< AdAttach3DX * > _attachments

Detailed Description

Definition at line 43 of file ad_actor_3dx.h.


Constructor & Destructor Documentation

Wintermute::AdActor3DX::AdActor3DX ( BaseGame inGame  ) 

Definition at line 64 of file ad_actor_3dx.cpp.

Wintermute::AdActor3DX::~AdActor3DX (  )  [virtual]

Definition at line 90 of file ad_actor_3dx.cpp.


Member Function Documentation

TDirection Wintermute::AdActor3DX::angleToDir ( float  angle  ) 

Definition at line 1212 of file ad_actor_3dx.cpp.

PartEmitter * Wintermute::AdActor3DX::createParticleEmitter ( const char *  boneName,
Math::Vector3d  offset 
) [virtual]

Definition at line 2420 of file ad_actor_3dx.cpp.

PartEmitter * Wintermute::AdActor3DX::createParticleEmitter ( bool  followParent = false,
int  offsetX = 0,
int  offsetY = 0 
) [override, virtual]

Reimplemented from Wintermute::AdObject.

Definition at line 2414 of file ad_actor_3dx.cpp.

float Wintermute::AdActor3DX::dirToAngle ( TDirection  dir  ) 

Definition at line 1186 of file ad_actor_3dx.cpp.

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

Reimplemented from Wintermute::AdObject3D.

Definition at line 366 of file ad_actor_3dx.cpp.

bool Wintermute::AdActor3DX::displayAttachments ( bool  registerObjects  ) 

Definition at line 511 of file ad_actor_3dx.cpp.

bool Wintermute::AdActor3DX::displayShadowVolume (  ) 

Definition at line 451 of file ad_actor_3dx.cpp.

void Wintermute::AdActor3DX::followPath2D (  ) 

Definition at line 710 of file ad_actor_3dx.cpp.

void Wintermute::AdActor3DX::followPath3D (  ) 

Definition at line 588 of file ad_actor_3dx.cpp.

uint32 Wintermute::AdActor3DX::getAnimTransitionTime ( char *  from,
char *  to 
) [override]

Definition at line 2402 of file ad_actor_3dx.cpp.

int Wintermute::AdActor3DX::getHeight (  )  [override, virtual]

Reimplemented from Wintermute::AdObject.

Definition at line 1260 of file ad_actor_3dx.cpp.

void Wintermute::AdActor3DX::getNextStep2D (  ) 

Definition at line 658 of file ad_actor_3dx.cpp.

void Wintermute::AdActor3DX::getNextStep3D (  ) 

Definition at line 605 of file ad_actor_3dx.cpp.

void Wintermute::AdActor3DX::goTo2D ( int  x,
int  y,
float  targetAngle = -1.0f 
)

Definition at line 569 of file ad_actor_3dx.cpp.

void Wintermute::AdActor3DX::goTo3D ( Math::Vector3d  targetPos,
float  targetAngle = -1.0f 
)

Definition at line 553 of file ad_actor_3dx.cpp.

void Wintermute::AdActor3DX::initLine3D ( Math::Vector3d  startPt,
Math::Vector3d  endPt,
bool  firstStep 
)

Definition at line 645 of file ad_actor_3dx.cpp.

bool Wintermute::AdActor3DX::invalidateDeviceObjects (  )  [override, virtual]

Reimplemented from Wintermute::BaseObject.

Definition at line 2289 of file ad_actor_3dx.cpp.

bool Wintermute::AdActor3DX::isGoToNeeded ( int  x,
int  y 
) [private]

Definition at line 2393 of file ad_actor_3dx.cpp.

TOKEN_DEF_START TOKEN_DEF_END bool Wintermute::AdActor3DX::loadBuffer ( byte buffer,
bool  complete = true 
)

Definition at line 857 of file ad_actor_3dx.cpp.

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

Definition at line 796 of file ad_actor_3dx.cpp.

bool Wintermute::AdActor3DX::mergeAnimations ( const char *  filename  )  [private]

Definition at line 2320 of file ad_actor_3dx.cpp.

bool Wintermute::AdActor3DX::mergeAnimations2 ( const char *  filename  )  [private]

Definition at line 2345 of file ad_actor_3dx.cpp.

bool Wintermute::AdActor3DX::parseEffect ( byte buffer  )  [private]

Definition at line 2454 of file ad_actor_3dx.cpp.

bool Wintermute::AdActor3DX::playAnim3DX ( const char *  name,
bool  setState 
)

Definition at line 1234 of file ad_actor_3dx.cpp.

bool Wintermute::AdActor3DX::playAnim3DX ( int  channel,
const char *  name,
bool  setState 
)

Definition at line 1239 of file ad_actor_3dx.cpp.

bool Wintermute::AdActor3DX::prepareTurn ( Math::Angle  targetAngle  )  [private]

Definition at line 744 of file ad_actor_3dx.cpp.

bool Wintermute::AdActor3DX::renderModel (  )  [virtual]

Definition at line 426 of file ad_actor_3dx.cpp.

bool Wintermute::AdActor3DX::restoreDeviceObjects (  )  [override, virtual]

Reimplemented from Wintermute::BaseObject.

Definition at line 2303 of file ad_actor_3dx.cpp.

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

Async

Reimplemented from Wintermute::AdObject3D.

Definition at line 1271 of file ad_actor_3dx.cpp.

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

Reimplemented from Wintermute::AdObject3D.

Definition at line 2001 of file ad_actor_3dx.cpp.

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

Reimplemented from Wintermute::AdObject3D.

Definition at line 2106 of file ad_actor_3dx.cpp.

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

Reimplemented from Wintermute::AdObject3D.

Definition at line 2225 of file ad_actor_3dx.cpp.

void Wintermute::AdActor3DX::talk ( const char *  text,
const char *  sound = nullptr,
uint32  duration = 0,
const char *  stances = nullptr,
TTextAlign  align = TAL_CENTER 
) [override, virtual]

Reimplemented from Wintermute::AdObject.

Definition at line 1255 of file ad_actor_3dx.cpp.

bool Wintermute::AdActor3DX::turnTo ( float  angle  ) 

Definition at line 539 of file ad_actor_3dx.cpp.

bool Wintermute::AdActor3DX::turnToStep ( float  velocity  )  [private]

Definition at line 771 of file ad_actor_3dx.cpp.

bool Wintermute::AdActor3DX::unloadAnimation ( const char *  animName  )  [private]

Definition at line 2384 of file ad_actor_3dx.cpp.

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

Reimplemented from Wintermute::AdObject3D.

Definition at line 113 of file ad_actor_3dx.cpp.

bool Wintermute::AdActor3DX::updateAttachments (  ) 

Definition at line 501 of file ad_actor_3dx.cpp.

bool Wintermute::AdActor3DX::updatePartEmitter (  )  [override, virtual]

Reimplemented from Wintermute::AdObject.

Definition at line 2427 of file ad_actor_3dx.cpp.


Member Data Documentation

Definition at line 68 of file ad_actor_3dx.h.

Definition at line 84 of file ad_actor_3dx.h.

Definition at line 87 of file ad_actor_3dx.h.


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


Generated on Sat Sep 19 2020 05:06:24 for ResidualVM by doxygen 1.7.1
curved edge   curved edge