[Scummvm-cvs-logs] CVS: tools descumm.cpp,1.13,1.14
Max Horn
fingolfin at users.sourceforge.net
Sun May 4 13:40:03 CEST 2003
Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1:/tmp/cvs-serv21870
Modified Files:
descumm.cpp
Log Message:
all initial MM scripts decompile fine now (AFAICT)
Index: descumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/tools/descumm.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- descumm.cpp 4 May 2003 20:30:43 -0000 1.13
+++ descumm.cpp 4 May 2003 20:39:20 -0000 1.14
@@ -1901,11 +1901,14 @@
case 0x60:
case 0xE0:
//cursorCommand
- sprintf(buf, "UnknownCursorCommand%.2X", opcode);
+ do_tok(buf, "cursorCommand", ((opcode & 0x80) ? A1V : A1W));
break;
case 0x40:
sprintf(buf, "cutscene");
break;
+ case 0xC0:
+ sprintf(buf, "endCutscene");
+ break;
case 0x46:
case 0xC6:
@@ -1977,11 +1980,6 @@
sprintf(buf, "dummy(%.2X)", opcode);
break;
-/*
- case 0xC0:
- //endCutscene
- break;
-*/
case 0x09:
case 0x49:
@@ -2034,8 +2032,16 @@
case 0x31:
case 0xB1:
- // FIXME
+ // FIXME - maybe this could be displayed a bit nicer?
do_tok(buf, "getBitVar", AVARSTORE | A1B | A2B | ((opcode & 0x80) ? A3V : A3B));
+ break;
+
+ case 0x1B:
+ case 0x5B:
+ case 0x9B:
+ case 0xDB:
+ // FIXME - maybe this could be displayed a bit nicer?
+ do_tok(buf, "setBitVar", AVARSTORE | A1B | A2B | ((opcode & 0x80) ? A3V : A3B) | ((opcode & 0x40) ? A4V : A4B));
break;
case 0x66:
More information about the Scummvm-git-logs
mailing list