diff options
Diffstat (limited to 'engines/cine/gfx.cpp')
-rw-r--r-- | engines/cine/gfx.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/cine/gfx.cpp b/engines/cine/gfx.cpp index 40cbc1857d..c76f62cdd7 100644 --- a/engines/cine/gfx.cpp +++ b/engines/cine/gfx.cpp @@ -35,6 +35,8 @@ namespace Cine { uint16 c_palette[256]; +byte colorMode256 = 0; +byte palette256[256 * 3]; byte *screenBuffer; byte *page1Raw; @@ -106,6 +108,13 @@ void gfxInit() { additionalBgTable[8] = page3Raw; } +void gfxDestroy() { + free(screenBuffer); + free(page1Raw); + free(page2Raw); + free(page3Raw); +} + void setMouseCursor(int cursor) { static int currentMouseCursor = -1; assert(cursor >= 0 && cursor < 3); @@ -433,15 +442,6 @@ void fadeToBlack() { } } -void gfxFuncGen1(byte *param1, byte *param2, byte *param3, byte *param4, int16 param5) { -} - -void ptrGfxFunc13(void) { -} - -void gfxFuncGen2(void) { -} - void blitRawScreen(byte *frontBuffer) { gfxFlipRawPage(frontBuffer); } |