ScummVM API documentation
Sci::SCI1_EGADriver Class Reference
Inheritance diagram for Sci::SCI1_EGADriver:
Sci::GfxDriver Sci::KQ6WinGfx16ColorsDriver

Public Member Functions

 SCI1_EGADriver (bool rgbRendering)
 
void initScreen (const Graphics::PixelFormat *) override
 
void setPalette (const byte *colors, uint start, uint num, bool update, const PaletteMod *, const byte *) override
 
void copyRectToScreen (const byte *src, int srcX, int srcY, int pitch, int destX, int destY, int w, int h, const PaletteMod *, const byte *) override
 
void replaceCursor (const void *cursor, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor) override
 
void replaceMacCursor (const Graphics::Cursor *cursor) override
 
void copyCurrentBitmap (byte *dest, uint32 size) const override
 
void copyCurrentPalette (byte *dest, int start, int num) const override
 
void drawTextFontGlyph (const byte *, int, int, int, int, int, int, const PaletteMod *, const byte *) override
 
Common::Point getMousePos () const override
 
void setMousePos (const Common::Point &pos) const override
 
void setShakePos (int shakeXOffset, int shakeYOffset) const override
 
void clearRect (const Common::Rect &r) const override
 
Common::Point getRealCoords (Common::Point &pos) const override
 
bool supportsPalIntensity () const override
 
bool supportsHiResGraphics () const override
 
bool driverBasedTextRendering () const override
 
- Public Member Functions inherited from Sci::GfxDriver
 GfxDriver (uint16 screenWidth, uint16 screenHeight, int numColors)
 
virtual byte remapTextColor (byte color) const
 
virtual void setColorMap (const byte *colorMap)
 
virtual void setFlags (uint32 flags)
 
virtual void clearFlags (uint32 flags)
 
uint16 numColors () const
 
byte pixelSize () const
 

Static Public Member Functions

static bool validateMode (Common::Platform p)
 

Protected Types

typedef void(* LineProc) (byte *&, const byte *, int, const byte *, const byte *, bool)
 

Protected Attributes

LineProc _renderLine
 
const byte * _convPalette
 
uint16 _vScaleMult
 
uint16 _vScaleDiv
 
const byte * _egaMatchTable
 
byte * _egaColorPatterns
 
byte * _compositeBuffer
 
byte * _currentPalette
 
- Protected Attributes inherited from Sci::GfxDriver
bool _ready
 
const uint16 _screenW
 
const uint16 _screenH
 
uint16 _numColors
 
byte _pixelSize
 

Additional Inherited Members

- Public Types inherited from Sci::GfxDriver
enum  DrawFlags : uint32 { kHiResMode = 1 << 0, kMovieMode = 1 << 1 }
 
- 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: