ScummVM API documentation
Wintermute::BaseSubFrame Class Reference
Inheritance diagram for Wintermute::BaseSubFrame:
Wintermute::BaseScriptable Wintermute::BaseNamedObject Wintermute::BaseClass

Public Member Functions

bool setSurface (const Common::String &filename, bool defaultCK=true, byte ckRed=0, byte ckGreen=0, byte ckBlue=0, int lifeTime=-1, bool keepLoaded=false)
 
bool setSurfaceSimple ()
 
void setDefaultRect ()
 
bool saveAsText (BaseDynamicBuffer *buffer, int indent) override
 
bool saveAsText (BaseDynamicBuffer *buffer, int indent, bool complete)
 
 BaseSubFrame (BaseGame *inGame)
 
bool loadBuffer (char *buffer, int lifeTime, bool keepLoaded)
 
bool draw (int x, int y, BaseObject *registerOwner=nullptr, float zoomX=100, float zoomY=100, bool precise=true, uint32 alpha=0xFFFFFFFF, float rotate=0.0f, Graphics::TSpriteBlendMode blendMode=Graphics::BLEND_NORMAL)
 
bool getBoundingRect (Rect32 *rect, int x, int y, float scaleX=100, float scaleY=100)
 
const char * getSurfaceFilename ()
 
Rect32 getRect ()
 
void setRect (Rect32 rect)
 
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 Member Functions inherited from Wintermute::BaseScriptable
virtual ScScriptinvokeMethodThread (const char *methodName)
 
 BaseScriptable (BaseGame *inGame, bool noValue=false, bool persistable=true)
 
virtual bool canHandleMethod (const char *eventMethod) const
 
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 void scDebuggerDesc (char *buf, int bufSize)
 
- 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

bool _mirrorX
 
bool _mirrorY
 
bool _decoration
 
uint32 _transparent
 
bool _editorSelected
 
int32 _hotspotX
 
int32 _hotspotY
 
uint32 _alpha
 
bool _cKDefault
 
byte _cKRed
 
byte _cKGreen
 
byte _cKBlue
 
int32 _lifeTime
 
bool _keepLoaded
 
bool _2DOnly
 
bool _3DOnly
 
BaseSurface_surface
 
- 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 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: