[Scummvm-cvs-logs] CVS: scummvm/base gameDetector.cpp,1.42,1.43

Max Horn fingolfin at users.sourceforge.net
Sun Oct 26 05:37:03 CET 2003


Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1:/tmp/cvs-serv25067/base

Modified Files:
	gameDetector.cpp 
Log Message:
updated README and usage/help text

Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/gameDetector.cpp,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- gameDetector.cpp	25 Oct 2003 14:36:09 -0000	1.42
+++ gameDetector.cpp	26 Oct 2003 13:33:49 -0000	1.43
@@ -43,55 +43,52 @@
 #else
 static const char USAGE_STRING[] = 
 	"ScummVM - Graphical Adventure Game Interpreter\n"
-	"New USAGE_STRING is missing here!\n" 
-/*	"Syntax:\n"
-	"  scummvm [OPTIONS] [game]\n"
-	"Options:\n"
-	"  -p<path>       - Look for game in <path>\n"
-	"  -x[num]        - Load this savegame (default: 0 - autosave)\n"
-	"  -f             - Full-screen mode (-F forces window mode.)\n"
-	"  -g<mode>       - Graphics mode (normal,2x,3x,2xsai,super2xsai,supereagle,\n"
-	"                   advmame2x,advmame3x,hq2x,hq3x,tv2x,dotmatrix)\n"
-	"  -e<mode>       - Set music engine (see README for details)\n"
-	"  -q<lang>       - Specify language (en,de,fr,it,pt,es,jp,zh,kr,se,gb,hb,ru)\n"
-	"\n"
-	"  -c<num>        - Use cdrom <num> for cd audio\n"
-	"  -j[num]        - Enable input with joystick (default: 0 - first joystick)\n"
-	"  -m<num>        - Set music volume to <num> (0-255)\n"
-	"  -o<num>        - Set master volume to <num> (0-255)\n"
-	"  -s<num>        - Set sfx volume to <num> (0-255)\n"
-#ifndef DISABLE_SCUMM
-	"  -t<num>        - Set music tempo (50-200, default 100%%)\n"
-#endif
-	"\n"
-	"  -n             - No subtitles for speech\n"
-#ifndef DISABLE_SCUMM
-	"  -y             - Set text speed (default: 60)\n"
-#endif
+	"Usage: scummvm [OPTIONS]... [GAME]\n"
+	"  -v, --version            Display ScummVM version information and exit\n"
+	"  -h, --help               Display a brief help text and exit\n"
+	"  -z, --list-games         Display list of supported games and exit\n"
+	"  -t, --list-targets       Display list of configured targets and exit\n"
 	"\n"
-	"  -v             - Show version info and exit\n"
-	"  -h             - Display this text and exit\n"
-	"  -z             - Display list of supported games\n"
+	"  -p, --path=PATH          Path to where the game is installed\n"
+	"  -x, --save-slot[=NUM]    Save game slot to load (default: autosave)\n"
+	"  -f, --fullscreen         Force full-screen mode\n"
+	"  -F, --no-fullscreen      Force windowed mode\n"
+	"  -g, --gfx-mode=MODE      Select graphics scaler (normal,2x,3x,2xsai,\n"
+	"                           super2xsai,supereagle,advmame2x,advmame3x,hq2x,\n"
+	"                           hq3x,tv2x,dotmatrix)\n"
+	"  -e, --music-driver=MODE  Select music driver (see README for details)\n"
+	"  -q, --language=LANG      Select language (en,de,fr,it,pt,es,jp,zh,kr,se,gb,hb,ru)\n"
+	"  -m, --music-volume=NUM   Set the music volume, 0-255 (default: 192)\n"
+	"  -o, --master-volume=NUM  Set the master volume, 0-255 (default: 192)\n"
+	"  -s, --sfx-volume=NUM     Set the sfx volume, 0-255 (default: 192)\n"
+	"  -n, --nosubtitles        Disable subtitles (use with games that have voice)\n"
+	"  -b, --boot-param=NUM     Pass number to the boot script (boot param)\n"
+	"  -d, --debuglevel=NUM     Set debug verbosity level\n"
+	"  -u, --dump-scripts       Enable script dumping if a directory called 'dumps'\n"
+	"                           exists in the current directory\n"
 	"\n"
-	"  -b<num>        - Pass number to the boot script (boot param)\n"
-	"  -d[num]        - Enable debug output (debug level [0])\n"
-	"  -u             - Dump scripts\n"
+	"  --cdrom=NUM              CD drive to play CD audio from (default: 0 = first\n"
+	"                           drive)\n"
+	"  --joytick[=NUM]          Enable input with joystick (default: 0 = first\n"
+	"                           joystick)\n"
+	"  --platform=WORD          Specify version of game (allowed values: amiga,\n"
+	"                           atari, mac, pc)\n"
+	"  --multi-midi             Enable combination Adlib and native MIDI\n"
+	"  --native-mt32            True Roland MT-32 (disable GM emulation)\n"
+	"  --aspect-ratio           Enable aspect ratio correction\n"
 	"\n"
-	"  --platform=    - Specify version of game (amiga,atari-st,macintosh)\n"
-	"  --multi-midi   - Enable combination Adlib and native MIDI\n"
-	"  --native-mt32  - True Roland MT-32 (disable GM emulation)\n"
-	"  --fullscreen   - Full-screen mode (same as -f)\n"
-	"  --aspect-ratio - Enable aspect ratio correction\n"
-#ifndef DISABLE_SCUMM
-	"  --demo-mode    - Start demo mode of Maniac Mansion (Classic version)\n"
-#endif
 #ifndef DISABLE_SKY
-	"  --floppy-intro - Use floppy version intro for Beneath a Steel Sky CD\n"
+	"  --floppy-intro           Use floppy version intro for Beneath a Steel Sky CD\n"
+#endif
+#ifndef DISABLE_SCUMM
+	"  --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"
+	"  --talkspeed=NUM          Set talk speed for SCUMM games (default: 60)\n"
 #endif
 	"\n"
 	"The meaning of long options can be inverted by prefixing them with \"no-\",\n"
 	"e.g. \"--no-aspect-ratio\".\n"
-*/
 ;
 #endif
 





More information about the Scummvm-git-logs mailing list