29 #ifndef __DECLPARTICLE_H__
30 #define __DECLPARTICLE_H__
197 virtual size_t Size(
void )
const;
199 virtual bool Parse(
const char *text,
const int textLength );
202 bool Save(
const char *fileName =
NULL );
float Eval(float frac, idRandom &rand) const
idParticleStage * ParseParticleStage(idLexer &src)
float Integrate(float frac, idRandom &rand) const
void ParseParametric(idLexer &src, idParticleParm *parm)
virtual ~idParticleStage(void)
GLenum GLsizei GLenum GLenum const GLvoid * table
const renderEntity_t * renderEnt
virtual size_t Size(void) const
bool Save(const char *fileName=NULL)
virtual bool Parse(const char *text, const int textLength)
void ParticleOrigin(particleGen_t *g, idVec3 &origin) const
void GetStageBounds(idParticleStage *stage)
idParticleParm rotationSpeed
void ParticleColors(particleGen_t *g, idDrawVert *verts) const
void ParticleTexCoords(particleGen_t *g, idDrawVert *verts) const
void SetCustomPathType(const char *p)
virtual int CreateParticle(particleGen_t *g, idDrawVert *verts) const
const renderView_t * renderView
prtDirection_t directionType
prtDistribution_t distributionType
const char * GetCustomPathName()
const idMaterial * material
void operator=(const idParticleStage &src)
float orientationParms[4]
idList< idParticleStage * > stages
const char * GetCustomPathDesc()
prtCustomPth_t customPathType
int ParticleVerts(particleGen_t *g, const idVec3 origin, idDrawVert *verts) const
void ParseParms(idLexer &src, float *parms, int maxParms)
virtual void FreeData(void)
const idDeclTable * table
virtual const char * DefaultDefinition(void) const
float distributionParms[4]
void WriteStage(idFile *f, idParticleStage *stage)
prtOrientation_t orientation
bool RebuildTextSource(void)
void WriteParticleParm(idFile *f, idParticleParm *parm, const char *name)
virtual int NumQuadsPerParticle() const