|
| Screen (KyraEngine_v1 *vm, OSystem *system, const ScreenDim *dimTable, const int dimTableSize) |
|
virtual bool | init () |
|
virtual void | setResolution () |
|
virtual void | enableHiColorMode (bool enabled) |
|
int | updateScreen () |
|
void | updateBackendScreen (bool force) |
|
bool | queryScreenDebug () const |
|
bool | enableScreenDebug (bool enable) |
|
int | setCurPage (int pageNum) |
|
void | clearCurPage () |
|
void | copyWsaRect (int x, int y, int w, int h, int dimState, int plotFunc, const uint8 *src, int unk1, const uint8 *unkPtr1, const uint8 *unkPtr2) |
|
void | copyToPage0 (int y, int h, uint8 page, uint8 *seqBuf) |
|
void | shakeScreen (int times) |
|
void | copyRegion (int x1, int y1, int x2, int y2, int w, int h, int srcPage, int dstPage, int flags=0) |
|
void | copyPage (uint8 srcPage, uint8 dstPage) |
|
void | copyRegionToBuffer (int pageNum, int x, int y, int w, int h, uint8 *dest) |
|
void | copyBlockToPage (int pageNum, int x, int y, int w, int h, const uint8 *src) |
|
void | shuffleScreen (int sx, int sy, int w, int h, int srcPage, int dstPage, int ticks, bool transparent) |
|
void | fillRect (int x1, int y1, int x2, int y2, uint8 color, int pageNum=-1, bool xored=false) |
|
void | clearPage (int pageNum) |
|
int | getPagePixel (int pageNum, int x, int y) |
|
void | setPagePixel (int pageNum, int x, int y, uint8 color) |
|
const uint8 * | getCPagePtr (int pageNum) const |
|
uint8 * | getPageRect (int pageNum, int x, int y, int w, int h) |
|
void | fadeFromBlack (int delay=0x54, const UpdateFunctor *upFunc=0) |
|
void | fadeToBlack (int delay=0x54, const UpdateFunctor *upFunc=0) |
|
virtual void | fadePalette (const Palette &pal, int delay, const UpdateFunctor *upFunc=0) |
|
virtual void | getFadeParams (const Palette &pal, int delay, int &delayInc, int &diff) |
|
virtual int | fadePalStep (const Palette &pal, int diff) |
|
void | setPaletteIndex (uint8 index, uint8 red, uint8 green, uint8 blue) |
|
virtual void | setScreenPalette (const Palette &pal) |
|
void | transposeScreenOutputY (int yAdd) |
|
bool | isInterfacePaletteEnabled () const |
|
void | enableDualPaletteMode (int splitY) |
|
void | disableDualPaletteMode () |
|
virtual void | getRealPalette (int num, uint8 *dst) |
|
Palette & | getPalette (int num) |
|
void | copyPalette (const int dst, const int src) |
|
void | drawLine (bool vertical, int x, int y, int length, int color) |
|
void | drawClippedLine (int x1, int y1, int x2, int y2, int color) |
|
virtual void | drawShadedBox (int x1, int y1, int x2, int y2, int color1, int color2) |
|
void | drawBox (int x1, int y1, int x2, int y2, int color) |
|
virtual bool | loadFont (FontId fontId, const char *filename) |
|
FontId | setFont (FontId fontId) |
|
int | getFontHeight () const |
|
int | getFontWidth () const |
|
int | getCharWidth (uint16 c) const |
|
int | getCharHeight (uint16 c) const |
|
int | getTextWidth (const char *str, bool nextWordOnly=false) |
|
int | getNumberOfCharacters (const char *str) |
|
void | printText (const char *str, int x, int y, uint8 color1, uint8 color2, int pitch=-1) |
|
virtual void | setTextColorMap (const uint8 *cmap)=0 |
|
void | setTextColor (const uint8 *cmap, int a, int b) |
|
void | setTextColor16bit (const uint16 *cmap16) |
|
int | setFontStyles (FontId fontId, int styles) |
|
const ScreenDim * | getScreenDim (int dim) const |
|
void | modifyScreenDim (int dim, int x, int y, int w, int h) |
|
int | screenDimTableCount () const |
|
void | setScreenDim (int dim) |
|
int | curDimIndex () const |
|
void | setTextMarginRight (int x) |
|
uint8 * | encodeShape (int x, int y, int w, int h, int flags) |
|
int | setNewShapeHeight (uint8 *shape, int height) |
|
int | resetShapeHeight (uint8 *shape) |
|
virtual void | drawShape (uint8 pageNum, const uint8 *shapeData, int x, int y, int sd, int flags,...) |
|
void | hideMouse () |
|
void | showMouse () |
|
bool | isMouseVisible () const |
|
virtual void | setMouseCursor (int x, int y, const byte *shape) |
|
virtual int | getRectSize (int w, int h)=0 |
|
void | rectClip (int &x, int &y, int w, int h) |
|
virtual void | loadBitmap (const char *filename, int tempPage, int dstPage, Palette *pal, bool skip=false) |
|
virtual bool | loadPalette (const char *filename, Palette &pal) |
|
bool | loadPaletteTable (const char *filename, int firstPalette) |
|
virtual void | loadPalette (const byte *data, Palette &pal, int bytes) |
|
void | setAnimBlockPtr (int size) |
|
void | setShapePages (int page1, int page2, int minY=-1, int maxY=201) |
|
virtual byte | getShapeFlag1 (int x, int y) |
|
virtual byte | getShapeFlag2 (int x, int y) |
|
virtual int | getDrawLayer (int x, int y) |
|
virtual int | getDrawLayer2 (int x, int y, int height) |
|
void | blockInRegion (int x, int y, int width, int height) |
|
void | blockOutRegion (int x, int y, int width, int height) |
|
void | crossFadeRegion (int x1, int y1, int x2, int y2, int w, int h, int srcPage, int dstPage) |
|
uint16 * | get16bitPalette () |
|
void | set16bitShadingLevel (int lvl) |
|
|
void | resetPagePtrsAndBuffers (int pageSize) |
|
uint8 * | getPagePtr (int pageNum) |
|
virtual void | updateDirtyRects () |
|
void | updateDirtyRectsAmiga () |
|
void | updateDirtyRectsOvl () |
|
template<typename srcType , typename scaleToType > |
void | scale2x (uint8 *dst, int dstPitch, const uint8 *src, int srcPitch, int w, int h) |
|
template<typename pixelType > |
void | mergeOverlayImpl (int x, int y, int w, int h) |
|
virtual void | mergeOverlay (int x, int y, int w, int h) |
|
byte * | getOverlayPtr (int pageNum) |
|
void | clearOverlayPage (int pageNum) |
|
void | clearOverlayRect (int pageNum, int x, int y, int w, int h) |
|
void | copyOverlayRegion (int x, int y, int x2, int y2, int w, int h, int srcPage, int dstPage) |
|
uint16 | fetchChar (const char *&s) const |
|
void | drawChar (uint16 c, int x, int y, int pitch=-1) |
|
int16 | encodeShapeAndCalculateSize (uint8 *from, uint8 *to, int size) |
|
uint16 | shade16bitColor (uint16 col) |
|
virtual void | postProcessCursor (uint8 *data, int w, int h, int pitch) |
|
void | addDirtyRect (int x, int y, int w, int h) |
|
int | drawShapeMarginNoScaleUpwind (uint8 *&dst, const uint8 *&src, int &cnt) |
|
int | drawShapeMarginNoScaleDownwind (uint8 *&dst, const uint8 *&src, int &cnt) |
|
int | drawShapeMarginScaleUpwind (uint8 *&dst, const uint8 *&src, int &cnt) |
|
int | drawShapeMarginScaleDownwind (uint8 *&dst, const uint8 *&src, int &cnt) |
|
int | drawShapeSkipScaleUpwind (uint8 *&dst, const uint8 *&src, int &cnt) |
|
int | drawShapeSkipScaleDownwind (uint8 *&dst, const uint8 *&src, int &cnt) |
|
void | drawShapeProcessLineNoScaleUpwind (uint8 *&dst, const uint8 *&src, const DsPlotFunc plot, int &cnt, int16) |
|
void | drawShapeProcessLineNoScaleDownwind (uint8 *&dst, const uint8 *&src, const DsPlotFunc plot, int &cnt, int16) |
|
void | drawShapeProcessLineScaleUpwind (uint8 *&dst, const uint8 *&src, const DsPlotFunc plot, int &cnt, int16 scaleState) |
|
void | drawShapeProcessLineScaleDownwind (uint8 *&dst, const uint8 *&src, const DsPlotFunc plot, int &cnt, int16 scaleState) |
|
void | drawShapePlotType0 (uint8 *dst, uint8 cmd) |
|
void | drawShapePlotType1 (uint8 *dst, uint8 cmd) |
|
void | drawShapePlotType3_7 (uint8 *dst, uint8 cmd) |
|
void | drawShapePlotType4 (uint8 *dst, uint8 cmd) |
|
void | drawShapePlotType5 (uint8 *dst, uint8 cmd) |
|
void | drawShapePlotType6 (uint8 *dst, uint8 cmd) |
|
void | drawShapePlotType8 (uint8 *dst, uint8 cmd) |
|
void | drawShapePlotType9 (uint8 *dst, uint8 cmd) |
|
void | drawShapePlotType11_15 (uint8 *dst, uint8 cmd) |
|
void | drawShapePlotType12 (uint8 *dst, uint8 cmd) |
|
void | drawShapePlotType13 (uint8 *dst, uint8 cmd) |
|
void | drawShapePlotType14 (uint8 *dst, uint8 cmd) |
|
void | drawShapePlotType16 (uint8 *dst, uint8 cmd) |
|
void | drawShapePlotType20 (uint8 *dst, uint8 cmd) |
|
void | drawShapePlotType21 (uint8 *dst, uint8 cmd) |
|
void | drawShapePlotType33 (uint8 *dst, uint8 cmd) |
|
void | drawShapePlotType37 (uint8 *dst, uint8 cmd) |
|
void | drawShapePlotType48 (uint8 *dst, uint8 cmd) |
|
void | drawShapePlotType52 (uint8 *dst, uint8 cmd) |
|