26 #include "engines/engine.h" 27 #include "lure/luredefs.h" 28 #include "lure/palette.h" 29 #include "lure/disk.h" 30 #include "lure/memory.h" 31 #include "lure/surface.h" 42 void setSystemPalette(
Palette *p, uint16 start, uint16 num);
46 static Screen &getReference();
48 void setPaletteEmpty(
int numEntries = RES_PALETTE_ENTRIES);
50 void setPalette(
Palette *p, uint16 start, uint16 num);
51 Palette &getPalette() {
return *_palette; }
53 void paletteFadeOut(
int numEntries = RES_PALETTE_ENTRIES);
57 void updateArea(uint16 x, uint16 y, uint16 w, uint16 h);
59 Surface &screen() {
return *_screen; }
60 uint8 *screen_raw() {
return _screen->data().data(); }
61 uint8 *pixel_raw(uint16 x, uint16 y) {
return screen_raw() + (y * FULL_SCREEN_WIDTH) + x; }