diff options
author | Paul Gilbert | 2016-04-29 21:21:42 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:37:37 -0400 |
commit | 44d95d8e51562d40e5049e9c1c110e6ef9ace83e (patch) | |
tree | 3edc758c3a8ddb2e59464a6a03ef7ea743d40374 /engines/titanic/support/video_surface.h | |
parent | 6de4295cc3e691a7d3806cd27be525037eb173fc (diff) | |
download | scummvm-rg350-44d95d8e51562d40e5049e9c1c110e6ef9ace83e.tar.gz scummvm-rg350-44d95d8e51562d40e5049e9c1c110e6ef9ace83e.tar.bz2 scummvm-rg350-44d95d8e51562d40e5049e9c1c110e6ef9ace83e.zip |
TITANIC: Simplify video surface shading palette
Diffstat (limited to 'engines/titanic/support/video_surface.h')
-rw-r--r-- | engines/titanic/support/video_surface.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/support/video_surface.h b/engines/titanic/support/video_surface.h index 60315a6477..bf2a1a18f9 100644 --- a/engines/titanic/support/video_surface.h +++ b/engines/titanic/support/video_surface.h @@ -221,17 +221,17 @@ public: class OSVideoSurface : public CVideoSurface { friend class OSMovie; private: - static byte _map[0x400]; + static byte _palette[32][32]; /** - * Setup the color mapping table + * Setup the shading palettes */ - static void setupMap(byte map[0x400], byte val); + static void setupPalette(byte palette[32][32], byte val); public: /** * Setup statics */ - static void setup() { setupMap(_map, 0xff); } + static void setup() { setupPalette(_palette, 0xff); } public: OSVideoSurface(CScreenManager *screenManager, DirectDrawSurface *surface); OSVideoSurface(CScreenManager *screenManager, const CResourceKey &key, bool flag = false); |