Adjustments for Enchanced Maniac Mansion demo.

svn-id: r13160
This commit is contained in:
Travis Howell 2004-03-03 02:42:51 +00:00
parent bb97464292
commit a79a0647d7
2 changed files with 4 additions and 8 deletions

View File

@ -823,15 +823,11 @@ void ScummEngine_v2::o2_verbOps() {
vs = &_verbs[slot];
vs->verbid = verb;
if (_version == 1) {
if (_gameId == GID_MANIAC && _demoMode)
vs->color = 16;
else
vs->color = 5;
vs->color = (_gameId == GID_MANIAC && _demoMode) ? 16 : 5;
vs->hicolor = 7;
vs->dimcolor = 11;
} else {
vs->color = 2;
vs->color = (_gameId == GID_MANIAC && _demoMode) ? 13 : 2;
vs->hicolor = 14;
vs->dimcolor = 8;
}
@ -1404,7 +1400,7 @@ void ScummEngine_v2::o2_cutscene() {
// FIXME allows quotes script (173) to start during introudction of
// demo mode of V1 Maniac Mansion. setUserState was halting script
// 173 before it started.
if (!(_gameId == GID_MANIAC && _version == 1 && _demoMode))
if (!(_gameId == GID_MANIAC && _demoMode))
// Hide inventory, freeze scripts, hide cursor
setUserState(15);

View File

@ -1041,7 +1041,7 @@ void ScummEngine::scummInit() {
_actors[i].initActor(1);
// this is from IDB
if (_version == 1)
if ((_version == 1) || (_version == 2 && _demoMode))
_actors[i].setActorCostume(i);
}