summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Mouse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Mouse.cpp')
-rw-r--r--Stars45/Mouse.cpp7
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) {