28 #ifndef HPL_PARTICLE_EMITTER_3D_USER_DATA_H 29 #define HPL_PARTICLE_EMITTER_3D_USER_DATA_H 31 #include "hpl1/engine/graphics/ParticleEmitter3D.h" 32 #include "hpl1/engine/graphics/Renderable.h" 33 #include "hpl1/engine/physics/PhysicsWorld.h" 34 #include "hpl1/engine/scene/Entity3D.h" 40 enum ePEStartPosType {
42 ePEStartPosType_Sphere,
43 ePEStartPosType_LastEnum,
49 ePEDeathType_LastEnum,
54 ePEGravityType_Vector,
55 ePEGravityType_Center,
56 ePEGravityType_LastEnum,
61 ePESubDivType_Animation,
62 ePESubDivType_LastEnum,
65 enum ePEPartSpinType {
66 ePEPartSpinType_Constant,
67 ePEPartSpinType_Movement,
68 ePEPartSpinType_LastEnum,
103 int mlMaxParticleNum;
107 float mfParticlesPerSecond;
108 float mfStartTimeOffset;
110 float mfMinPauseLength;
111 float mfMaxPauseLength;
113 float mfMinPauseInterval;
114 float mfMaxPauseInterval;
120 float mfMaxFrameTime;
125 ePESubDivType mSubDivType;
128 ePEStartPosType mStartPosType;
136 float mfMinStartRadius;
137 float mfMaxStartRadius;
140 ePEStartPosType mStartVelType;
148 float mfMinStartVelSpeed;
149 float mfMaxStartVelSpeed;
151 float mfMinSpeedMultiply;
152 float mfMaxSpeedMultiply;
157 float mfMinVelMaximum;
158 float mfMaxVelMaximum;
160 bool mbUsesDirection;
161 ePEGravityType mGravityType;
165 eParticleEmitter3DCoordSystem mCoordSystem;
170 ePEPartSpinType mPartSpinType;
171 float mfMinSpinRange;
172 float mfMaxSpinRange;
174 bool mbUseRevolution;
187 ePEDeathType mDeathType;
192 eParticleEmitter3DType mDrawType;
197 float mfStartRelSize;
198 float mfMiddleRelSize;
199 float mfMiddleRelSizeTime;
200 float mfMiddleRelSizeLength;
203 bool mbMultiplyRGBWithAlpha;
212 float mfMiddleRelColorTime;
213 float mfMiddleRelColorLength;
219 float mfMinBounceAmount;
220 float mfMaxBounceAmount;
222 int mlMinCollisionMax;
223 int mlMaxCollisionMax;
225 int mlCollisionUpdateRate;
237 int mlHighFreqPoints;
260 void UpdateMotion(
float afTimeStep);
261 void SetParticleDefaults(
cParticle *apParticle);
268 float mfCollideCount;
271 float mfPauseWaitCount;
279 #endif // HPL_PARTICLE_EMITTER_3D_USER_DATA_H
Definition: ParticleEmitter3D.h:94
Definition: ParticleEmitter.h:203
Definition: PhysicsWorld.h:92
Definition: PhysicsWorld.h:100
Definition: PhysicsWorld.h:115
Definition: PhysicsBody.h:117
Definition: ParticleEmitter3D_UserData.h:248
Definition: ParticleEmitter3D_UserData.h:75
Definition: ParticleEmitter.h:133
Definition: ParticleEmitter.h:72
Definition: Resources.h:160
Definition: tinyxml.h:864
Definition: Graphics.h:46