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/Mouse.cpp | |
parent | 72bb517271dad40a440533ad0796a88247011199 (diff) | |
download | starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.zip starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.gz starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.bz2 |
Removed MemDebug from FoundationEx
Diffstat (limited to 'Stars45/Mouse.cpp')
-rw-r--r-- | Stars45/Mouse.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Stars45/Mouse.cpp b/Stars45/Mouse.cpp index 7b185ed..c772bc2 100644 --- a/Stars45/Mouse.cpp +++ b/Stars45/Mouse.cpp @@ -11,7 +11,6 @@ Mouse class */ -#include "MemDebug.h" #include "Mouse.h" #include "DataLoader.h" #include "Window.h" @@ -41,7 +40,7 @@ void Mouse::Create(Screen* screen) { if (screen) { delete window; - window = new(__FILE__,__LINE__) Window(screen, 0, 0, screen->Width(), screen->Height()); + window = new Window(screen, 0, 0, screen->Width(), screen->Height()); } } @@ -51,7 +50,7 @@ void Mouse::Resize(Screen* screen) { if (screen) { delete window; - window = new(__FILE__,__LINE__) Window(screen, 0, 0, screen->Width(), screen->Height()); + window = new Window(screen, 0, 0, screen->Width(), screen->Height()); } } @@ -112,7 +111,7 @@ Mouse::LoadCursor(CURSOR c, const char* name, HOTSPOT hs) image[c] = 0; if (name && *name) { - image[c] = new(__FILE__,__LINE__) Bitmap; + image[c] = new Bitmap; result = DataLoader::GetLoader()->LoadBitmap(name, *image[c], Bitmap::BMP_TRANSPARENT); if (result) { |