[Scummvm-cvs-logs] SF.net SVN: scummvm: [24780] scummvm/trunk/engines/scumm/he
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Fri Nov 24 10:27:50 CET 2006
Revision: 24780
http://svn.sourceforge.net/scummvm/?rev=24780&view=rev
Author: kirben
Date: 2006-11-24 01:27:50 -0800 (Fri, 24 Nov 2006)
Log Message:
-----------
Add findBox opcode for Hebrew version of Freddi Fish 1
Modified Paths:
--------------
scummvm/trunk/engines/scumm/he/intern_he.h
scummvm/trunk/engines/scumm/he/script_v100he.cpp
scummvm/trunk/engines/scumm/he/script_v70he.cpp
scummvm/trunk/engines/scumm/he/script_v72he.cpp
scummvm/trunk/engines/scumm/he/script_v80he.cpp
scummvm/trunk/engines/scumm/he/script_v90he.cpp
Modified: scummvm/trunk/engines/scumm/he/intern_he.h
===================================================================
--- scummvm/trunk/engines/scumm/he/intern_he.h 2006-11-24 00:00:27 UTC (rev 24779)
+++ scummvm/trunk/engines/scumm/he/intern_he.h 2006-11-24 09:27:50 UTC (rev 24780)
@@ -198,6 +198,7 @@
void o70_getStringLenForWidth();
void o70_getCharIndexInString();
void o70_setFilePath();
+ void o70_findBox();
void o70_setSystemMessage();
void o70_polygonOps();
void o70_polygonHit();
Modified: scummvm/trunk/engines/scumm/he/script_v100he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/script_v100he.cpp 2006-11-24 00:00:27 UTC (rev 24779)
+++ scummvm/trunk/engines/scumm/he/script_v100he.cpp 2006-11-24 09:27:50 UTC (rev 24780)
@@ -260,7 +260,7 @@
OPCODE(o72_findAllObjects),
/* AC */
OPCODE(o90_findAllObjectsWithClassOf),
- OPCODE(o6_invalid),
+ OPCODE(o70_findBox),
OPCODE(o6_findInventory),
OPCODE(o72_findObject),
/* B0 */
Modified: scummvm/trunk/engines/scumm/he/script_v70he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/script_v70he.cpp 2006-11-24 00:00:27 UTC (rev 24779)
+++ scummvm/trunk/engines/scumm/he/script_v70he.cpp 2006-11-24 09:27:50 UTC (rev 24780)
@@ -351,7 +351,7 @@
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 @@
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];
Modified: scummvm/trunk/engines/scumm/he/script_v72he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/script_v72he.cpp 2006-11-24 00:00:27 UTC (rev 24779)
+++ scummvm/trunk/engines/scumm/he/script_v72he.cpp 2006-11-24 09:27:50 UTC (rev 24780)
@@ -354,7 +354,7 @@
OPCODE(o72_writeINI),
OPCODE(o70_getStringLenForWidth),
OPCODE(o70_getCharIndexInString),
- OPCODE(o6_invalid),
+ OPCODE(o70_findBox),
/* F8 */
OPCODE(o72_getResourceSize),
OPCODE(o72_setFilePath),
Modified: scummvm/trunk/engines/scumm/he/script_v80he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/script_v80he.cpp 2006-11-24 00:00:27 UTC (rev 24779)
+++ scummvm/trunk/engines/scumm/he/script_v80he.cpp 2006-11-24 09:27:50 UTC (rev 24780)
@@ -351,7 +351,7 @@
OPCODE(o72_writeINI),
OPCODE(o70_getStringLenForWidth),
OPCODE(o70_getCharIndexInString),
- OPCODE(o6_invalid),
+ OPCODE(o70_findBox),
/* F8 */
OPCODE(o72_getResourceSize),
OPCODE(o72_setFilePath),
Modified: scummvm/trunk/engines/scumm/he/script_v90he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/script_v90he.cpp 2006-11-24 00:00:27 UTC (rev 24779)
+++ scummvm/trunk/engines/scumm/he/script_v90he.cpp 2006-11-24 09:27:50 UTC (rev 24780)
@@ -351,7 +351,7 @@
OPCODE(o72_writeINI),
OPCODE(o70_getStringLenForWidth),
OPCODE(o70_getCharIndexInString),
- OPCODE(o6_invalid),
+ OPCODE(o70_findBox),
/* F8 */
OPCODE(o72_getResourceSize),
OPCODE(o72_setFilePath),
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list