Redux of Winterleaf's PR 1001, with the suggested updated values.

This commit is contained in:
Areloch 2015-07-28 00:53:58 -05:00
parent 4721181d44
commit 859e653bd7
3 changed files with 3 additions and 3 deletions

View file

@ -215,7 +215,7 @@ U32 NetConnection::getSequence()
static U32 gPacketRateToServer = 32;
static U32 gPacketUpdateDelayToServer = 32;
static U32 gPacketRateToClient = 10;
static U32 gPacketSize = 200;
static U32 gPacketSize = 508;
void NetConnection::consoleInit()
{

View file

@ -818,7 +818,7 @@ public:
/// Some configuration values.
enum GhostConstants
{
GhostIdBitSize = 12,
GhostIdBitSize = 18, //262,144 ghosts
MaxGhostCount = 1 << GhostIdBitSize, //4096,
GhostLookupTableSize = 1 << GhostIdBitSize, //4096
GhostIndexBitSize = 4 // number of bits GhostIdBitSize-3 fits into