summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Hoop.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-03-27 17:42:26 +0200
committerAki <please@ignore.pl>2022-03-27 17:42:26 +0200
commita12e588079700d55a0b788fea2df7727c2e41f52 (patch)
tree690072569624c73af5043b3619acaab4d298b1fa /Stars45/Hoop.cpp
parent72bb517271dad40a440533ad0796a88247011199 (diff)
downloadstarshatter-a12e588079700d55a0b788fea2df7727c2e41f52.zip
starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.gz
starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.bz2
Removed MemDebug from FoundationEx
Diffstat (limited to 'Stars45/Hoop.cpp')
-rw-r--r--Stars45/Hoop.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/Stars45/Hoop.cpp b/Stars45/Hoop.cpp
index 8d40f01..cfd2a65 100644
--- a/Stars45/Hoop.cpp
+++ b/Stars45/Hoop.cpp
@@ -11,7 +11,6 @@
ILS Hoop (HUD display) class
*/
-#include "MemDebug.h"
#include "Hoop.h"
#include "Game.h"
@@ -53,7 +52,7 @@ void Hoop::SetColor(Color c)
void
Hoop::CreatePolys()
{
- Material* mtl = new(__FILE__,__LINE__) Material;
+ Material* mtl = new Material;
mtl->tex_diffuse = hoop_texture;
mtl->blend = Material::MTL_ADDITIVE;
@@ -61,10 +60,10 @@ Hoop::CreatePolys()
int w = width /2;
int h = height/2;
- model = new(__FILE__,__LINE__) Model;
+ model = new Model;
own_model = 1;
- Surface* surface = new(__FILE__,__LINE__) Surface;
+ Surface* surface = new Surface;
surface->SetName("hoop");
surface->CreateVerts(4);
@@ -118,7 +117,7 @@ Hoop::CreatePolys()
}
// then assign them to cohesive segments:
- Segment* segment = new(__FILE__,__LINE__) Segment;
+ Segment* segment = new Segment;
segment->npolys = 2;
segment->polys = &polys[0];
segment->material = segment->polys->material;