engine: host: expose new -clientport settings. Realign options

This commit is contained in:
Alibek Omarov 2024-11-25 02:53:28 +03:00
parent 75b69fbf85
commit 6b24b263ab

View file

@ -134,17 +134,23 @@ static void Sys_PrintUsage( const char *exename )
O("-noip ", "disable IPv4")
O("-ip <ip> ", "set IPv4 address")
O("-port <port> ", "set IPv4 port")
#if !XASH_DEDICATED
O("-clientport <port> ", "set IPv4 client port")
#endif
O("-noip6 ", "disable IPv6")
O("-ip6 <ip> ", "set IPv6 address")
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")
"\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")
#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("-toconsole ", "run engine witn console open")
O("-oldfont ", "enable unused Quake font in Half-Life")
@ -171,7 +177,7 @@ static void Sys_PrintUsage( const char *exename )
#endif
#if XASH_SDL == 2
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
#if XASH_ANDROID && !XASH_SDL
O("-nativeegl ","use native egl implementation. Use if screen does not update or black")