ScummVM API documentation
Sci::SCI0_PC98Gfx8ColorsDriver Class Referencefinal
Inheritance diagram for Sci::SCI0_PC98Gfx8ColorsDriver:
Sci::UpscaledGfxDriver Sci::GfxDefaultDriver Sci::GfxDriver

Public Member Functions

 SCI0_PC98Gfx8ColorsDriver (bool cursorScaleHeight, bool useTextModeForSJISChars, bool rgbRendering)
 
void initScreen (const Graphics::PixelFormat *format) override
 
void setPalette (const byte *, uint, uint, bool, const PaletteMod *, const byte *) override
 
void replaceCursor (const void *cursor, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor) override
 
byte remapTextColor (byte color) const override
 
- Public Member Functions inherited from Sci::UpscaledGfxDriver
 UpscaledGfxDriver (uint16 screenWidth, uint16 screenHeight, uint16 textAlignX, bool scaleCursor, bool rgbRendering)
 
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
 
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
 
void drawTextFontGlyph (const byte *src, int pitch, int hiresDestX, int hiresDestY, int hiresW, int hiresH, int transpColor, const PaletteMod *palMods, const byte *palModMapping) override
 
bool driverBasedTextRendering () const override
 
- Public Member Functions inherited from Sci::GfxDefaultDriver
 GfxDefaultDriver (uint16 screenWidth, uint16 screenHeight, bool isSCI0, bool rgbRendering)
 
void replaceMacCursor (const Graphics::Cursor *) 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)
 
uint16 numColors () const
 
byte pixelSize () const
 

Static Public Member Functions

static bool validateMode (Common::Platform p)
 

Additional Inherited Members

- Protected Types inherited from Sci::UpscaledGfxDriver
typedef void(* GlyphRenderProc) (byte *, int, const byte *, int, int, int, int)
 
typedef void(* ScaledRenderProc) (byte *, const byte *, int, int, int)
 
- Protected Types inherited from Sci::GfxDefaultDriver
typedef void(* ColorConvProc) (byte *, const byte *, int, int, int, const byte *)
 
typedef void(* ColorConvModProc) (byte *, const byte *, int, int, int, const byte *, const byte *, Graphics::PixelFormat &, const PaletteMod *, const byte *)
 
- Protected Member Functions inherited from Sci::UpscaledGfxDriver
void updateScreen (int destX, int destY, int w, int h, const PaletteMod *palMods, const byte *palModMapping)
 
void adjustCursorBuffer (uint16 newWidth, uint16 newHeight)
 
- Protected Member Functions inherited from Sci::GfxDefaultDriver
void updatePalette (const byte *colors, uint start, uint num)
 
- Static Protected Member Functions inherited from Sci::GfxDriver
static bool checkDriver (const char *const *driverNames, int listSize)
 
- Protected Attributes inherited from Sci::UpscaledGfxDriver
GlyphRenderProc _renderGlyph
 
ScaledRenderProc _renderScaled
 
uint16 _textAlignX
 
byte * _scaledBitmap
 
- Protected Attributes inherited from Sci::GfxDefaultDriver
byte * _compositeBuffer
 
byte * _currentBitmap
 
byte * _currentPalette
 
byte * _internalPalette
 
uint16 _virtualW
 
uint16 _virtualH
 
Graphics::PixelFormat _format
 
byte _srcPixelSize
 
bool _cursorUsesScreenPalette
 
const bool _alwaysCreateBmpBuffer
 
const bool _requestRGBMode
 
ColorConvProc _colorConv
 
ColorConvModProc _colorConvMod
 
- Protected Attributes inherited from Sci::GfxDriver
bool _ready
 
const uint16 _screenW
 
const uint16 _screenH
 
uint16 _numColors
 
byte _pixelSize
 

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