diff options
author | Travis Howell | 2004-02-09 15:22:31 +0000 |
---|---|---|
committer | Travis Howell | 2004-02-09 15:22:31 +0000 |
commit | 8de55dcbca68f5c90fa596f43f9fecd057f26bac (patch) | |
tree | 01430cdde667a500bddcd629d857bf01f26d26e1 /scumm/script_v6he.cpp | |
parent | b85e7e77bc3ed817a4c7ea833d1d590210ea4498 (diff) | |
download | scummvm-rg350-8de55dcbca68f5c90fa596f43f9fecd057f26bac.tar.gz scummvm-rg350-8de55dcbca68f5c90fa596f43f9fecd057f26bac.tar.bz2 scummvm-rg350-8de55dcbca68f5c90fa596f43f9fecd057f26bac.zip |
Cleanup
svn-id: r12797
Diffstat (limited to 'scumm/script_v6he.cpp')
-rw-r--r-- | scumm/script_v6he.cpp | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp index 46352e997f..5594cbe5cf 100644 --- a/scumm/script_v6he.cpp +++ b/scumm/script_v6he.cpp @@ -1064,56 +1064,6 @@ void ScummEngine_v6he::o6_writeFile() { warning("o6_writeFile(%d, %d)", slot, resID); } -void ScummEngine_v6he::o6_findAllObjects() { - int a = pop(); - int i = 1; - - if (a != _currentRoom) - warning("o6_findAllObjects: current room is not %d", a); - writeVar(0, 0); - defineArray(0, 5, 0, _numLocalObjects + 1); - writeArray(0, 0, 0, _numLocalObjects); - - while (i < _numLocalObjects) { - writeArray(0, 0, i, _objs[i].obj_nr); - i++; - } - - push(readVar(0)); -} - -void ScummEngine_v6he::o6_unknownE1() { - // this opcode check ground area in minigame "Asteroid Lander" in the dig - int y = pop(); - int x = pop(); - - if (x > _screenWidth - 1) { - push(-1); - return; - } - if (x < 0) { - push(-1); - return; - } - - if (y < 0) { - push(-1); - return; - } - - VirtScreen *vs = findVirtScreen(y); - - if (vs == NULL) { - push(-1); - return; - } - - int offset = (y - vs->topline) * vs->width + x + _screenLeft; - - byte area = *(vs->screenPtr + offset); - push(area); -} - void ScummEngine_v6he::o6_setVolume() { byte subOp = fetchScriptByte(); int soundVolumeMaster; |