ScummVM API documentation
Wintermute::AdActor3DX Class Reference
Inheritance diagram for Wintermute::AdActor3DX:
Wintermute::AdObject3D Wintermute::AdObject Wintermute::BaseObject Wintermute::BaseScriptHolder Wintermute::BaseScriptable Wintermute::BaseNamedObject Wintermute::BaseClass

Public Member Functions

PartEmittercreateParticleEmitter (bool followParent=false, int offsetX=0, int offsetY=0) override
 
virtual PartEmittercreateParticleEmitter (const char *boneName, DXVector3 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
 
int32 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 () override
 
void initLine3D (DXVector3 startPt, DXVector3 endPt, bool firstStep)
 
void getNextStep3D ()
 
void followPath3D ()
 
void getNextStep2D ()
 
void followPath2D ()
 
void goTo3D (DXVector3 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)
 
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 Member Functions inherited from Wintermute::AdObject3D
bool setupLights ()
 
bool convert3DTo2D (DXMatrix *worldMat, int32 *posX, int32 *posY)
 
bool skipTo (int x, int y, bool tolerant=false)
 
bool display () override
 
bool update () override
 
 AdObject3D (BaseGame *inGame)
 
bool getBonePosition2D (const char *boneName, int32 *x, int32 *y)
 
bool getBonePosition3D (const char *boneName, DXVector3 *pos, DXVector3 *offset=nullptr)
 
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
 
ShadowVolumegetShadowVolume ()
 
- Public Member Functions inherited from Wintermute::AdObject
bool invalidateCurrRegions ()
 
bool updateBlockRegion ()
 
bool getExtendedFlag (const char *flagName) override
 
bool resetSoundPan () override
 
bool updateSounds () override
 
bool reset ()
 
int32 getHeight () override
 
bool setFont (const char *filename)
 
virtual bool playAnim (const char *filename)
 
TObjectType getType () const
 
 AdObject (BaseGame *inGame)
 
AdInventorygetInventory ()
 
bool saveAsText (BaseDynamicBuffer *buffer, int indent) override
 
bool afterMove () override
 
bool updateSpriteAttachments ()
 
bool displaySpriteAttachments (bool preDisplay)
 
- Public Member Functions inherited from Wintermute::BaseObject
virtual bool isReady ()
 
bool updateOneSound (BaseSound *sound)
 
virtual bool handleMouseWheel (int32 delta)
 
virtual bool handleMouse (TMouseEvent event, TMouseButton button)
 
virtual bool handleKeypress (Common::Event *event, bool printable=false)
 
bool setCursor (const char *filename)
 
bool setActiveCursor (const char *filename)
 
bool cleanup ()
 
const char * getCaption (int caseVal=1)
 
void setCaption (const char *caption, int caseVal=1)
 
virtual bool showCursor ()
 
bool saveAsText (BaseDynamicBuffer *buffer, int indent) override
 
bool listen (BaseScriptHolder *param1, uint32 param2) override
 
 BaseObject (BaseGame *inGame)
 
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 Member Functions inherited from Wintermute::BaseScriptHolder
 BaseScriptHolder (BaseGame *inGame)
 
ScScriptinvokeMethodThread (const char *methodName) override
 
virtual void makeFreezable (bool freezable)
 
bool canHandleEvent (const char *eventName) const
 
bool canHandleMethod (const char *eventMethod) const override
 
bool cleanup ()
 
bool removeScript (ScScript *script)
 
bool addScript (const char *filename)
 
bool saveAsText (BaseDynamicBuffer *buffer, int indent) override
 
bool applyEvent (const char *eventName, bool unbreakable=false)
 
void setFilename (const char *filename)
 
const char * getFilename ()
 
bool parseProperty (char *buffer, bool complete=true)
 
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
 
void scDebuggerDesc (char *buf, int bufSize) override
 
virtual bool sendEvent (const char *eventName)
 
- Public Member Functions inherited from Wintermute::BaseScriptable
 BaseScriptable (BaseGame *inGame, bool noValue=false, bool persistable=true)
 
virtual void * scToMemBuffer ()
 
virtual int scToInt ()
 
virtual double scToFloat ()
 
virtual bool scToBool ()
 
virtual void scSetString (const char *val)
 
virtual void scSetInt (int val)
 
virtual void scSetFloat (double val)
 
virtual void scSetBool (bool val)
 
virtual int scCompare (BaseScriptable *val)
 
virtual Common::String debuggerToString () const
 
- Public Member Functions inherited from Wintermute::BaseNamedObject
 BaseNamedObject (BaseGame *inGame)
 
 BaseNamedObject (TDynamicConstructor, TDynamicConstructor)
 
const char * getName () const
 
void setName (const char *name)
 
- Public Member Functions inherited from Wintermute::BaseClass
bool setEditorProp (const Common::String &propName, const Common::String &propValue)
 
Common::String getEditorProp (const Common::String &propName, const Common::String &initVal=Common::String())
 
 BaseClass (TDynamicConstructor, TDynamicConstructor)
 
bool parseEditorProperty (char *buffer, bool complete=true)
 
 BaseClass (BaseGame *GameOwner)
 
virtual const char * getClassName ()
 
virtual bool persist (BasePersistenceManager *persistMgr)
 

Public Attributes

Common::String _partBone
 
DXVector3 _partOffset
 
int32 _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
 
int32 _talkAnimChannel
 
TDirectWalkMode _directWalkMode
 
TDirectTurnMode _directTurnMode
 
Common::String _directWalkAnim
 
Common::String _directTurnAnim
 
float _directWalkVelocity
 
float _directTurnVelocity
 
int32 _goToTolerance
 
bool _turningLeft
 
DXVector3 _targetPoint3D
 
BasePoint_targetPoint2D
 
float _targetAngle
 
AdPath3D_path3D
 
AdPath_path2D
 
- Public Attributes inherited from Wintermute::AdObject3D
char * _tempSkelAnim
 
DXVector3 _lastPosVector
 
bool _dropToFloor
 
float _velocity
 
float _angVelocity
 
uint32 _ambientLightColor
 
bool _hasAmbientLightColor
 
- Public Attributes inherited from Wintermute::AdObject
AdRegion_stickRegion
 
bool _sceneIndependent
 
bool _drawn
 
bool _active
 
BaseRegion_currentBlockRegion
 
AdWaypointGroup_currentWptGroup
 
- Public Attributes inherited from Wintermute::BaseObject
Graphics::TSpriteBlendMode _blendMode
 
float _scale
 
uint32 _alphaColor
 
int32 _sFXVolume
 
bool _editorOnly
 
bool _is3D
 
BaseSprite_cursor
 
bool _sharedCursors
 
BaseSprite_activeCursor
 
bool _movable
 
bool _zoomable
 
bool _shadowable
 
int32 _posY
 
int32 _posX
 
bool _registrable
 
char * _caption [7]
 
bool _saveState
 
bool _nonIntMouseEvents
 
- Public Attributes inherited from Wintermute::BaseScriptHolder
bool _freezable
 
bool _ready
 
BaseArray< ScScript * > _scripts
 
- Public Attributes inherited from Wintermute::BaseScriptable
int32 _refCount
 
ScValue_scValue
 
ScValue_scProp
 
- Public Attributes inherited from Wintermute::BaseNamedObject
char * _name
 
- Public Attributes inherited from Wintermute::BaseClass
bool _persistable
 
BaseGame_gameRef
 

Additional Inherited Members

- Protected Member Functions inherited from Wintermute::AdObject
bool getScale (float *scaleX, float *scaleY)
 
- Protected Member Functions inherited from Wintermute::BaseObject
bool setSFXTime (uint32 time)
 
bool setSFXVolume (int volume)
 
bool resumeSFX ()
 
bool pauseSFX ()
 
bool stopSFX (bool deleteSound=true)
 
bool playSFX (const char *filename, bool looping=false, bool playNow=true, const char *eventName=nullptr, uint32 loopStart=0)
 
void setSoundEvent (const char *eventName)
 
- Protected Attributes inherited from Wintermute::AdObject
PartEmitter_partEmitter
 
bool _ignoreItems
 
bool _forcedTalkAnimUsed
 
char * _forcedTalkAnimName
 
BaseSprite_animSprite
 
BaseSprite_currentSprite
 
AdSentence_sentence
 
TObjectState _state
 
TObjectState _nextState
 
TObjectType _type
 
BaseFont_font
 
BaseSprite_tempSprite2
 
BaseRegion_blockRegion
 
AdWaypointGroup_wptGroup
 
AdObject_registerAlias
 
- Protected Attributes inherited from Wintermute::BaseObject
bool _autoSoundPanning
 
uint32 _sFXStart
 
BaseSound_sFX
 
TSFXType _sFXType
 
float _sFXParam1
 
float _sFXParam2
 
float _sFXParam3
 
float _sFXParam4
 
float _relativeRotate
 
bool _rotateValid
 
float _rotate
 
bool _rotatable
 
float _scaleX
 
float _scaleY
 
float _relativeScale
 
bool _editorSelected
 
bool _editorAlwaysRegister
 
bool _ready
 
Rect32 _rect
 
bool _rectSet
 
int32 _iD
 
char * _soundEvent
 
- Protected Attributes inherited from Wintermute::BaseClass
Common::HashMap< Common::String, Common::String_editorProps
 
Common::HashMap< Common::String, Common::String >::iterator _editorPropsIter
 

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