summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Hoop.cpp
diff options
context:
space:
mode:
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;