[Scummvm-cvs-logs] CVS: scummvm/base gameDetector.cpp,1.53,1.54
Travis Howell
kirben at users.sourceforge.net
Wed Dec 10 22:09:02 CET 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl-common.cpp,1.99,1.100
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm object.cpp,1.150,1.151 script.cpp,1.136,1.137 script_v2.cpp,2.217,2.218 scumm.h,1.330,1.331 scummvm.cpp,2.495,2.496
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1:/tmp/cvs-serv23982/base
Modified Files:
gameDetector.cpp
Log Message:
Add option to enable copy protection in SCUMM games, which ScummVM disable it by default.
Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/gameDetector.cpp,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- gameDetector.cpp 11 Dec 2003 05:32:27 -0000 1.53
+++ gameDetector.cpp 11 Dec 2003 06:08:43 -0000 1.54
@@ -81,6 +81,7 @@
" --floppy-intro Use floppy version intro for Beneath a Steel Sky CD\n"
#endif
#ifndef DISABLE_SCUMM
+ " --copy-protection Enable the original copy protection in SCUMM games\n"
" --demo-mode Start demo mode of Maniac Mansion (Classic version)\n"
" --tempo=NUM Set music tempo (in percent, 50-200) for SCUMM games\n"
" (default: 100)\n"
@@ -162,6 +163,7 @@
ConfMan.registerDefault("save_slot", -1);
#ifndef DISABLE_SCUMM
+ ConfMan.registerDefault("copy_protection", false);
ConfMan.registerDefault("demo_mode", false);
ConfMan.registerDefault("talkspeed", 60);
ConfMan.registerDefault("tempo", 0);
@@ -446,6 +448,10 @@
DO_LONG_OPTION("talkspeed")
ConfMan.set("talkspeed", (int)strtol(option, 0, 10), kTransientDomain);
+ END_OPTION
+
+ DO_LONG_OPTION_BOOL("copy-protection")
+ ConfMan.set("copy_protection", cmdValue, kTransientDomain);
END_OPTION
DO_LONG_OPTION_BOOL("demo-mode")
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl-common.cpp,1.99,1.100
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm object.cpp,1.150,1.151 script.cpp,1.136,1.137 script_v2.cpp,2.217,2.218 scumm.h,1.330,1.331 scummvm.cpp,2.495,2.496
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list