From 01eb329be2df445f3374f8183bec5d9031450062 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Mon, 4 Jan 2010 16:44:58 +0000 Subject: SCI: kPalette / animate adjustments to behave more like sierra sci, also doesnt crash in island of brain anymore svn-id: r46975 --- engines/sci/gui32/gui32.cpp | 6 +++++- engines/sci/gui32/gui32.h | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'engines/sci/gui32') diff --git a/engines/sci/gui32/gui32.cpp b/engines/sci/gui32/gui32.cpp index fab3cb1d6c..bcda0e3611 100644 --- a/engines/sci/gui32/gui32.cpp +++ b/engines/sci/gui32/gui32.cpp @@ -1588,8 +1588,12 @@ void SciGui32::paletteSetIntensity(uint16 fromColor, uint16 toColor, uint16 inte #endif } -void SciGui32::paletteAnimate(uint16 fromColor, uint16 toColor, uint16 speed) { +bool SciGui32::paletteAnimate(uint16 fromColor, uint16 toColor, uint16 speed) { //warning("STUB"); + return false; +} + +void SciGui32::paletteAnimateSet() { } #define SHAKE_DOWN 1 diff --git a/engines/sci/gui32/gui32.h b/engines/sci/gui32/gui32.h index 2bd13ae850..3221242dd0 100644 --- a/engines/sci/gui32/gui32.h +++ b/engines/sci/gui32/gui32.h @@ -94,7 +94,8 @@ public: void paletteUnsetFlag(uint16 fromColor, uint16 toColor, uint16 flag); int16 paletteFind(uint16 r, uint16 g, uint16 b); void paletteSetIntensity(uint16 fromColor, uint16 toColor, uint16 intensity); - void paletteAnimate(uint16 fromColor, uint16 toColor, uint16 speed); + bool paletteAnimate(uint16 fromColor, uint16 toColor, uint16 speed); + void paletteAnimateSet(); void shakeScreen(uint16 shakeCount, uint16 directions); -- cgit v1.2.3