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

Wintermute::BaseSubFrame Class Reference

#include <base_sub_frame.h>

Inheritance diagram for Wintermute::BaseSubFrame:
Collaboration diagram for Wintermute::BaseSubFrame:

List of all members.

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)
 ~BaseSubFrame () override
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 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

Private Attributes

bool _wantsDefaultRect
Rect32 _rect
char * _surfaceFilename

Detailed Description

Definition at line 40 of file base_sub_frame.h.


Constructor & Destructor Documentation

Wintermute::BaseSubFrame::BaseSubFrame ( BaseGame inGame  ) 

Definition at line 48 of file base_sub_frame.cpp.

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

Definition at line 74 of file base_sub_frame.cpp.


Member Function Documentation

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

Reimplemented from Wintermute::BaseScriptable.

Definition at line 730 of file base_sub_frame.cpp.

bool Wintermute::BaseSubFrame::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 
)

Definition at line 240 of file base_sub_frame.cpp.

bool Wintermute::BaseSubFrame::getBoundingRect ( Rect32 rect,
int  x,
int  y,
float  scaleX = 100,
float  scaleY = 100 
)

Definition at line 293 of file base_sub_frame.cpp.

Rect32 Wintermute::BaseSubFrame::getRect (  ) 

Definition at line 222 of file base_sub_frame.cpp.

const char * Wintermute::BaseSubFrame::getSurfaceFilename (  ) 

Definition at line 235 of file base_sub_frame.cpp.

TOKEN_DEF_START TOKEN_DEF_END bool Wintermute::BaseSubFrame::loadBuffer ( char *  buffer,
int  lifeTime,
bool  keepLoaded 
)

Definition at line 99 of file base_sub_frame.cpp.

bool Wintermute::BaseSubFrame::saveAsText ( BaseDynamicBuffer buffer,
int  indent,
bool  complete 
)

Definition at line 310 of file base_sub_frame.cpp.

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

Reimplemented from Wintermute::BaseClass.

Definition at line 50 of file base_sub_frame.h.

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

Reimplemented from Wintermute::BaseScriptable.

Definition at line 421 of file base_sub_frame.cpp.

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

Reimplemented from Wintermute::BaseScriptable.

Definition at line 520 of file base_sub_frame.cpp.

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

Reimplemented from Wintermute::BaseScriptable.

Definition at line 612 of file base_sub_frame.cpp.

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

Reimplemented from Wintermute::BaseScriptable.

Definition at line 682 of file base_sub_frame.cpp.

void Wintermute::BaseSubFrame::setDefaultRect (  ) 

Definition at line 377 of file base_sub_frame.cpp.

void Wintermute::BaseSubFrame::setRect ( Rect32  rect  ) 

Definition at line 230 of file base_sub_frame.cpp.

bool Wintermute::BaseSubFrame::setSurface ( const Common::String filename,
bool  defaultCK = true,
byte  ckRed = 0,
byte  ckGreen = 0,
byte  ckBlue = 0,
int  lifeTime = -1,
bool  keepLoaded = false 
)

Definition at line 688 of file base_sub_frame.cpp.

bool Wintermute::BaseSubFrame::setSurfaceSimple (  ) 

Definition at line 717 of file base_sub_frame.cpp.


Member Data Documentation

Definition at line 79 of file base_sub_frame.h.

Definition at line 80 of file base_sub_frame.h.

Definition at line 72 of file base_sub_frame.h.

Definition at line 44 of file base_sub_frame.h.

Definition at line 77 of file base_sub_frame.h.

Definition at line 42 of file base_sub_frame.h.

Definition at line 43 of file base_sub_frame.h.

Definition at line 69 of file base_sub_frame.h.

Definition at line 70 of file base_sub_frame.h.

Definition at line 68 of file base_sub_frame.h.


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


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