implemented missing puttputt actor opcode 218. this opcode is strange (based of disassembly)

svn-id: r8821
This commit is contained in:
Paweł Kołodziejski 2003-07-06 23:19:03 +00:00
parent 297aaa9f4e
commit 1ec23e5f3a

View File

@ -1742,8 +1742,26 @@ void Scumm_v6::o6_actorOps() {
a->initActor(2);
break;
case 218:
{
// TODO: this opcode is used in the putt-putt fun pack, in 'checkers" mini game
warning("o6_actorOps(): unimplemented opcode 218");
int top_actor = a->top;
int bottom_actor = a->bottom;
// a->_zbuf = 1; ???
a->needRedraw = 1;
a->drawActorCostume();
// a->_zbuf = 0; ???
a->needRedraw = 0;
a->drawActorCostume();
if (a->top > top_actor) {
a->bottom = top_actor;
}
if (a->bottom > bottom_actor) {
a->bottom = bottom_actor;
}
}
break;
case 227: /* actor_layer */
a->layer = pop();