diff options
Diffstat (limited to 'Stars45/Particles.cpp')
-rw-r--r-- | Stars45/Particles.cpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/Stars45/Particles.cpp b/Stars45/Particles.cpp index 436f568..911b06f 100644 --- a/Stars45/Particles.cpp +++ b/Stars45/Particles.cpp @@ -11,7 +11,6 @@ Particle Burst class */ -#include "MemDebug.h" #include "Particles.h" #include "Projector.h" #include "Light.h" @@ -44,14 +43,14 @@ blend(a), extra(0.0f), point_sprite(0), emitting(true) if (max_scale < min_scale) max_scale = min_scale; - velocity = new(__FILE__,__LINE__) Point[nverts]; - part_loc = new(__FILE__,__LINE__) Point[nverts]; - release = new(__FILE__,__LINE__) Point[nverts]; - intensity = new(__FILE__,__LINE__) float[nverts]; - timestamp = new(__FILE__,__LINE__) float[nverts]; - scale = new(__FILE__,__LINE__) float[nverts]; - angle = new(__FILE__,__LINE__) float[nverts]; - frame = new(__FILE__,__LINE__) BYTE[nverts]; + velocity = new Point[nverts]; + part_loc = new Point[nverts]; + release = new Point[nverts]; + intensity = new float[nverts]; + timestamp = new float[nverts]; + scale = new float[nverts]; + angle = new float[nverts]; + frame = new BYTE[nverts]; float speed = base_speed; @@ -86,7 +85,7 @@ blend(a), extra(0.0f), point_sprite(0), emitting(true) nverts = (int) (nparts * 0.125 * release_rate); } - point_sprite = new(__FILE__,__LINE__) Sprite(bitmap, nframes); + point_sprite = new Sprite(bitmap, nframes); point_sprite->Scale(s); point_sprite->SetBlendMode(blend); point_sprite->SetFrameRate(nframes * decay); |