#include <C4Particles.h>
Public Member Functions | |
C4ParticleDef () | |
~C4ParticleDef () | |
void | Clear () |
bool | Load (C4Group &group) |
bool | Reload () |
void | CompileFunc (StdCompiler *compiler) |
bool | Compile (char *particle_source, const char *name) |
Public Attributes | |
C4ParticleDef * | previous |
C4ParticleDef * | next |
StdStrBuf | Filename |
C4FacetSurface | Gfx |
int32_t | Length |
int32_t | PhasesX |
float | Aspect |
StdStrBuf | Name |
C4Rect | GfxFace |
Definition at line 83 of file C4Particles.h.
C4ParticleDef::C4ParticleDef | ( | ) |
Definition at line 56 of file C4Particles.cpp.
References C4FacetSurface::Default(), C4ParticleSystem::definitions, Gfx, next, Particles, and previous.
C4ParticleDef::~C4ParticleDef | ( | ) |
Definition at line 75 of file C4Particles.cpp.
References Clear(), C4ParticleSystem::definitions, next, Particles, and previous.
void C4ParticleDef::Clear | ( | ) |
Definition at line 84 of file C4Particles.cpp.
References StdStrBuf::Clear(), and C4ParticleDefCore::Name.
Referenced by Reload(), and ~C4ParticleDef().
|
inherited |
Definition at line 50 of file C4Particles.cpp.
References mkNamingAdapt().
Referenced by Load().
|
inherited |
Definition at line 39 of file C4Particles.cpp.
References C4ParticleDefCore::GfxFace, mkNamingAdapt(), C4ParticleDefCore::Name, toC4CStrBuf, and StdCompiler::Value().
bool C4ParticleDef::Load | ( | C4Group & | group | ) |
Definition at line 89 of file C4Particles.cpp.
References Aspect, C4CFN_DefGraphics, C4CFN_ParticleCore, C4FCT_Full, C4SF_MipMap, C4ParticleDefCore::Compile(), Config, StdStrBuf::Copy(), DebugLogF(), C4ParticleSystem::definitions, Filename, StdStrBuf::getData(), C4ParticleSystemDefinitionList::GetDef(), C4Group::GetFullName(), C4Facet::GetPhaseNum(), Gfx, C4ParticleDefCore::GfxFace, C4Config::Graphics, C4Facet::Hgt, C4Rect::Hgt, Length, C4FacetSurface::Load(), C4Group::LoadEntry(), LoadResStr(), Log(), C4ParticleDefCore::Name, Particles, PhasesX, C4FacetSurface::Set(), sprintf, C4Facet::Surface, C4ConfigGraphics::VerboseObjectLoading, C4Facet::Wdt, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by Reload().
bool C4ParticleDef::Reload | ( | ) |
Definition at line 136 of file C4Particles.cpp.
References Clear(), Filename, StdStrBuf::getData(), Load(), and C4Group::Open().
Referenced by C4Game::ReloadParticle().
float C4ParticleDef::Aspect |
Definition at line 93 of file C4Particles.h.
Referenced by C4ParticleSystem::Create(), and Load().
StdStrBuf C4ParticleDef::Filename |
Definition at line 88 of file C4Particles.h.
Referenced by Load(), Reload(), and C4Game::ReloadParticle().
C4FacetSurface C4ParticleDef::Gfx |
Definition at line 90 of file C4Particles.h.
Referenced by C4ParticleDef(), and Load().
|
inherited |
Definition at line 74 of file C4Particles.h.
Referenced by C4ParticleDefCore::C4ParticleDefCore(), C4ParticleDefCore::CompileFunc(), and Load().
int32_t C4ParticleDef::Length |
Definition at line 91 of file C4Particles.h.
Referenced by Load(), and C4Particle::DrawingData::SetPhase().
|
inherited |
Definition at line 73 of file C4Particles.h.
Referenced by Clear(), C4ParticleDefCore::CompileFunc(), C4ParticleSystemDefinitionList::GetDef(), Load(), and C4Game::ReloadParticle().
C4ParticleDef * C4ParticleDef::next |
Definition at line 86 of file C4Particles.h.
Referenced by C4ParticleDef(), C4ParticleSystemDefinitionList::GetDef(), and ~C4ParticleDef().
int32_t C4ParticleDef::PhasesX |
Definition at line 92 of file C4Particles.h.
Referenced by Load(), and C4Particle::DrawingData::SetPhase().
C4ParticleDef* C4ParticleDef::previous |
Definition at line 86 of file C4Particles.h.
Referenced by C4ParticleDef(), and ~C4ParticleDef().