Reimplemented the preliminary Dig features. Implemented actor with many direction. Fixed bomp bug

svn-id: r3661
This commit is contained in:
Vincent Hamm 2002-03-06 09:40:21 +00:00
parent c7d58aca84
commit 474c9e333b
7 changed files with 177 additions and 105 deletions

View file

@ -2692,6 +2692,17 @@ void Scumm::o6_kernelFunction() {
a = derefActorSafe(args[1], "o6_kernelFunction:212");
push(a->frame);
break;
case 215:
if(_extraBoxFlags[args[1]]&0x00FF==0x00C0)
{
push(_extraBoxFlags[args[1]]);
}
else
{
byte* temp = (byte*)getBoxBaseAddr(args[1]);
push((byte)(*(temp+17)));
}
break;
default:
error("o6_kernelFunction: default case %d", args[0]);
}