mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-01 03:23:52 +00:00
Merge pull request #1375 from Areloch/Update1001
Redux of Winterleaf's PR 1001, with the suggested updated values.
This commit is contained in:
commit
4c4a84099b
3 changed files with 3 additions and 3 deletions
|
|
@ -64,7 +64,7 @@ typedef U32 SimObjectId;
|
|||
enum SimObjectsConstants
|
||||
{
|
||||
DataBlockObjectIdFirst = 3,
|
||||
DataBlockObjectIdBitSize = 10,
|
||||
DataBlockObjectIdBitSize = 14,
|
||||
DataBlockObjectIdLast = DataBlockObjectIdFirst + (1 << DataBlockObjectIdBitSize) - 1,
|
||||
|
||||
MessageObjectIdFirst = DataBlockObjectIdLast + 1,
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue