ScummVM API documentation
Wintermute::BaseSurface Class Referenceabstract
Inheritance diagram for Wintermute::BaseSurface:
Wintermute::BaseClass Wintermute::BaseSurfaceOSystem

Public Member Functions

virtual bool invalidate ()
 
virtual bool prepareToDraw ()
 
 BaseSurface (BaseGame *inGame)
 
virtual bool displayHalfTrans (int x, int y, Rect32 rect)
 
virtual bool isTransparentAt (int x, int y)
 
virtual bool displayTransRotate (int x, int y, uint32 angle, int32 hotspotX, int32 hotspotY, Rect32 rect, float zoomX, float zoomY, uint32 alpha=0xFFFFFFFF, Graphics::TSpriteBlendMode blendMode=Graphics::BLEND_NORMAL, bool mirrorX=false, bool mirrorY=false)=0
 
virtual bool displayTransZoom (int x, int y, Rect32 rect, float zoomX, float zoomY, uint32 alpha=0xFFFFFFFF, Graphics::TSpriteBlendMode blendMode=Graphics::BLEND_NORMAL, bool mirrorX=false, bool mirrorY=false)=0
 
virtual bool displayTrans (int x, int y, Rect32 rect, uint32 alpha=0xFFFFFFFF, Graphics::TSpriteBlendMode blendMode=Graphics::BLEND_NORMAL, bool mirrorX=false, bool mirrorY=false, int offsetX=0, int offsetY=0)=0
 
virtual bool display (int x, int y, Rect32 rect, Graphics::TSpriteBlendMode blendMode=Graphics::BLEND_NORMAL, bool mirrorX=false, bool mirrorY=false)=0
 
virtual bool displayTiled (int x, int y, Rect32 rect, int numTimesX, int numTimesY)=0
 
virtual bool restore ()
 
virtual bool create (const Common::String &filename, bool defaultCK, byte ckRed, byte ckGreen, byte ckBlue, int lifeTime=-1, bool keepLoaded=false)=0
 
virtual bool create (int width, int height)
 
virtual bool putSurface (const Graphics::Surface &surface, bool hasAlpha=false)
 
virtual bool putPixel (int x, int y, byte r, byte g, byte b, int a=-1)
 
virtual bool getPixel (int x, int y, byte *r, byte *g, byte *b, byte *a=nullptr)
 
virtual bool comparePixel (int x, int y, byte r, byte g, byte b, int a=-1)
 
virtual bool startPixelOp ()
 
virtual bool endPixelOp ()
 
virtual bool isTransparentAtLite (int x, int y)
 
void setSize (int width, int height)
 
virtual int getWidth ()
 
virtual int getHeight ()
 
Common::String getFileNameStr ()
 
const char * getFileName ()
 
- 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)
 
virtual bool saveAsText (BaseDynamicBuffer *buffer, int indent=0)
 
 BaseClass (BaseGame *GameOwner)
 
virtual const char * getClassName ()
 
virtual bool persist (BasePersistenceManager *persistMgr)
 

Public Attributes

uint32 _lastUsedTime
 
bool _valid
 
int32 _lifeTime
 
bool _pixelOpReady
 
int _referenceCount
 
- Public Attributes inherited from Wintermute::BaseClass
bool _persistable
 
BaseGame_gameRef
 

Protected Attributes

bool _ckDefault
 
byte _ckRed
 
byte _ckGreen
 
byte _ckBlue
 
bool _keepLoaded
 
Common::String _filename
 
int32 _height
 
int32 _width
 
- 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: