doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Private Member Functions | List of all members
idDeclParticle Class Reference

#include <DeclParticle.h>

Inheritance diagram for idDeclParticle:
idDecl

Public Member Functions

virtual size_t Size (void) const
 
virtual const char * DefaultDefinition (void) const
 
virtual bool Parse (const char *text, const int textLength)
 
virtual void FreeData (void)
 
bool Save (const char *fileName=NULL)
 
- Public Member Functions inherited from idDecl
 idDecl (void)
 
virtual ~idDecl (void)
 
const char * GetName (void) const
 
declType_t GetType (void) const
 
declState_t GetState (void) const
 
bool IsImplicit (void) const
 
bool IsValid (void) const
 
void Invalidate (void)
 
void EnsureNotPurged (void)
 
int Index (void) const
 
int GetLineNum (void) const
 
const char * GetFileName (void) const
 
void GetText (char *text) const
 
int GetTextLength (void) const
 
void SetText (const char *text)
 
bool ReplaceSourceFileText (void)
 
bool SourceFileChanged (void) const
 
void MakeDefault (void)
 
bool EverReferenced (void) const
 
virtual bool SetDefaultText (void)
 
virtual void List (void) const
 
virtual void Print (void) const
 

Public Attributes

idList< idParticleStage * > stages
 
idBounds bounds
 
float depthHack
 
- Public Attributes inherited from idDecl
idDeclBasebase
 

Private Member Functions

bool RebuildTextSource (void)
 
void GetStageBounds (idParticleStage *stage)
 
idParticleStageParseParticleStage (idLexer &src)
 
void ParseParms (idLexer &src, float *parms, int maxParms)
 
void ParseParametric (idLexer &src, idParticleParm *parm)
 
void WriteStage (idFile *f, idParticleStage *stage)
 
void WriteParticleParm (idFile *f, idParticleParm *parm, const char *name)
 

Detailed Description

Definition at line 194 of file DeclParticle.h.

Member Function Documentation

const char * idDeclParticle::DefaultDefinition ( void  ) const
virtual

Reimplemented from idDecl.

Definition at line 493 of file DeclParticle.cpp.

void idDeclParticle::FreeData ( void  )
virtual

Reimplemented from idDecl.

Definition at line 484 of file DeclParticle.cpp.

void idDeclParticle::GetStageBounds ( idParticleStage stage)
private

Definition at line 81 of file DeclParticle.cpp.

bool idDeclParticle::Parse ( const char *  text,
const int  textLength 
)
virtual

Reimplemented from idDecl.

Definition at line 423 of file DeclParticle.cpp.

void idDeclParticle::ParseParametric ( idLexer src,
idParticleParm parm 
)
private

Definition at line 179 of file DeclParticle.cpp.

void idDeclParticle::ParseParms ( idLexer src,
float parms,
int  maxParms 
)
private

Definition at line 155 of file DeclParticle.cpp.

idParticleStage * idDeclParticle::ParseParticleStage ( idLexer src)
private

Definition at line 216 of file DeclParticle.cpp.

bool idDeclParticle::RebuildTextSource ( void  )
private

Definition at line 619 of file DeclParticle.cpp.

bool idDeclParticle::Save ( const char *  fileName = NULL)

Definition at line 649 of file DeclParticle.cpp.

size_t idDeclParticle::Size ( void  ) const
virtual

Reimplemented from idDecl.

Definition at line 72 of file DeclParticle.cpp.

void idDeclParticle::WriteParticleParm ( idFile f,
idParticleParm parm,
const char *  name 
)
private

Definition at line 509 of file DeclParticle.cpp.

void idDeclParticle::WriteStage ( idFile f,
idParticleStage stage 
)
private

Definition at line 529 of file DeclParticle.cpp.

Member Data Documentation

idBounds idDeclParticle::bounds

Definition at line 205 of file DeclParticle.h.

float idDeclParticle::depthHack

Definition at line 206 of file DeclParticle.h.

idList<idParticleStage *> idDeclParticle::stages

Definition at line 204 of file DeclParticle.h.


The documentation for this class was generated from the following files: