ScummVM API documentation
Sci::GfxDefaultDriver Class Reference
Inheritance diagram for Sci::GfxDefaultDriver:
Sci::GfxDriver Sci::SCI1_VGAGreyScaleDriver

Public Member Functions

 GfxDefaultDriver (uint16 screenWidth, uint16 screenHeight, bool rgbRendering)
 
void initScreen (const Graphics::PixelFormat *srcRGBFormat) override
 
void setPalette (const byte *colors, uint start, uint num, bool update, const PaletteMod *palMods, const byte *palModMapping) override
 
void copyRectToScreen (const byte *src, int srcX, int srcY, int pitch, int destX, int destY, int w, int h, const PaletteMod *palMods, const byte *palModMapping) override
 
void replaceCursor (const void *cursor, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor) override
 
void copyCurrentBitmap (byte *dest, uint32 size) const override
 
void copyCurrentPalette (byte *dest, int start, int num) const override
 
bool supportsPalIntensity () const override
 
- Public Member Functions inherited from Sci::GfxDriver
 GfxDriver (uint16 screenWidth, uint16 screenHeight, int numColors)
 
virtual Common::Point getMousePos () const
 
virtual void clearRect (const Common::Rect &r) const
 
uint16 numColors () const
 
byte pixelSize () const
 

Protected Member Functions

void updatePalette (const byte *colors, uint start, uint num)
 

Protected Attributes

byte * _compositeBuffer
 
byte * _currentBitmap
 
byte * _currentPalette
 
byte * _internalPalette
 
Graphics::PixelFormat _format
 
byte _srcPixelSize
 
const bool _requestRGBMode
 
- Protected Attributes inherited from Sci::GfxDriver
bool _ready
 
const uint16 _screenW
 
const uint16 _screenH
 
uint16 _numColors
 
byte _pixelSize
 

Additional Inherited Members

- Static Protected Member Functions inherited from Sci::GfxDriver
static bool checkDriver (const char *const *driverNames, int listSize)
 

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