Changeset - r11190:eba1b8c0ecd9
[Not reviewed]
master
0 3 0
rubidium - 15 years ago 2009-02-21 13:27:09
rubidium@openttd.org
(svn r15543) -Change: allow the default debug level of 6 for a dedicated server to be overriden by -d (if used after -D).
3 files changed with 5 insertions and 3 deletions:
0 comments (0 inline, 0 general)
docs/openttd.6
Show inline comments
 
@@ -41,7 +41,10 @@ or 1 if omitted
 
.It Fl d Ar cat=level[, ...]
 
Set debug verbosity for a specific category
 
.It Fl D Ar [host][:port]
 
Start a dedicated server
 
Start a dedicated server. Sets network debug level to 6. If you want to change this, use
 
.Fl d
 
after
 
.Fl D
 
.It Fl G Ar seed
 
Seed the pseudo random number generator
 
.It Fl e
src/openttd.cpp
Show inline comments
 
@@ -439,6 +439,7 @@ int ttd_main(int argc, char *argv[])
 
			videodriver = strdup("dedicated");
 
			blitter = strdup("null");
 
			dedicated = true;
 
			SetDebugString("net=6");
 
			if (mgo.opt != NULL) {
 
				/* Use the existing method for parsing (openttd -n).
 
				 * However, we do ignore the #company part. */
src/video/dedicated_v.cpp
Show inline comments
 
@@ -141,8 +141,6 @@ const char *VideoDriver_Dedicated::Start
 
	_screen.height = _cur_resolution.height;
 
	ScreenSizeChanged();
 

	
 
	SetDebugString("net=6");
 

	
 
#if defined(WINCE)
 
	/* WinCE doesn't support console stuff */
 
#elif defined(WIN32)
0 comments (0 inline, 0 general)