[Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.240,2.241 script_v90he.cpp,2.26,2.27
Travis Howell
kirben at users.sourceforge.net
Sun Sep 12 04:16:04 CEST 2004
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8017/scumm
Modified Files:
intern.h script_v90he.cpp
Log Message:
Another HE opcode
Index: intern.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/intern.h,v
retrieving revision 2.240
retrieving revision 2.241
diff -u -d -r2.240 -r2.241
--- intern.h 12 Sep 2004 10:23:19 -0000 2.240
+++ intern.h 12 Sep 2004 11:15:24 -0000 2.241
@@ -826,6 +826,7 @@
void o90_unknown2F();
void o90_mod();
void o90_unknown34();
+ void o90_unknown36();
void o90_unknown37();
void o90_unknown9E();
};
Index: script_v90he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v90he.cpp,v
retrieving revision 2.26
retrieving revision 2.27
diff -u -d -r2.26 -r2.27
--- script_v90he.cpp 12 Sep 2004 10:23:20 -0000 2.26
+++ script_v90he.cpp 12 Sep 2004 11:15:26 -0000 2.27
@@ -112,7 +112,7 @@
/* 34 */
OPCODE(o90_unknown34),
OPCODE(o6_invalid),
- OPCODE(o6_invalid),
+ OPCODE(o90_unknown36),
OPCODE(o90_unknown37),
/* 38 */
OPCODE(o6_invalid),
@@ -833,6 +833,16 @@
push(readVar(0));
}
+void ScummEngine_v90he::o90_unknown36() {
+ int a = pop();
+ int b = pop();
+ int c = pop();
+
+ if (!c)
+ b = a;
+ push(b);
+}
+
void ScummEngine_v90he::o90_unknown37() {
int data, dim1start, dim1end, dim2start, dim2end;
int type = fetchScriptByte();
More information about the Scummvm-git-logs
mailing list