[Scummvm-git-logs] scummvm master -> 9301579282d4675763946d352b2e3586b2f6d0ff
neuromancer
noreply at scummvm.org
Wed Nov 19 19:59:01 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
9301579282 FREESCAPE: eclipse cpc color fixes
Commit: 9301579282d4675763946d352b2e3586b2f6d0ff
https://github.com/scummvm/scummvm/commit/9301579282d4675763946d352b2e3586b2f6d0ff
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2025-11-19T20:58:44+01:00
Commit Message:
FREESCAPE: eclipse cpc color fixes
Changed paths:
engines/freescape/games/eclipse/cpc.cpp
engines/freescape/games/palettes.cpp
diff --git a/engines/freescape/games/eclipse/cpc.cpp b/engines/freescape/games/eclipse/cpc.cpp
index d2e41a2581a..b3182388137 100644
--- a/engines/freescape/games/eclipse/cpc.cpp
+++ b/engines/freescape/games/eclipse/cpc.cpp
@@ -190,13 +190,11 @@ void EclipseEngine::drawCPCUI(Graphics::Surface *surface) {
drawIndicator(surface, 45, 4, 12);
drawEclipseIndicator(surface, 228, 0, front, other);
- uint32 blue = _gfx->_texturePixelFormat.ARGBToColor(0xFF, 0x55, 0x55, 0xFF);
-
Common::Rect jarBackground(124, 165, 148, 192);
surface->fillRect(jarBackground, back);
Common::Rect jarWater(124, 192 - _gameStateVars[k8bitVariableEnergy], 148, 192);
- surface->fillRect(jarWater, blue);
+ surface->fillRect(jarWater, color);
surface->fillRect(Common::Rect(225, 168, 235, 187), front);
drawCompass(surface, 229, 177, _yaw, 10, back);
diff --git a/engines/freescape/games/palettes.cpp b/engines/freescape/games/palettes.cpp
index c666fc09d3a..207fe154153 100644
--- a/engines/freescape/games/palettes.cpp
+++ b/engines/freescape/games/palettes.cpp
@@ -101,14 +101,14 @@ byte kDrillerCPCPalette[32][3] = {
{0xff, 0x00, 0x80}, // 5
{0x00, 0x80, 0x80}, // 6
{0xff, 0x80, 0x80}, // 7
- {0x11, 0x22, 0x33},
+ {0x80, 0x00, 0xff}, // 8
{0x00, 0x80, 0x00}, // 9
{0xff, 0xff, 0x00}, // 10
{0xff, 0xff, 0xff}, // 11
{0xff, 0x00, 0x00}, // 12
{0x11, 0x22, 0x33},
{0xff, 0x80, 0x00}, // 14
- {0x11, 0x22, 0x33},
+ {0xff, 0x80, 0xff}, // 15
{0x11, 0x22, 0x33},
{0x00, 0xff, 0x80}, // 17
{0x00, 0xff, 0x00}, // 18
@@ -122,7 +122,7 @@ byte kDrillerCPCPalette[32][3] = {
{0x80, 0xff, 0x00}, // 26
{0x00, 0xff, 0xff}, // 27
{0x80, 0x00, 0x00}, // 28
- {0x11, 0x22, 0x33},
+ {0x80, 0x00, 0xff}, // 29
{0x80, 0x80, 0x00}, // 30
{0x80, 0x80, 0xff}, // 31
};
More information about the Scummvm-git-logs
mailing list