engine: host: expose new -clientport settings. Realign options
This commit is contained in:
parent
75b69fbf85
commit
6b24b263ab
1 changed files with 53 additions and 47 deletions
|
@ -134,17 +134,23 @@ static void Sys_PrintUsage( const char *exename )
|
||||||
O("-noip ", "disable IPv4")
|
O("-noip ", "disable IPv4")
|
||||||
O("-ip <ip> ", "set IPv4 address")
|
O("-ip <ip> ", "set IPv4 address")
|
||||||
O("-port <port> ", "set IPv4 port")
|
O("-port <port> ", "set IPv4 port")
|
||||||
|
#if !XASH_DEDICATED
|
||||||
|
O("-clientport <port> ", "set IPv4 client port")
|
||||||
|
#endif
|
||||||
O("-noip6 ", "disable IPv6")
|
O("-noip6 ", "disable IPv6")
|
||||||
O("-ip6 <ip> ", "set IPv6 address")
|
O("-ip6 <ip> ", "set IPv6 address")
|
||||||
O("-port6 <port> ", "set IPv6 port")
|
O("-port6 <port> ", "set IPv6 port")
|
||||||
O("-clockwindow <cw>", "adjust clockwindow used to ignore client commands")
|
#if !XASH_DEDICATED
|
||||||
|
O("-clientport6 <port>", "set IPv6 client port")
|
||||||
|
#endif
|
||||||
|
O("-clockwindow <cw> ", "adjust clockwindow used to ignore client commands")
|
||||||
O(" ", "to prevent speed hacks")
|
O(" ", "to prevent speed hacks")
|
||||||
|
|
||||||
"\nGame options:\n"
|
"\nGame options:\n"
|
||||||
O("-game <directory>", "set game directory to start engine with")
|
O("-game <directory> ", "set game directory to start engine with")
|
||||||
O("-dll <path> ", "override server DLL path")
|
O("-dll <path> ", "override server DLL path")
|
||||||
#if !XASH_DEDICATED
|
#if !XASH_DEDICATED
|
||||||
O("-clientlib <path>", "override client DLL path")
|
O("-clientlib <path> ", "override client DLL path")
|
||||||
O("-console ", "run engine with console enabled")
|
O("-console ", "run engine with console enabled")
|
||||||
O("-toconsole ", "run engine witn console open")
|
O("-toconsole ", "run engine witn console open")
|
||||||
O("-oldfont ", "enable unused Quake font in Half-Life")
|
O("-oldfont ", "enable unused Quake font in Half-Life")
|
||||||
|
@ -171,7 +177,7 @@ static void Sys_PrintUsage( const char *exename )
|
||||||
#endif
|
#endif
|
||||||
#if XASH_SDL == 2
|
#if XASH_SDL == 2
|
||||||
O("-sdl_joy_old_api ","use SDL legacy joystick API")
|
O("-sdl_joy_old_api ","use SDL legacy joystick API")
|
||||||
O("-sdl_renderer <n>","use alternative SDL_Renderer for software")
|
O("-sdl_renderer <n> ","use alternative SDL_Renderer for software")
|
||||||
#endif // XASH_SDL
|
#endif // XASH_SDL
|
||||||
#if XASH_ANDROID && !XASH_SDL
|
#if XASH_ANDROID && !XASH_SDL
|
||||||
O("-nativeegl ","use native egl implementation. Use if screen does not update or black")
|
O("-nativeegl ","use native egl implementation. Use if screen does not update or black")
|
||||||
|
|
Loading…
Add table
Reference in a new issue