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

#include <ad_object.h>

Inheritance diagram for Wintermute::AdObject:
Collaboration diagram for Wintermute::AdObject:

List of all members.

Public Member Functions

virtual PartEmittercreateParticleEmitter (bool followParent=false, int offsetX=0, int offsetY=0)
virtual bool updatePartEmitter ()
bool invalidateCurrRegions ()
bool updateBlockRegion ()
bool getExtendedFlag (const char *flagName) override
bool resetSoundPan () override
bool updateSounds () override
bool reset ()
virtual void talk (const char *text, const char *sound=nullptr, uint32 duration=0, const char *stances=nullptr, TTextAlign align=TAL_CENTER)
int32 getHeight () override
bool setFont (const char *filename)
bool update () override
bool display () override
virtual bool playAnim (const char *filename)
TObjectType getType () const
 AdObject (BaseGame *inGame)
 ~AdObject () override
AdInventorygetInventory ()
bool saveAsText (BaseDynamicBuffer *buffer, int indent) override
bool afterMove () override
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 updateSpriteAttachments ()
bool displaySpriteAttachments (bool preDisplay)

Public Attributes

AdRegion_stickRegion
bool _sceneIndependent
bool _drawn
bool _active
BaseRegion_currentBlockRegion
AdWaypointGroup_currentWptGroup

Protected Member Functions

bool getScale (float *scaleX, float *scaleY)

Protected Attributes

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

Private Member Functions

bool displaySpriteAttachment (AdObject *attachment)

Private Attributes

bool _partFollowParent
int32 _partOffsetX
int32 _partOffsetY
bool _subtitlesModRelative
bool _subtitlesModXCenter
int32 _subtitlesModX
int32 _subtitlesModY
int32 _subtitlesWidth
AdRegion_currentRegions [MAX_NUM_REGIONS]
BaseArray< AdObject * > _attachmentsPre
BaseArray< AdObject * > _attachmentsPost
AdInventory_inventory

Detailed Description

Definition at line 47 of file ad_object.h.


Constructor & Destructor Documentation

Wintermute::AdObject::AdObject ( BaseGame inGame  ) 

Definition at line 60 of file ad_object.cpp.

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

Definition at line 110 of file ad_object.cpp.


Member Function Documentation

bool Wintermute::AdObject::afterMove (  )  [override, virtual]

Reimplemented from Wintermute::BaseObject.

Definition at line 1148 of file ad_object.cpp.

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

Reimplemented in Wintermute::AdActor3DX.

Definition at line 1271 of file ad_object.cpp.

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

Reimplemented from Wintermute::BaseObject.

Reimplemented in Wintermute::AdActor, Wintermute::AdActor3DX, Wintermute::AdEntity, and Wintermute::AdObject3D.

Definition at line 181 of file ad_object.cpp.

bool Wintermute::AdObject::displaySpriteAttachment ( AdObject attachment  )  [private]

Definition at line 1231 of file ad_object.cpp.

bool Wintermute::AdObject::displaySpriteAttachments ( bool  preDisplay  ) 

Definition at line 1217 of file ad_object.cpp.

bool Wintermute::AdObject::getExtendedFlag ( const char *  flagName  )  [override, virtual]

Reimplemented from Wintermute::BaseObject.

Reimplemented in Wintermute::AdItem.

Definition at line 1096 of file ad_object.cpp.

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

Reimplemented from Wintermute::BaseObject.

Reimplemented in Wintermute::AdActor, Wintermute::AdActor3DX, and Wintermute::AdEntity.

Definition at line 862 of file ad_object.cpp.

AdInventory * Wintermute::AdObject::getInventory (  ) 

Definition at line 1138 of file ad_object.cpp.

bool Wintermute::AdObject::getScale ( float *  scaleX,
float *  scaleY 
) [protected]

Definition at line 1189 of file ad_object.cpp.

TObjectType Wintermute::AdObject::getType (  )  const

Definition at line 880 of file ad_object.cpp.

bool Wintermute::AdObject::invalidateCurrRegions (  ) 

Definition at line 1180 of file ad_object.cpp.

bool Wintermute::AdObject::playAnim ( const char *  filename  )  [virtual]

Reimplemented in Wintermute::AdActor.

Definition at line 159 of file ad_object.cpp.

bool Wintermute::AdObject::reset (  ) 

Definition at line 1013 of file ad_object.cpp.

bool Wintermute::AdObject::resetSoundPan (  )  [override, virtual]

Reimplemented from Wintermute::BaseObject.

Definition at line 1087 of file ad_object.cpp.

bool Wintermute::AdObject::saveAsText ( BaseDynamicBuffer buffer,
int  indent 
) [override, virtual]

Reimplemented from Wintermute::BaseObject.

Reimplemented in Wintermute::AdEntity, and Wintermute::AdTalkHolder.

Definition at line 1108 of file ad_object.cpp.

bool Wintermute::AdObject::scCallMethod ( ScScript script,
ScStack stack,
ScStack thisStack,
const char *  name 
) [override, virtual]
ScValue * Wintermute::AdObject::scGetProperty ( const Common::String name  )  [override, virtual]
bool Wintermute::AdObject::scSetProperty ( const char *  name,
ScValue value 
) [override, virtual]
const char * Wintermute::AdObject::scToString (  )  [override, virtual]
bool Wintermute::AdObject::setFont ( const char *  filename  ) 

Definition at line 847 of file ad_object.cpp.

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

Reimplemented in Wintermute::AdActor3DX.

Definition at line 885 of file ad_object.cpp.

bool Wintermute::AdObject::update (  )  [override, virtual]
bool Wintermute::AdObject::updateBlockRegion (  ) 

Definition at line 1123 of file ad_object.cpp.

bool Wintermute::AdObject::updatePartEmitter (  )  [virtual]

Reimplemented in Wintermute::AdActor3DX.

Definition at line 1287 of file ad_object.cpp.

bool Wintermute::AdObject::updateSounds (  )  [override, virtual]

Reimplemented from Wintermute::BaseObject.

Definition at line 1077 of file ad_object.cpp.

bool Wintermute::AdObject::updateSpriteAttachments (  ) 

Definition at line 1206 of file ad_object.cpp.


Member Data Documentation

Definition at line 71 of file ad_object.h.

Definition at line 98 of file ad_object.h.

Definition at line 121 of file ad_object.h.

Definition at line 120 of file ad_object.h.

Definition at line 106 of file ad_object.h.

AdRegion* Wintermute::AdObject::_currentRegions[MAX_NUM_REGIONS] [private]

Definition at line 119 of file ad_object.h.

Definition at line 99 of file ad_object.h.

Definition at line 70 of file ad_object.h.

Definition at line 104 of file ad_object.h.

Definition at line 97 of file ad_object.h.

Definition at line 96 of file ad_object.h.

Definition at line 95 of file ad_object.h.

Definition at line 123 of file ad_object.h.

Definition at line 102 of file ad_object.h.

Definition at line 94 of file ad_object.h.

Definition at line 111 of file ad_object.h.

Definition at line 112 of file ad_object.h.

Definition at line 113 of file ad_object.h.

Definition at line 108 of file ad_object.h.

Definition at line 54 of file ad_object.h.

Definition at line 100 of file ad_object.h.

Definition at line 101 of file ad_object.h.

Definition at line 114 of file ad_object.h.

Definition at line 116 of file ad_object.h.

Definition at line 115 of file ad_object.h.

Definition at line 117 of file ad_object.h.

Definition at line 118 of file ad_object.h.

Definition at line 105 of file ad_object.h.

Definition at line 103 of file ad_object.h.

Definition at line 107 of file ad_object.h.


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


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