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/script_v70he.cpp | |
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/script_v70he.cpp')
-rw-r--r-- | engines/scumm/he/script_v70he.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
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]; |