HE 7.0 fixes

o Stub for o7_startSound
 o graphics decoders
 o findResource was moved to ScummEngine and extended
 o 7.0+ titles use akos costumes, so fix that in launcher
 o more o6_resourceRoutines stubs

Now HE 7.0 games (first 320x200 windows ports) show intros and some are
playable to some extent.

svn-id: r14003
This commit is contained in:
Eugene Sandulenko 2004-06-23 01:36:57 +00:00
parent a350fcda0d
commit 2e0814514c
10 changed files with 182 additions and 23 deletions

View file

@ -196,7 +196,7 @@ void ScummEngine_v7he::setupOpcodes() {
OPCODE(o6_getOwner),
OPCODE(o6_jump),
/* 74 */
OPCODE(o6_startSound),
OPCODE(o7_startSound),
OPCODE(o6_stopSound),
OPCODE(o6_startMusic),
OPCODE(o6_stopObjectScript),
@ -644,4 +644,48 @@ void ScummEngine_v7he::o7_pickupObject() {
}
void ScummEngine_v7he::o7_startSound() {
byte op;
op = fetchScriptByte();
switch (op) {
case 224:
// _staticVar1 = pop();
pop();
break;
case 230:
// _staticVar2 = pop();
pop();
break;
case 231:
// _staticVar3 = pop();
pop();
break;
case 232:
pop();
// _staticVar4 = pop();
// _staticVar3 = 0;
// _staticVar1 = 11025;
// _staticVar2 = VAR(VAR_MUSIC_TIMER);
break;
case 245:
// _staticVar5 |= 1;
break;
case 255:
// _sound->addSoundToQueue(_staticVar4, _staticVar3, _staticVar2, _staticVar5);
// _staticVar5 = 0;
break;
default:
break;
}
warning("o7_startSound stub (%d)", op);
}
} // End of namespace Scumm