aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/video_surface.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-29 23:22:42 -0400
committerPaul Gilbert2016-07-10 16:37:39 -0400
commit9205f22a43e6e5ae9a63012fe3ad545150a90b34 (patch)
treeb9a17eddcc42fdd8a3b4c875d7798b306493e340 /engines/titanic/support/video_surface.h
parent44d95d8e51562d40e5049e9c1c110e6ef9ace83e (diff)
downloadscummvm-rg350-9205f22a43e6e5ae9a63012fe3ad545150a90b34.tar.gz
scummvm-rg350-9205f22a43e6e5ae9a63012fe3ad545150a90b34.tar.bz2
scummvm-rg350-9205f22a43e6e5ae9a63012fe3ad545150a90b34.zip
TITANIC: Fix generation of shading palettes
Diffstat (limited to 'engines/titanic/support/video_surface.h')
-rw-r--r--engines/titanic/support/video_surface.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/titanic/support/video_surface.h b/engines/titanic/support/video_surface.h
index bf2a1a18f9..7521a53b4b 100644
--- a/engines/titanic/support/video_surface.h
+++ b/engines/titanic/support/video_surface.h
@@ -221,7 +221,8 @@ public:
class OSVideoSurface : public CVideoSurface {
friend class OSMovie;
private:
- static byte _palette[32][32];
+ static byte _palette1[32][32];
+ static byte _palette2[32][32];
/**
* Setup the shading palettes
@@ -231,7 +232,10 @@ public:
/**
* Setup statics
*/
- static void setup() { setupPalette(_palette, 0xff); }
+ static void setup() {
+ setupPalette(_palette1, 0xff);
+ setupPalette(_palette2, 0xe0);
+ }
public:
OSVideoSurface(CScreenManager *screenManager, DirectDrawSurface *surface);
OSVideoSurface(CScreenManager *screenManager, const CResourceKey &key, bool flag = false);