[Scummvm-cvs-logs] CVS: tools descumm3.cpp,1.25,1.26
Jonathan Gray
khalek at users.sourceforge.net
Wed Apr 30 05:28:07 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/backends/fs/palmos palmos-fs.cpp,NONE,1.1
- Next message: [Scummvm-cvs-logs] CVS: scummvm/common engine.cpp,1.18,1.19 engine.h,1.21,1.22 file.cpp,1.26,1.27 gameDetector.cpp,1.87,1.88 main.cpp,1.25,1.26 savefile.h,1.2,1.3 scummsys.h,1.19,1.20 timer.cpp,1.7,1.8 util.cpp,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1:/tmp/cvs-serv22077
Modified Files:
descumm3.cpp
Log Message:
make variable bit reads more readable
Index: descumm3.cpp
===================================================================
RCS file: /cvsroot/scummvm/tools/descumm3.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- descumm3.cpp 30 Apr 2003 10:14:27 -0000 1.25
+++ descumm3.cpp 30 Apr 2003 12:27:18 -0000 1.26
@@ -192,7 +192,12 @@
int i = get_word();
- sprintf(buf, "%s[%d", get_num_string(i), i & 0xFFF);
+ // fIXME this should be for zak256 as well
+ if ((i & 0x8000) && (GF_UNBLOCKED))
+ sprintf(buf, "Var[%d Bit %d", (i & 0x0FFF) >> 4, i & 0x000F);
+ else
+ sprintf(buf, "%s[%d", get_num_string(i), i & 0xFFF);
+
buf2 = strchr(buf, 0);
if (i & 0x2000) {
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/backends/fs/palmos palmos-fs.cpp,NONE,1.1
- Next message: [Scummvm-cvs-logs] CVS: scummvm/common engine.cpp,1.18,1.19 engine.h,1.21,1.22 file.cpp,1.26,1.27 gameDetector.cpp,1.87,1.88 main.cpp,1.25,1.26 savefile.h,1.2,1.3 scummsys.h,1.19,1.20 timer.cpp,1.7,1.8 util.cpp,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list