aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/screen_lok.h
diff options
context:
space:
mode:
authorJohannes Schickel2009-06-25 01:29:27 +0000
committerJohannes Schickel2009-06-25 01:29:27 +0000
commit857ee03c7d28dc10969193a0e42283621350289e (patch)
treea494254d907421d66df317a4f58336adcb9a5eeb /engines/kyra/screen_lok.h
parent004f6900b11e0ce841816f06e851ec37b8907466 (diff)
downloadscummvm-rg350-857ee03c7d28dc10969193a0e42283621350289e.tar.gz
scummvm-rg350-857ee03c7d28dc10969193a0e42283621350289e.tar.bz2
scummvm-rg350-857ee03c7d28dc10969193a0e42283621350289e.zip
Implement properly colored mouse cursors in 16 color version of Kyrandia 1.
svn-id: r41845
Diffstat (limited to 'engines/kyra/screen_lok.h')
-rw-r--r--engines/kyra/screen_lok.h4
1 files changed, 3 insertions, 1 deletions
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);