diff options
Diffstat (limited to 'engines/cryomni3d/versailles/engine.cpp')
-rw-r--r-- | engines/cryomni3d/versailles/engine.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/cryomni3d/versailles/engine.cpp b/engines/cryomni3d/versailles/engine.cpp index bb01825551..b9795c28e3 100644 --- a/engines/cryomni3d/versailles/engine.cpp +++ b/engines/cryomni3d/versailles/engine.cpp @@ -339,6 +339,13 @@ void CryOmni3DEngine_Versailles::setupPalette(const byte *palette, uint start, u } } +void CryOmni3DEngine_Versailles::setMainPaletteColor(byte color, byte red, byte green, byte blue) { + _mainPalette[3 * color + 0] = red; + _mainPalette[3 * color + 1] = green; + _mainPalette[3 * color + 2] = blue; + setPalette(_mainPalette, 0, 256); +} + struct transparentScore { unsigned int score; byte redScaled; |