1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-21 12:49:10 +00:00

Get rid of NEW(), TRACKED_NEW, and ZERO().

This commit is contained in:
Darryl Pogue
2012-01-21 01:09:48 -08:00
committed by Adam Johnson
parent 30430d3024
commit 5013a978eb
423 changed files with 2500 additions and 2503 deletions

View File

@ -301,9 +301,9 @@ void plSimpleParticleGenerator::Read(hsStream* s, hsResMgr *mgr)
float partLifeMax = s->ReadLEScalar();
float pps = s->ReadLEScalar();
uint32_t numSources = s->ReadLE32();
hsPoint3 *pos = TRACKED_NEW hsPoint3[numSources];
float *pitch = TRACKED_NEW float[numSources];
float *yaw = TRACKED_NEW float[numSources];
hsPoint3 *pos = new hsPoint3[numSources];
float *pitch = new float[numSources];
float *yaw = new float[numSources];
int i;
for (i = 0; i < numSources; i++)
{
@ -424,8 +424,8 @@ void plOneTimeParticleGenerator::Read(hsStream* s, hsResMgr *mgr)
float scaleMax = s->ReadLEScalar();
float radsPerSecRange = s->ReadLEScalar();
hsPoint3 *pos = TRACKED_NEW hsPoint3[count];
hsVector3 *dir = TRACKED_NEW hsVector3[count];
hsPoint3 *pos = new hsPoint3[count];
hsVector3 *dir = new hsVector3[count];
int i;
for (i = 0; i < count; i++)