diff options
author | Travis Howell | 2006-11-24 09:27:50 +0000 |
---|---|---|
committer | Travis Howell | 2006-11-24 09:27:50 +0000 |
commit | d1eb83a4703035510acd765b05f3c9786934f5bf (patch) | |
tree | 8d30bb65d857185c2ee02cb91fba03c562ce92bb /engines/scumm/he | |
parent | a77ae86c43cac920fdec2a43b254420b924d44f8 (diff) | |
download | scummvm-rg350-d1eb83a4703035510acd765b05f3c9786934f5bf.tar.gz scummvm-rg350-d1eb83a4703035510acd765b05f3c9786934f5bf.tar.bz2 scummvm-rg350-d1eb83a4703035510acd765b05f3c9786934f5bf.zip |
Add findBox opcode for Hebrew version of Freddi Fish 1
svn-id: r24780
Diffstat (limited to 'engines/scumm/he')
-rw-r--r-- | engines/scumm/he/intern_he.h | 1 | ||||
-rw-r--r-- | engines/scumm/he/script_v100he.cpp | 2 | ||||
-rw-r--r-- | engines/scumm/he/script_v70he.cpp | 8 | ||||
-rw-r--r-- | engines/scumm/he/script_v72he.cpp | 2 | ||||
-rw-r--r-- | engines/scumm/he/script_v80he.cpp | 2 | ||||
-rw-r--r-- | engines/scumm/he/script_v90he.cpp | 2 |
6 files changed, 12 insertions, 5 deletions
diff --git a/engines/scumm/he/intern_he.h b/engines/scumm/he/intern_he.h index a1998c19e2..54df8f8f48 100644 --- a/engines/scumm/he/intern_he.h +++ b/engines/scumm/he/intern_he.h @@ -198,6 +198,7 @@ protected: void o70_getStringLenForWidth(); void o70_getCharIndexInString(); void o70_setFilePath(); + void o70_findBox(); void o70_setSystemMessage(); void o70_polygonOps(); void o70_polygonHit(); diff --git a/engines/scumm/he/script_v100he.cpp b/engines/scumm/he/script_v100he.cpp index 11a963c418..8422d68778 100644 --- a/engines/scumm/he/script_v100he.cpp +++ b/engines/scumm/he/script_v100he.cpp @@ -260,7 +260,7 @@ void ScummEngine_v100he::setupOpcodes() { OPCODE(o72_findAllObjects), /* AC */ OPCODE(o90_findAllObjectsWithClassOf), - OPCODE(o6_invalid), + OPCODE(o70_findBox), OPCODE(o6_findInventory), OPCODE(o72_findObject), /* B0 */ diff --git a/engines/scumm/he/script_v70he.cpp b/engines/scumm/he/script_v70he.cpp index c5dc545732..16bdddb6cd 100644 --- a/engines/scumm/he/script_v70he.cpp +++ b/engines/scumm/he/script_v70he.cpp @@ -351,7 +351,7 @@ void ScummEngine_v70he::setupOpcodes() { OPCODE(o70_writeINI), OPCODE(o70_getStringLenForWidth), OPCODE(o70_getCharIndexInString), - OPCODE(o6_invalid), + OPCODE(o70_findBox), /* F8 */ OPCODE(o6_invalid), OPCODE(o70_setFilePath), @@ -1056,6 +1056,12 @@ void ScummEngine_v70he::o70_getCharIndexInString() { push(-1); } +void ScummEngine_v70he::o70_findBox() { + int y = pop(); + int x = pop(); + push(getSpecialBox(x, y)); +} + void ScummEngine_v70he::o70_setFilePath() { int len; byte filename[100]; diff --git a/engines/scumm/he/script_v72he.cpp b/engines/scumm/he/script_v72he.cpp index d6502d2ae4..2728f93855 100644 --- a/engines/scumm/he/script_v72he.cpp +++ b/engines/scumm/he/script_v72he.cpp @@ -354,7 +354,7 @@ void ScummEngine_v72he::setupOpcodes() { OPCODE(o72_writeINI), OPCODE(o70_getStringLenForWidth), OPCODE(o70_getCharIndexInString), - OPCODE(o6_invalid), + OPCODE(o70_findBox), /* F8 */ OPCODE(o72_getResourceSize), OPCODE(o72_setFilePath), diff --git a/engines/scumm/he/script_v80he.cpp b/engines/scumm/he/script_v80he.cpp index 5f4816ce9e..ca1c7fd839 100644 --- a/engines/scumm/he/script_v80he.cpp +++ b/engines/scumm/he/script_v80he.cpp @@ -351,7 +351,7 @@ void ScummEngine_v80he::setupOpcodes() { OPCODE(o72_writeINI), OPCODE(o70_getStringLenForWidth), OPCODE(o70_getCharIndexInString), - OPCODE(o6_invalid), + OPCODE(o70_findBox), /* F8 */ OPCODE(o72_getResourceSize), OPCODE(o72_setFilePath), diff --git a/engines/scumm/he/script_v90he.cpp b/engines/scumm/he/script_v90he.cpp index aecbbb2f42..d5ef7c32f1 100644 --- a/engines/scumm/he/script_v90he.cpp +++ b/engines/scumm/he/script_v90he.cpp @@ -351,7 +351,7 @@ void ScummEngine_v90he::setupOpcodes() { OPCODE(o72_writeINI), OPCODE(o70_getStringLenForWidth), OPCODE(o70_getCharIndexInString), - OPCODE(o6_invalid), + OPCODE(o70_findBox), /* F8 */ OPCODE(o72_getResourceSize), OPCODE(o72_setFilePath), |