From a12e588079700d55a0b788fea2df7727c2e41f52 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 27 Mar 2022 17:42:26 +0200 Subject: Removed MemDebug from FoundationEx --- Stars45/Hoop.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Stars45/Hoop.cpp') 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; -- cgit v1.1