diff options
author | Aki <please@ignore.pl> | 2022-03-27 17:42:26 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-27 17:42:26 +0200 |
commit | a12e588079700d55a0b788fea2df7727c2e41f52 (patch) | |
tree | 690072569624c73af5043b3619acaab4d298b1fa /Stars45/Main.cpp | |
parent | 72bb517271dad40a440533ad0796a88247011199 (diff) | |
download | starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.zip starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.gz starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.bz2 |
Removed MemDebug from FoundationEx
Diffstat (limited to 'Stars45/Main.cpp')
-rw-r--r-- | Stars45/Main.cpp | 11 |
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"); |