bah - Revert "don't even load sharedebug if we're in prod mode"

This reverts commit 695d1f77b5.
This commit is contained in:
DarthArgus
2018-06-03 09:52:59 +00:00
parent 92c0b29559
commit 7d9b2741f6
15 changed files with 3 additions and 108 deletions
@@ -4,11 +4,7 @@
#include "CentralServer.h"
#include "sharedCompression/SetupSharedCompression.h"
#ifdef _DEBUG
#include "sharedDebug/SetupSharedDebug.h"
#endif
#include "sharedFile/SetupSharedFile.h"
#include "sharedFoundation/Os.h"
#include "sharedNetwork/NetworkHandler.h"
@@ -29,10 +25,7 @@ int main(int argc, char ** argv)
#endif
SetupSharedThread::install();
#ifdef _DEBUG
SetupSharedDebug::install(1024);
#endif
//-- setup foundation
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
@@ -4,11 +4,7 @@
#include "ChatServer.h"
#include "sharedCompression/SetupSharedCompression.h"
#ifdef _DEBUG
#include "sharedDebug/SetupSharedDebug.h"
#endif
#include "sharedFile/SetupSharedFile.h"
#include "sharedFoundation/Os.h"
#include "sharedFoundation/SetupSharedFoundation.h"
@@ -21,10 +17,7 @@
int main(int argc, char ** argv)
{
SetupSharedThread::install();
#ifdef _DEBUG
SetupSharedDebug::install(1024);
#endif
//-- setup foundation
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
@@ -8,11 +8,7 @@
#include "sharedFoundation/FirstSharedFoundation.h"
#include "sharedCompression/SetupSharedCompression.h"
#ifdef _DEBUG
#include "sharedDebug/SetupSharedDebug.h"
#endif
#include "sharedFile/TreeFile.h"
#include "sharedFile/SetupSharedFile.h"
#include "sharedFoundation/ConfigFile.h"
@@ -36,11 +32,7 @@
int main(int argc, char ** argv)
{
SetupSharedThread::install();
#ifdef _DEBUG
SetupSharedDebug::install(1024);
#endif
//-- setup foundation
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
@@ -3,11 +3,7 @@
#include "ConnectionServer.h"
#include "sharedCompression/SetupSharedCompression.h"
#ifdef _DEBUG
#include "sharedDebug/SetupSharedDebug.h"
#endif
#include "sharedFile/SetupSharedFile.h"
#include "sharedFoundation/Os.h"
#include "sharedFoundation/SetupSharedFoundation.h"
@@ -38,10 +34,7 @@ int main(int argc, char ** argv)
#endif
SetupSharedThread::install();
#ifdef _DEBUG
SetupSharedDebug::install(1024);
#endif
//-- setup foundation
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
@@ -4,11 +4,7 @@
#include "CustomerServiceServer.h"
#include "sharedCompression/SetupSharedCompression.h"
#ifdef _DEBUG
#include "sharedDebug/SetupSharedDebug.h"
#endif
#include "sharedFile/SetupSharedFile.h"
#include "sharedFoundation/Os.h"
#include "sharedFoundation/SetupSharedFoundation.h"
@@ -23,10 +19,7 @@
int main(int argc, char *argv[])
{
SetupSharedThread::install();
#ifdef _DEBUG
SetupSharedDebug::install(1024);
#endif
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
setupFoundationData.lpCmdLine = ConvertCommandLine(argc, argv);
@@ -10,11 +10,7 @@
#include "LogServer.h"
#include "sharedCompression/SetupSharedCompression.h"
#ifdef _DEBUG
#include "sharedDebug/SetupSharedDebug.h"
#endif
#include "sharedFile/SetupSharedFile.h"
#include "sharedFoundation/Os.h"
#include "sharedFoundation/SetupSharedFoundation.h"
@@ -33,10 +29,7 @@ int main(int argc, char **argv)
#endif
SetupSharedThread::install();
#ifdef _DEBUG
SetupSharedDebug::install(1024);
#endif
//-- setup foundation
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
@@ -4,11 +4,7 @@
#include "LoginPing.h"
#include "sharedCompression/SetupSharedCompression.h"
#ifdef _DEBUG
#include "sharedDebug/SetupSharedDebug.h"
#endif
#include "sharedFile/SetupSharedFile.h"
#include "sharedFoundation/ConfigFile.h"
#include "sharedFoundation/SetupSharedFoundation.h"
@@ -22,10 +18,7 @@
int main(int argc, char ** argv)
{
SetupSharedThread::install();
#ifdef _DEBUG
SetupSharedDebug::install(1024);
#endif
//-- setup foundation
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
@@ -8,11 +8,7 @@
#include "LoginServer.h"
#include "sharedCompression/SetupSharedCompression.h"
#ifdef _DEBUG
#include "sharedDebug/SetupSharedDebug.h"
#endif
#include "sharedFile/SetupSharedFile.h"
#include "sharedFoundation/ConfigFile.h"
#include "sharedFoundation/Os.h"
@@ -40,10 +36,7 @@ int main(int argc, char **argv) {
#endif
SetupSharedThread::install();
#ifdef _DEBUG
SetupSharedDebug::install(1024);
#endif
//-- setup foundation
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
@@ -4,11 +4,7 @@
#include "MetricsServer.h"
#include "sharedCompression/SetupSharedCompression.h"
#ifdef _DEBUG
#include "sharedDebug/SetupSharedDebug.h"
#endif
#include "sharedFile/SetupSharedFile.h"
#include "sharedFoundation/Os.h"
#include "sharedFoundation/SetupSharedFoundation.h"
@@ -25,10 +21,7 @@
int main(int argc, char ** argv)
{
SetupSharedThread::install();
#ifdef _DEBUG
SetupSharedDebug::install(1024);
#endif
//-- setup foundation
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
@@ -3,11 +3,7 @@
#include "PlanetServer.h"
#include "sharedCompression/SetupSharedCompression.h"
#ifdef _DEBUG
#include "sharedDebug/SetupSharedDebug.h"
#endif
#include "sharedFile/SetupSharedFile.h"
#include "sharedFoundation/Os.h"
#include "sharedFoundation/SetupSharedFoundation.h"
@@ -42,10 +38,7 @@ int main(int argc, char ** argv)
// dumpPid(argv[0]);
SetupSharedThread::install();
#ifdef _DEBUG
SetupSharedDebug::install(1024);
#endif
//-- setup foundation
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
@@ -8,11 +8,7 @@
#include "sharedFoundation/FirstSharedFoundation.h"
#include "sharedCompression/SetupSharedCompression.h"
#ifdef _DEBUG
#include "sharedDebug/SetupSharedDebug.h"
#endif
#include "sharedFile/SetupSharedFile.h"
#include "sharedFoundation/ConfigFile.h"
#include "sharedFoundation/Os.h"
@@ -29,10 +25,7 @@
int main(int argc, char ** argv)
{
SetupSharedThread::install();
#ifdef _DEBUG
SetupSharedDebug::install(1024);
#endif
//-- setup foundation
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
@@ -4,11 +4,7 @@
#include "StationPlayersCollector.h"
#include "sharedCompression/SetupSharedCompression.h"
#ifdef _DEBUG
#include "sharedDebug/SetupSharedDebug.h"
#endif
#include "sharedFile/SetupSharedFile.h"
#include "sharedFoundation/ConfigFile.h"
#include "sharedFoundation/Os.h"
@@ -23,11 +19,8 @@ int main(int argc, char ** argv)
{
SetupSharedThread::install();
#ifdef _DEBUG
SetupSharedDebug::install(1024);
#endif
//-- setup foundation
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
setupFoundationData.lpCmdLine = ConvertCommandLine(argc,argv);
@@ -4,11 +4,7 @@
#include "TaskManager.h"
#include "sharedCompression/SetupSharedCompression.h"
#ifdef _DEBUG
#include "sharedDebug/SetupSharedDebug.h"
#endif
#include "sharedFile/SetupSharedFile.h"
#include "sharedFoundation/ConfigFile.h"
#include "sharedFoundation/Os.h"
@@ -22,11 +18,8 @@
int main(int argc, char ** argv)
{
SetupSharedThread::install();
#ifdef _DEBUG
SetupSharedDebug::install(1024);
#endif
//-- setup foundation
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
setupFoundationData.lpCmdLine = ConvertCommandLine(argc,argv);
@@ -8,11 +8,7 @@
#include "sharedFoundation/FirstSharedFoundation.h"
#include "sharedCompression/SetupSharedCompression.h"
#ifdef _DEBUG
#include "sharedDebug/SetupSharedDebug.h"
#endif
#include "sharedFile/SetupSharedFile.h"
#include "sharedFoundation/Os.h"
#include "sharedFoundation/SetupSharedFoundation.h"
@@ -28,10 +24,7 @@
int main(int argc, char ** argv)
{
SetupSharedThread::install();
#ifdef _DEBUG
SetupSharedDebug::install(1024);
#endif
//-- setup foundation
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
@@ -6,11 +6,7 @@
#include "serverPathfinding/SetupServerPathfinding.h"
#include "serverScript/SetupScript.h"
#include "serverUtility/SetupServerUtility.h"
#ifdef _DEBUG
#include "sharedDebug/SetupSharedDebug.h"
#endif
#include "sharedFile/SetupSharedFile.h"
#include "sharedFile/TreeFile.h"
#include "sharedFoundation/ConfigFile.h"
@@ -48,9 +44,7 @@ int main(int argc, char ** argv)
#endif
SetupSharedThread::install();
#ifdef _DEBUG
SetupSharedDebug::install(1024);
#endif
SetupSharedDebug::install(1024);
//-- setup foundation
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);