aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/screen_v2.h
diff options
context:
space:
mode:
authorJohannes Schickel2010-08-03 16:21:45 +0000
committerJohannes Schickel2010-08-03 16:21:45 +0000
commit14c9522d776a6a7ceb01b9b3076d43729e7780f4 (patch)
tree0b05eda0d2ced544f876314d81958d701b1b38ac /engines/kyra/screen_v2.h
parent14e7ba5d91be70e4c4479916875a0d782c02b1ee (diff)
downloadscummvm-rg350-14c9522d776a6a7ceb01b9b3076d43729e7780f4.tar.gz
scummvm-rg350-14c9522d776a6a7ceb01b9b3076d43729e7780f4.tar.bz2
scummvm-rg350-14c9522d776a6a7ceb01b9b3076d43729e7780f4.zip
KYRA: Fix Screen_v2::generateOverlay implementation.
svn-id: r51703
Diffstat (limited to 'engines/kyra/screen_v2.h')
-rw-r--r--engines/kyra/screen_v2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/screen_v2.h b/engines/kyra/screen_v2.h
index 7be68e7b6d..2850c96e02 100644
--- a/engines/kyra/screen_v2.h
+++ b/engines/kyra/screen_v2.h
@@ -40,7 +40,7 @@ public:
void checkedPageUpdate(int srcPage, int dstPage);
// palette handling
- uint8 *generateOverlay(const Palette &pal, uint8 *buffer, int color, uint16 factor);
+ uint8 *generateOverlay(const Palette &pal, uint8 *buffer, int color, uint weight);
void applyOverlay(int x, int y, int w, int h, int pageNum, const uint8 *overlay);
int findLeastDifferentColor(const uint8 *paletteEntry, const Palette &pal, uint8 firstColor, uint16 numColors, bool skipSpecialColors = false);