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/Asteroid.cpp | |
parent | 72bb517271dad40a440533ad0796a88247011199 (diff) | |
download | starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.zip starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.gz starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.bz2 |
Removed MemDebug from FoundationEx
Diffstat (limited to 'Stars45/Asteroid.cpp')
-rw-r--r-- | Stars45/Asteroid.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Stars45/Asteroid.cpp b/Stars45/Asteroid.cpp index 745f1ad..fa0f175 100644 --- a/Stars45/Asteroid.cpp +++ b/Stars45/Asteroid.cpp @@ -11,7 +11,6 @@ Asteroid Sprite animation class */ -#include "MemDebug.h" #include "Asteroid.h" #include "Shot.h" #include "Explosion.h" @@ -48,37 +47,37 @@ Asteroid::Initialize() int n = 0; - Model* a = new(__FILE__,__LINE__) Model; + Model* a = new Model; if (a) { a->Load("a1.mag", 100); asteroid_model[n++] = a; } - a = new(__FILE__,__LINE__) Model; + a = new Model; if (a) { a->Load("a2.mag", 50); asteroid_model[n++] = a; } - a = new(__FILE__,__LINE__) Model; + a = new Model; if (a) { a->Load("a1.mag", 8); asteroid_model[n++] = a; } - a = new(__FILE__,__LINE__) Model; + a = new Model; if (a) { a->Load("a2.mag", 10); asteroid_model[n++] = a; } - a = new(__FILE__,__LINE__) Model; + a = new Model; if (a) { a->Load("a3.mag", 30); asteroid_model[n++] = a; } - a = new(__FILE__,__LINE__) Model; + a = new Model; if (a) { a->Load("a4.mag", 20); asteroid_model[n++] = a; @@ -90,7 +89,7 @@ Asteroid::Initialize() ListIter<Text> iter = mod_asteroids; while (++iter && n < 32) { - a = new(__FILE__,__LINE__) Model; + a = new Model; if (a) { a->Load(*iter.value(), 50); asteroid_model[n++] = a; |