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

Public Member Functions

 BaseSurfaceOSystem (BaseGame *inGame)
 
bool create (const Common::String &filename, bool defaultCK, byte ckRed, byte ckGreen, byte ckBlue, int lifeTime=-1, bool keepLoaded=false) override
 
bool create (int width, int height) override
 
bool isTransparentAt (int x, int y) override
 
bool isTransparentAtLite (int x, int y) override
 
bool startPixelOp () override
 
bool endPixelOp () override
 
bool displayTransRotate (int x, int y, uint32 angle, int32 hotspotX, int32 hotspotY, Rect32 rect, float zoomX, float zoomY, uint32 alpha=Graphics::kDefaultRgbaMod, Graphics::TSpriteBlendMode blendMode=Graphics::BLEND_NORMAL, bool mirrorX=false, bool mirrorY=false) override
 
bool displayTransZoom (int x, int y, Rect32 rect, float zoomX, float zoomY, uint32 alpha=Graphics::kDefaultRgbaMod, Graphics::TSpriteBlendMode blendMode=Graphics::BLEND_NORMAL, bool mirrorX=false, bool mirrorY=false) override
 
bool displayTrans (int x, int y, Rect32 rect, uint32 alpha=Graphics::kDefaultRgbaMod, Graphics::TSpriteBlendMode blendMode=Graphics::BLEND_NORMAL, bool mirrorX=false, bool mirrorY=false, int offsetX=0, int offsetY=0) override
 
bool display (int x, int y, Rect32 rect, Graphics::TSpriteBlendMode blendMode=Graphics::BLEND_NORMAL, bool mirrorX=false, bool mirrorY=false) override
 
bool displayTiled (int x, int y, Rect32 rect, int numTimesX, int numTimesY) override
 
bool putSurface (const Graphics::Surface &surface, bool hasAlpha=false) override
 
int getWidth () override
 
int getHeight () override
 
bool getPixel (int x, int y, byte *r, byte *g, byte *b, byte *a) override
 
Graphics::AlphaType getAlphaType () const
 
- Public Member Functions inherited from Wintermute::BaseSurface
virtual bool invalidate ()
 
virtual bool prepareToDraw ()
 
 BaseSurface (BaseGame *inGame)
 
virtual bool displayHalfTrans (int x, int y, Rect32 rect)
 
virtual bool restore ()
 
virtual bool putPixel (int x, int y, byte r, byte g, byte b, int a=-1)
 
virtual bool comparePixel (int x, int y, byte r, byte g, byte b, int a=-1)
 
void setSize (int width, int height)
 
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)
 

Additional Inherited Members

- Public Attributes inherited from Wintermute::BaseSurface
uint32 _lastUsedTime
 
bool _valid
 
int32 _lifeTime
 
bool _pixelOpReady
 
int _referenceCount
 
- Public Attributes inherited from Wintermute::BaseClass
bool _persistable
 
BaseGame_gameRef
 
- Protected Attributes inherited from Wintermute::BaseSurface
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: