From 857ee03c7d28dc10969193a0e42283621350289e Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 25 Jun 2009 01:29:27 +0000 Subject: Implement properly colored mouse cursors in 16 color version of Kyrandia 1. svn-id: r41845 --- engines/kyra/screen_lok.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/kyra/screen_lok.h') diff --git a/engines/kyra/screen_lok.h b/engines/kyra/screen_lok.h index 39a5cc3571..582830636b 100644 --- a/engines/kyra/screen_lok.h +++ b/engines/kyra/screen_lok.h @@ -82,10 +82,12 @@ public: Screen_LoK_16(KyraEngine_LoK *vm, OSystem *system); void setScreenPalette(const Palette &pal); + + void setMouseCursor(int x, int y, const byte *shape); private: void updateDirtyRectsOvl(); - void convertTo16Colors(uint8 *page, int w, int h); + void convertTo16Colors(uint8 *page, int w, int h, int pitch, int keyColor = -1); void mergeOverlay(int x, int y, int w, int h); void paletteMap(uint8 idx, int r, int g, int b); -- cgit v1.2.3