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

#include <base_object.h>

Inheritance diagram for Wintermute::BaseObject:
Collaboration diagram for Wintermute::BaseObject:

List of all members.

Public Member Functions

virtual bool afterMove ()
virtual bool isReady ()
virtual bool getExtendedFlag (const char *flagName)
virtual bool resetSoundPan ()
virtual bool updateSounds ()
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)
virtual int32 getHeight ()
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)
 ~BaseObject () override
virtual bool update ()
virtual bool display ()
virtual bool invalidateDeviceObjects ()
virtual bool restoreDeviceObjects ()
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

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

Protected Member Functions

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

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

Detailed Description

Definition at line 58 of file base_object.h.


Constructor & Destructor Documentation

Wintermute::BaseObject::BaseObject ( BaseGame inGame  ) 

Definition at line 51 of file base_object.cpp.

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

Definition at line 127 of file base_object.cpp.


Member Function Documentation

bool Wintermute::BaseObject::afterMove (  )  [virtual]

Reimplemented in Wintermute::AdObject.

Definition at line 1352 of file base_object.cpp.

const char * Wintermute::BaseObject::getCaption ( int  caseVal = 1  ) 

Definition at line 182 of file base_object.cpp.

bool Wintermute::BaseObject::getExtendedFlag ( const char *  flagName  )  [virtual]

Reimplemented in Wintermute::AdItem, and Wintermute::AdObject.

Definition at line 1328 of file base_object.cpp.

int32 Wintermute::BaseObject::getHeight (  )  [virtual]
bool Wintermute::BaseObject::handleKeypress ( Common::Event event,
bool  printable = false 
) [virtual]

Reimplemented in Wintermute::BaseGame, Wintermute::UIEdit, and Wintermute::UIWindow.

Definition at line 1165 of file base_object.cpp.

bool Wintermute::BaseObject::handleMouse ( TMouseEvent  event,
TMouseButton  button 
) [virtual]

Reimplemented in Wintermute::UIObject, and Wintermute::UIWindow.

Definition at line 1159 of file base_object.cpp.

bool Wintermute::BaseObject::handleMouseWheel ( int32  delta  )  [virtual]

Reimplemented in Wintermute::BaseGame, and Wintermute::UIWindow.

Definition at line 1171 of file base_object.cpp.

virtual bool Wintermute::BaseObject::invalidateDeviceObjects (  )  [inline, virtual]
bool Wintermute::BaseObject::isReady (  )  [virtual]

Definition at line 1334 of file base_object.cpp.

bool Wintermute::BaseObject::listen ( BaseScriptHolder param1,
uint32  param2 
) [override, virtual]

Reimplemented from Wintermute::BaseScriptHolder.

Reimplemented in Wintermute::AdInventoryBox, Wintermute::AdResponseBox, and Wintermute::UIWindow.

Definition at line 195 of file base_object.cpp.

bool Wintermute::BaseObject::pauseSFX (  )  [protected]

Definition at line 1246 of file base_object.cpp.

bool Wintermute::BaseObject::playSFX ( const char *  filename,
bool  looping = false,
bool  playNow = true,
const char *  eventName = nullptr,
uint32  loopStart = 0 
) [protected]

Definition at line 1177 of file base_object.cpp.

bool Wintermute::BaseObject::resetSoundPan (  )  [virtual]

Reimplemented in Wintermute::AdObject.

Definition at line 1318 of file base_object.cpp.

virtual bool Wintermute::BaseObject::restoreDeviceObjects (  )  [inline, virtual]
bool Wintermute::BaseObject::resumeSFX (  )  [protected]

Definition at line 1256 of file base_object.cpp.

bool Wintermute::BaseObject::setActiveCursor ( const char *  filename  ) 

Definition at line 1139 of file base_object.cpp.

void Wintermute::BaseObject::setCaption ( const char *  caption,
int  caseVal = 1 
)

Definition at line 164 of file base_object.cpp.

bool Wintermute::BaseObject::setCursor ( const char *  filename  ) 

Definition at line 1120 of file base_object.cpp.

bool Wintermute::BaseObject::setSFXTime ( uint32  time  )  [protected]

Definition at line 1266 of file base_object.cpp.

bool Wintermute::BaseObject::setSFXVolume ( int  volume  )  [protected]

Definition at line 1277 of file base_object.cpp.

void Wintermute::BaseObject::setSoundEvent ( const char *  eventName  )  [protected]

Definition at line 1340 of file base_object.cpp.

bool Wintermute::BaseObject::showCursor (  )  [virtual]

Reimplemented in Wintermute::AdGame, and Wintermute::BaseGame.

Definition at line 1032 of file base_object.cpp.

bool Wintermute::BaseObject::stopSFX ( bool  deleteSound = true  )  [protected]

Definition at line 1231 of file base_object.cpp.

bool Wintermute::BaseObject::updateOneSound ( BaseSound sound  ) 

Definition at line 1304 of file base_object.cpp.

bool Wintermute::BaseObject::updateSounds (  )  [virtual]

Reimplemented in Wintermute::AdObject.

Definition at line 1288 of file base_object.cpp.


Member Data Documentation

Definition at line 60 of file base_object.h.

Definition at line 128 of file base_object.h.

Definition at line 83 of file base_object.h.

Definition at line 111 of file base_object.h.

Definition at line 82 of file base_object.h.

Reimplemented in Wintermute::AdResponse.

Definition at line 87 of file base_object.h.

Definition at line 112 of file base_object.h.

Definition at line 122 of file base_object.h.

Reimplemented from Wintermute::BaseScriptHolder.

Definition at line 84 of file base_object.h.

Reimplemented in Wintermute::BaseRegion.

Definition at line 85 of file base_object.h.

Definition at line 86 of file base_object.h.

Definition at line 127 of file base_object.h.

Definition at line 74 of file base_object.h.

Definition at line 81 of file base_object.h.

Definition at line 78 of file base_object.h.

Definition at line 76 of file base_object.h.

Definition at line 75 of file base_object.h.

Definition at line 129 of file base_object.h.

Reimplemented in Wintermute::AdScaleLevel.

Definition at line 92 of file base_object.h.

Definition at line 79 of file base_object.h.

Definition at line 80 of file base_object.h.

Definition at line 68 of file base_object.h.

Definition at line 70 of file base_object.h.

Definition at line 71 of file base_object.h.

Definition at line 72 of file base_object.h.

Definition at line 73 of file base_object.h.

Definition at line 61 of file base_object.h.

Definition at line 69 of file base_object.h.

Definition at line 124 of file base_object.h.

Definition at line 117 of file base_object.h.

Definition at line 88 of file base_object.h.

Definition at line 123 of file base_object.h.


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


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