some game file cleanups

This commit is contained in:
SWG Master
2015-08-06 20:33:14 -05:00
parent d9d72d6152
commit c71eb284be
21 changed files with 92 additions and 92 deletions
@@ -74,7 +74,7 @@ void GameScheduler::remove()
DEBUG_FATAL(!s_installed, ("GameScheduler not installed."));
delete s_scheduler;
s_scheduler = false;
s_scheduler = NULL;
s_installed = false;
}
@@ -518,12 +518,12 @@ void ConfigSharedNetwork::install(int newClockSyncDelay)
KEY_INT (incomingBufferSize, 4 * 1024 * 1024);
KEY_INT (outgoingBufferSize, 4 * 1024 * 1024);
KEY_INT (maxConnections, 1000);
KEY_INT (maxRawPacketSize, 496);
KEY_INT (maxRawPacketSize, 1460);
KEY_INT (maxInstandingPackets, 400);
KEY_INT (maxOutstandingBytes, 200 * 1024);
KEY_INT (maxOutstandingBytes, 1 * 1024);
KEY_INT (maxOutstandingPackets, 400);
KEY_BOOL (processOnSend, false);
KEY_BOOL (processIcmpErrors, true);
KEY_BOOL (processIcmpErrors, false);
KEY_INT (fragmentSize, 496);
KEY_INT (pooledPacketMax, 1024);
KEY_INT (pooledPacketSize, -1);
@@ -555,7 +555,7 @@ void ConfigSharedNetwork::install(int newClockSyncDelay)
KEY_BOOL (allowPortRemapping, true);
KEY_BOOL (useTcp, true);
KEY_INT (tcpMinimumFrame, 1000);
KEY_BOOL (reportUdpDisconnects, false);
KEY_BOOL (reportUdpDisconnects, true);
KEY_BOOL (reportTcpDisconnects, true);
KEY_BOOL (logConnectionConstructionDestruction, false);
KEY_BOOL (logConnectionOpenedClosed, false);
@@ -318,7 +318,7 @@ void NetworkHandler::onTerminate(void * m, UdpConnectionMT * u)
{
if(m)
{
// NetworkHandler * s = reinterpret_cast<NetworkHandler *>(m);
NetworkHandler * s = reinterpret_cast<NetworkHandler *>(m);
if(u)
{
u->AddRef();