226 void AddRefObjects();
236 void ReleaseObjects();
245 std::list<ColorKey> mStartColorKeys;
247 std::list<ColorKey> mEndColorKeys;
249 std::list<FloatKey> mEmitRateKeys;
253 float mEmitRateRatio;
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Animatable()
Construct an animatable with no children, no filters, and a zero frame.
Sink that the engine formats its diagnostic and failure text into.
Definition dbg.h:33
Base of every object the renderer can load, resolve by name, and serialise.
Definition object.h:43
Keyframed animation of one Rnd::ParticleSys.
Definition particlesysanim.h:47
virtual void DumpText(Dbg &sink)
Write the animation to the engine text sink.
virtual void Replace(Object *pFrom, Object *pTo)
Replace one object reference with another.
void SetParticleSys(ParticleSys *pParticleSys)
Make a particle system the one this animation drives.
virtual float FilteredFrameEnd()
Report the last frame this animation runs to.
virtual void Save(Stream &stream)
Serialise the animation.
virtual void Copy(const Object *pSource, unsigned nFlags)
Copy another animation over this one.
virtual ~ParticleSysAnim()
virtual void SetFrameSelf(float flFrame)
Animate the system to a frame.
void SetFramesOwner(ParticleSysAnim *pOwner)
Make another animation the one whose keyframes drive this one.
@ kSerialVersion
Definition particlesysanim.h:50
virtual const HxStr & ClassName() const
Return the registered class name, "ParticleSysAnim".
virtual void Load(Stream &stream)
Load the animation.
ParticleSysAnim(const HxStr &name)
Construct an animation with no channels and no system that owns its own frames.
@ kCopyShareKeys
Definition particlesysanim.h:59
Emitter that spawns, integrates, and draws a population of particles.
Definition particlesys.h:60
Byte stream that every renderer object serialises itself through.
Definition stream.h:31
The rendering engine.
Definition animhelper.h:3
void RegisterParticleSysAnimClass()
Register the "ParticleSysAnim" class with Rnd::Manager.
Definition particlesysanim.h:309
Manager TheManager
The renderer's object registry.
Object * CreateRegisteredParticleSysAnim(const HxStr &name)
Build a particle system animation for the registered "ParticleSysAnim" class.
ParticleSysAnim * NewParticleSysAnim(const HxStr &name)
Allocate and construct a particle system animation.
Definition particlesysanim.h:268
HxStr g_particleSysAnimClassName
Registered class name of Rnd::ParticleSysAnim, the string "ParticleSysAnim".