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

Wintermute::AdEntity Class Reference

#include <ad_entity.h>

Inheritance diagram for Wintermute::AdEntity:
Collaboration diagram for Wintermute::AdEntity:

List of all members.

Public Member Functions

bool setSprite (const char *filename)
void setItem (const char *itemName)
void updatePosition ()
int32 getHeight () override
bool saveAsText (BaseDynamicBuffer *buffer, int indent) override
bool update () override
bool display () override
 AdEntity (BaseGame *inGame)
 ~AdEntity () override
bool loadFile (const char *filename)
bool loadBuffer (char *buffer, bool complete=true)
int32 getWalkToX () const
int32 getWalkToY () const
TDirection getWalkToDir () const
const char * getItemName () const
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
Common::String debuggerToString () const override

Public Attributes

VideoTheoraPlayer_theora
BaseRegion_region

Private Attributes

int32 _walkToX
int32 _walkToY
TDirection _walkToDir
char * _item
TEntityType _subtype

Detailed Description

Definition at line 36 of file ad_entity.h.


Constructor & Destructor Documentation

Wintermute::AdEntity::AdEntity ( BaseGame inGame  ) 

Definition at line 64 of file ad_entity.cpp.

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

Definition at line 82 of file ad_entity.cpp.


Member Function Documentation

Common::String Wintermute::AdEntity::debuggerToString (  )  const [override, virtual]

Reimplemented from Wintermute::BaseScriptable.

Definition at line 1303 of file ad_entity.cpp.

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

Reimplemented from Wintermute::AdObject.

Definition at line 565 of file ad_entity.cpp.

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

Reimplemented from Wintermute::AdObject.

Definition at line 1229 of file ad_entity.cpp.

const char * Wintermute::AdEntity::getItemName (  )  const

Definition at line 104 of file ad_entity.cpp.

TDirection Wintermute::AdEntity::getWalkToDir (  )  const

Definition at line 100 of file ad_entity.cpp.

int32 Wintermute::AdEntity::getWalkToX (  )  const

Definition at line 92 of file ad_entity.cpp.

int32 Wintermute::AdEntity::getWalkToY (  )  const

Definition at line 96 of file ad_entity.cpp.

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

Definition at line 190 of file ad_entity.cpp.

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

Definition at line 119 of file ad_entity.cpp.

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

Reimplemented from Wintermute::AdTalkHolder.

Definition at line 1127 of file ad_entity.cpp.

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

Reimplemented from Wintermute::AdTalkHolder.

Definition at line 728 of file ad_entity.cpp.

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

Reimplemented from Wintermute::AdTalkHolder.

Definition at line 965 of file ad_entity.cpp.

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

Reimplemented from Wintermute::AdTalkHolder.

Definition at line 1061 of file ad_entity.cpp.

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

Reimplemented from Wintermute::AdTalkHolder.

Definition at line 1121 of file ad_entity.cpp.

void Wintermute::AdEntity::setItem ( const char *  itemName  ) 

Definition at line 1279 of file ad_entity.cpp.

bool Wintermute::AdEntity::setSprite ( const char *  filename  ) 

Definition at line 1284 of file ad_entity.cpp.

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

Reimplemented from Wintermute::AdObject.

Definition at line 625 of file ad_entity.cpp.

void Wintermute::AdEntity::updatePosition (  ) 

Definition at line 1242 of file ad_entity.cpp.


Member Data Documentation

char* Wintermute::AdEntity::_item [private]

Definition at line 73 of file ad_entity.h.

Definition at line 74 of file ad_entity.h.

Definition at line 72 of file ad_entity.h.

Definition at line 70 of file ad_entity.h.

Definition at line 71 of file ad_entity.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