Merge pull request #1375 from Areloch/Update1001

Redux of Winterleaf's PR 1001, with the suggested updated values.
This commit is contained in:
Areloch 2015-08-28 11:46:41 -05:00
commit 4c4a84099b
3 changed files with 3 additions and 3 deletions

View file

@ -64,7 +64,7 @@ typedef U32 SimObjectId;
enum SimObjectsConstants
{
DataBlockObjectIdFirst = 3,
DataBlockObjectIdBitSize = 10,
DataBlockObjectIdBitSize = 14,
DataBlockObjectIdLast = DataBlockObjectIdFirst + (1 << DataBlockObjectIdBitSize) - 1,
MessageObjectIdFirst = DataBlockObjectIdLast + 1,

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