Small color table correction for demo mode of v1 maniac

svn-id: r11650
This commit is contained in:
Travis Howell 2003-12-15 11:06:41 +00:00
parent 4e736a6602
commit 09495a7fc9
3 changed files with 10 additions and 5 deletions

View File

@ -178,9 +178,12 @@ bool ScummEngine::loadState(int slot, bool compat, SaveFileManager *mgr) {
// ever add options for using different 16-colour palettes.
if (_version == 1) {
if (_gameId == GID_MANIAC)
if (_gameId == GID_MANIAC) {
setupV1ManiacPalette();
else
if (_demoMode)
setPalColor(15, 252, 84, 252);
} else
setupV1ZakPalette();
} else if (_features & GF_16COLOR) {
if ((_features & GF_AMIGA) || (_features & GF_ATARI_ST))

View File

@ -825,7 +825,7 @@ void ScummEngine_v2::o2_verbOps() {
vs->verbid = verb;
if (_version == 1) {
if (_gameId == GID_MANIAC && _demoMode)
vs->color = 4;
vs->color = 15;
else
vs->color = 5;

View File

@ -1019,9 +1019,11 @@ void ScummEngine::scummInit() {
for (i = 0; i < 256; i++)
_roomPalette[i] = i;
if (_version == 1) {
if (_gameId == GID_MANIAC)
if (_gameId == GID_MANIAC) {
setupV1ManiacPalette();
else
if (_demoMode)
setPalColor(15, 252, 84, 252);
} else
setupV1ZakPalette();
} else if (_features & GF_16COLOR) {
for (i = 0; i < 16; i++)