summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Main.cpp')
-rw-r--r--Stars45/Main.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/Stars45/Main.cpp b/Stars45/Main.cpp
index dbb3a45..a71476d 100644
--- a/Stars45/Main.cpp
+++ b/Stars45/Main.cpp
@@ -7,7 +7,6 @@
*/
-#include "MemDebug.h"
#include "Starshatter.h"
#include "StarServer.h"
#include "HUDView.h"
@@ -45,8 +44,6 @@ static void PrintLogHeader()
Print("+====================================================================+\n");
Print("| STARSHATTER %-25s%29s |\n", versionInfo, sTime.data());
- Memory::SetLevel(Memory::MAXIMAL);
- Memory::OpenLog();
MachineInfo::DescribeMachine();
}
@@ -105,7 +102,7 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
NetLayer net;
if (do_server) {
- StarServer* server = new(__FILE__,__LINE__) StarServer();
+ StarServer* server = new StarServer();
if (server->Init(hInstance, hPrevInstance, lpCmdLine, nCmdShow))
result = server->Run();
@@ -119,7 +116,7 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
else {
Starshatter* stars = 0;
- stars = new(__FILE__,__LINE__) Starshatter;
+ stars = new Starshatter;
stars->SetTestMode(test_mode);
if (stars->Init(hInstance, hPrevInstance, lpCmdLine, nCmdShow))
@@ -142,10 +139,6 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
}
/* } */
- Memory::Stats();
- Memory::DumpLeaks();
- Memory::CloseLog();
-
Print("+====================================================================+\n");
Print(" END OF LINE.\n");