Match disasm., applies to The Dig too.
svn-id: r14167
This commit is contained in:
parent
11d552ff7e
commit
5b7157e3c9
3 changed files with 12 additions and 15 deletions
|
@ -682,7 +682,6 @@ protected:
|
|||
void o8_blastText();
|
||||
|
||||
void o8_cursorCommand();
|
||||
void o8_createBoxMatrix();
|
||||
void o8_resourceRoutines();
|
||||
void o8_roomOps();
|
||||
void o8_actorOps();
|
||||
|
|
|
@ -1465,7 +1465,18 @@ void ScummEngine_v6::o6_setBoxFlags() {
|
|||
}
|
||||
|
||||
void ScummEngine_v6::o6_createBoxMatrix() {
|
||||
int i;
|
||||
Actor *a;
|
||||
|
||||
createBoxMatrix();
|
||||
|
||||
if ((_gameId == GID_DIG) || (_gameId == GID_CMI)) {
|
||||
for (i = 1; i < _numActors; i++) {
|
||||
a = &_actors[i];
|
||||
if (a && a->isInCurrentRoom())
|
||||
a->putActor(a->_pos.x, a->_pos.y, _currentRoom);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void ScummEngine_v6::o6_resourceRoutines() {
|
||||
|
|
|
@ -251,7 +251,7 @@ void ScummEngine_v8::setupOpcodes() {
|
|||
OPCODE(o6_pickupObject),
|
||||
OPCODE(o6_setBoxFlags),
|
||||
/* A8 */
|
||||
OPCODE(o8_createBoxMatrix),
|
||||
OPCODE(o6_createBoxMatrix),
|
||||
OPCODE(o6_invalid),
|
||||
OPCODE(o8_resourceRoutines),
|
||||
OPCODE(o8_roomOps),
|
||||
|
@ -779,19 +779,6 @@ void ScummEngine_v8::o8_cursorCommand() {
|
|||
VAR(VAR_USERPUT) = _userPut;
|
||||
}
|
||||
|
||||
void ScummEngine_v8::o8_createBoxMatrix() {
|
||||
int i;
|
||||
Actor *a;
|
||||
|
||||
createBoxMatrix();
|
||||
|
||||
for (i = 1; i < _numActors; i++) {
|
||||
a = &_actors[i];
|
||||
if (a && a->isInCurrentRoom())
|
||||
a->adjustActorPos();
|
||||
}
|
||||
}
|
||||
|
||||
void ScummEngine_v8::o8_resourceRoutines() {
|
||||
byte subOp = fetchScriptByte();
|
||||
int resid = pop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue