diff --git a/src/game/g_net.pas b/src/game/g_net.pas
index c06a021cd31ddc1a6ee59d30e96f48a7146a6327..fbc85eec75c06e797d0a006a452f9c33f9e16cbe 100644 (file)
--- a/src/game/g_net.pas
+++ b/src/game/g_net.pas
BANLIST_FILENAME = 'banlist.txt';
NETDUMP_FILENAME = 'netdump';
- {$IF DEFINED(FREEBSD) OR DEFINED(DARWIN)}
- NilThreadId = nil;
- {$ELSE}
- NilThreadId = 0;
- {$ENDIF}
-
type
TNetMapResourceInfo = record
wadName: AnsiString; // wad file name, without a path
NetPlrUID1: Integer = -1;
NetPlrUID2: Integer = -1;
+ NetInterpLevel: Integer = 1;
NetUpdateRate: Cardinal = 0; // as soon as possible
NetRelupdRate: Cardinal = 18; // around two times a second
NetMasterRate: Cardinal = 60000;
conRegVar('cl_downloadtimeout', @g_Net_DownloadTimeout, 0.0, 1000000.0, '', 'timeout in seconds, 0 to disable it');
conRegVar('cl_predictself', @NetPredictSelf, '', 'predict local player');
conRegVar('cl_forceplayerupdate', @NetForcePlayerUpdate, '', 'update net players on NET_MSG_PLRPOS');
+ conRegVar('cl_interp', @NetInterpLevel, '', 'net player interpolation steps');
conRegVar('cl_last_ip', @NetClientIP, '', 'address of the last you have connected to');
conRegVar('cl_last_port', @NetClientPort, '', 'port of the last server you have connected to');