Re: [hlcoders] Particle Emitters automatically released?

2007-01-06 Thread Jonathan Murphy
--
[ Picked text/plain from multipart/alternative ]
It is a method invoked by CSmartPtr, once all particles have completed their
operations (after a quick look through). Place a breakpoint in
CParticleEffect::Release and look through the call stack also look at how
m_RefCount is used in CParticleEffect.

On 1/6/07, Minh [EMAIL PROTECTED] wrote:

 I was looking at some of the special f/x code for things such as blood and
 I
 noticed when they created a particle emitter by invoking
 CBloodSprayEmitter::Create (bloodpuff);

 they never explicitly call the CBloodSprayEmitter::Release.
 So , I'm wondering do the particle emitters get released automatically?
 and
 if so, under what conditions? (e.g. when they stop emitting particles
 after
 a certain amount of time?).


 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlcoders




--
Lead Programmer for Resistance and Liberation
www.resistanceandliberation.com
--

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



[hlcoders] Particle Emitters automatically released?

2007-01-05 Thread Minh

I was looking at some of the special f/x code for things such as blood and I
noticed when they created a particle emitter by invoking
CBloodSprayEmitter::Create (bloodpuff);

they never explicitly call the CBloodSprayEmitter::Release.
So , I'm wondering do the particle emitters get released automatically? and
if so, under what conditions? (e.g. when they stop emitting particles after
a certain amount of time?).


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders