aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/screen.h
diff options
context:
space:
mode:
authorJohannes Schickel2009-06-25 01:29:41 +0000
committerJohannes Schickel2009-06-25 01:29:41 +0000
commit0ec0b1d4981e227fddd03bf7d5be7077a445baae (patch)
tree838a97933c32751506c8cd2cdcd105b908471902 /engines/kyra/screen.h
parent857ee03c7d28dc10969193a0e42283621350289e (diff)
downloadscummvm-rg350-0ec0b1d4981e227fddd03bf7d5be7077a445baae.tar.gz
scummvm-rg350-0ec0b1d4981e227fddd03bf7d5be7077a445baae.tar.bz2
scummvm-rg350-0ec0b1d4981e227fddd03bf7d5be7077a445baae.zip
Implement palette fading for 16 color version of Kyrandia 1.
svn-id: r41846
Diffstat (limited to 'engines/kyra/screen.h')
-rw-r--r--engines/kyra/screen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/screen.h b/engines/kyra/screen.h
index 2246a84a53..9828704dd4 100644
--- a/engines/kyra/screen.h
+++ b/engines/kyra/screen.h
@@ -228,9 +228,9 @@ public:
void fadeFromBlack(int delay=0x54, const UpdateFunctor *upFunc = 0);
void fadeToBlack(int delay=0x54, const UpdateFunctor *upFunc = 0);
- void fadePalette(const Palette &pal, int delay, const UpdateFunctor *upFunc = 0);
+ virtual void fadePalette(const Palette &pal, int delay, const UpdateFunctor *upFunc = 0);
virtual void getFadeParams(const Palette &pal, int delay, int &delayInc, int &diff);
- int fadePalStep(const Palette &pal, int diff);
+ virtual int fadePalStep(const Palette &pal, int diff);
void setPaletteIndex(uint8 index, uint8 red, uint8 green, uint8 blue);
virtual void setScreenPalette(const Palette &pal);