[Scummvm-cvs-logs] CVS: scummvm/common gameDetector.cpp,1.55,1.56 gameDetector.h,1.18,1.19
Max Horn
fingolfin at users.sourceforge.net
Mon Dec 30 18:10:01 CET 2002
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm boxes.cpp,1.7,1.8
- Next message: [Scummvm-cvs-logs] CVS: scummvm Makefile,1.25,1.26 Makefile.mingw,1.10,1.11 configure,1.8,1.9 scumm.dsp,1.24,1.25 scummvm.dsp,1.29,1.30 simon.dsp,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv1095/common
Modified Files:
gameDetector.cpp gameDetector.h
Log Message:
get rid of DUMP_SCRIPTS; in its place, added run time option '-u' to enabled script dumping
Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/gameDetector.cpp,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- gameDetector.cpp 28 Dec 2002 12:20:55 -0000 1.55
+++ gameDetector.cpp 31 Dec 2002 02:09:56 -0000 1.56
@@ -71,6 +71,7 @@
"\n"
"\t-b<num> - start in room <num>\n"
"\t-d[<num>] - enable debug output (debug level [1])\n"
+ "\t-u - dump scripts\n"
;
@@ -205,8 +206,9 @@
_amiga = false;
_talkSpeed = 60;
- _debugLevel = 0;
_debugMode = 0;
+ _debugLevel = 0;
+ _dumpScripts = 0;
_noSubtitles = false;
_bootParam = 0;
@@ -426,6 +428,10 @@
HANDLE_OPTION();
_gameTempo = strtol(option, 0, 0);
g_config->set("tempo", option);
+ break;
+ case 'u':
+ CHECK_OPTION();
+ _dumpScripts = true;
break;
case 'v':
CHECK_OPTION();
Index: gameDetector.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/gameDetector.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- gameDetector.h 25 Dec 2002 00:36:04 -0000 1.18
+++ gameDetector.h 31 Dec 2002 02:09:56 -0000 1.19
@@ -136,6 +136,7 @@
uint16 _talkSpeed;
uint16 _debugMode;
uint16 _debugLevel;
+ bool _dumpScripts;
bool _noSubtitles;
uint16 _bootParam;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm boxes.cpp,1.7,1.8
- Next message: [Scummvm-cvs-logs] CVS: scummvm Makefile,1.25,1.26 Makefile.mingw,1.10,1.11 configure,1.8,1.9 scumm.dsp,1.24,1.25 scummvm.dsp,1.29,1.30 simon.dsp,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list