[Scummvm-cvs-logs] CVS: tools descumm.cpp,1.105,1.106
kirben
kirben at users.sourceforge.net
Sat Sep 24 06:20:18 CEST 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.526,2.527 room.cpp,1.23,1.24 scumm.h,1.641,1.642 vars.cpp,1.145,1.146 verbs.cpp,1.141,1.142
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.527,2.528 script_c64.cpp,2.23,2.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9610
Modified Files:
descumm.cpp
Log Message:
Correction to last commits.
Index: descumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/tools/descumm.cpp,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- descumm.cpp 24 Sep 2005 06:28:09 -0000 1.105
+++ descumm.cpp 24 Sep 2005 13:19:04 -0000 1.106
@@ -1731,8 +1731,9 @@
int state = 0;
var[0] = 0;
- if (scriptVersion > 0)
+ if (scriptVersion > 0) {
get_var_or_word(var, opcode & 0x80);
+ }
if (scriptVersion > 2) {
switch (opcode & 0x2F) {
@@ -2803,27 +2804,27 @@
case 0x0f:
case 0x4f:
- do_tok(buf, "clearState02", 0);
+ do_tok(buf, "clearState02", ((opcode & 0x40) ? 0 : A1B));
break;
case 0x37:
case 0x77:
- do_tok(buf, "clearState04", 0);
+ do_tok(buf, "clearState04", ((opcode & 0x40) ? 0 : A1B));
break;
case 0x17:
case 0x57:
- do_tok(buf, "clearState08", 0);
+ do_tok(buf, "clearState08", ((opcode & 0x40) ? 0 : A1B));
break;
case 0x8f:
case 0xcf:
- do_tok(buf, "setState02", 0);
+ do_tok(buf, "setState02", ((opcode & 0x40) ? 0 : A1B));
break;
case 0xb7:
case 0xf7:
- do_tok(buf, "setState04", 0);
+ do_tok(buf, "setState04", ((opcode & 0x40) ? 0 : A1B));
break;
case 0x97:
case 0xd7:
- do_tok(buf, "setState08", 0);
+ do_tok(buf, "setState08", ((opcode & 0x40) ? 0 : A1B));
break;
case 0x3f:
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.526,2.527 room.cpp,1.23,1.24 scumm.h,1.641,1.642 vars.cpp,1.145,1.146 verbs.cpp,1.141,1.142
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.527,2.528 script_c64.cpp,2.23,2.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list