summaryrefslogtreecommitdiff
path: root/src/net_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/net_client.c')
-rw-r--r--src/net_client.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/net_client.c b/src/net_client.c
index 1bfeb3f9..12e56041 100644
--- a/src/net_client.c
+++ b/src/net_client.c
@@ -390,11 +390,25 @@ void NET_CL_StartGame(void)
settings.nomonsters = nomonsters;
settings.timelimit = timelimit;
+ //!
+ // @category net
+ //
+ // Use original game sync code.
+ //
+
if (M_CheckParm("-oldsync") > 0)
settings.new_sync = 0;
else
settings.new_sync = 1;
+ //!
+ // @category net
+ // @arg <n>
+ //
+ // Send n extra tics in every packet as insurance against dropped
+ // packets.
+ //
+
i = M_CheckParm("-extratics");
if (i > 0)
@@ -402,6 +416,14 @@ void NET_CL_StartGame(void)
else
settings.extratics = 1;
+ //!
+ // @category net
+ // @arg <n>
+ //
+ // Reduce the resolution of the game by a factor of n, reducing
+ // the amount of network bandwidth needed.
+ //
+
i = M_CheckParm("-dup");
if (i > 0)