|
| 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) |
|