SCUMM: Make the dog sign colors in MI1 VGA CD closer to MI1 VGA floppy

The colors in the sign that tells you that the dogs are only sleeping
are much harder to read in the VGA CD version than in the VGA floppy
version. I assume these were not picked deliberately, but rather a
consequence of the palette being different. So this works around that by
temporarily remapping the palette for the sign object, and adjusting one
of the text colors to something close to the floppy version.
This commit is contained in:
Torbjörn Andersson 2022-08-07 19:21:30 +02:00 committed by Filippos Karapetis
parent a029ea203e
commit effb129776
2 changed files with 25 additions and 0 deletions

View file

@ -3260,6 +3260,16 @@ void ScummEngine_v5::decodeParseString() {
if (_game.id == GID_INDY3 && _game.platform == Common::kPlatformMacintosh && vm.slot[_currentScript].number == 134 && color == 0x8F)
color = 0x87;
// WORKAROUND: In the CD version of MI1, the text in
// the sign about the dogs only sleeping has the wrong
// color. We can't find an exact match to what the
// floppy version used, but we pick on that's as close
// as we can get.
else if (_game.id == GID_MONKEY && _currentRoom == 36 && vm.slot[_currentScript].number == 201 && color == 2 && _enableEnhancements) {
color = findClosestPaletteColor(_currentPalette, 256, 0, 171, 0);
}
_string[textSlot].color = color;
break;
case 2: // SO_CLIPPED