[Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.39,2.40 script_v6.cpp,1.56,1.57
Jonathan Gray
khalek at users.sourceforge.net
Tue Feb 18 16:00:07 CET 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv17674
Modified Files:
intern.h script_v6.cpp
Log Message:
stub opcode E0 which makes moondemo and fbdemo start yay
Index: intern.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/intern.h,v
retrieving revision 2.39
retrieving revision 2.40
diff -u -d -r2.39 -r2.40
--- intern.h 18 Feb 2003 01:51:04 -0000 2.39
+++ intern.h 18 Feb 2003 23:59:53 -0000 2.40
@@ -374,6 +374,7 @@
void o6_findAllObjects();
void o6_pickVarRandom();
void o6_getDateTime();
+ void o6_unknownE0();
byte VAR_VIDEONAME;
Index: script_v6.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6.cpp,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- script_v6.cpp 18 Feb 2003 01:51:05 -0000 1.56
+++ script_v6.cpp 18 Feb 2003 23:59:54 -0000 1.57
@@ -324,7 +324,7 @@
OPCODE(o6_deleteFile),
OPCODE(o6_invalid),
/* E0 */
- OPCODE(o6_invalid),
+ OPCODE(o6_unknownE0),
OPCODE(o6_invalid),
OPCODE(o6_invalid),
OPCODE(o6_pickVarRandom),
@@ -2980,6 +2980,23 @@
if (_features & GF_AFTER_V8)
_vars[VAR_TIMEDATE_SECOND] = t->tm_sec;
+}
+
+void Scumm_v6::o6_unknownE0() {
+ int a = fetchScriptByte();
+ warning("o6_unknownEO(%d) stub", a);
+ a -= 222;
+ if (a != 0) {
+ a--;
+ a--;
+ if (a != 0) {
+ return;
+ }
+ pop();
+ return;
+ }
+ pop();
+ return;
}
void Scumm_v6::decodeParseString(int m, int n)
More information about the Scummvm-git-logs
mailing list