Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <particle.h>
Public Member Functions | |
ParticleTrail (unsigned int max) | |
void | DrawAndUpdate () |
void | AddParticle (const ParticlePoint &, const Vector &, float size) |
void | ChangeMax (unsigned int max) |
Definition at line 18 of file particle.h.
|
inline |
Definition at line 23 of file particle.h.
References ChangeMax().
void ParticleTrail::AddParticle | ( | const ParticlePoint & | P, |
const Vector & | V, | ||
float | size | ||
) |
Definition at line 172 of file particle.cpp.
References ParticlePoint::size, size, and V.
Referenced by UniverseUtil::addParticle(), and DoParticles().
void ParticleTrail::ChangeMax | ( | unsigned int | max) |
void ParticleTrail::DrawAndUpdate | ( | ) |
Definition at line 90 of file particle.cpp.
References _Universe, Universe::AccessCamera(), CULLFACE, DEPTHWRITE, GetElapsedTime(), Camera::GetPosition(), Camera::GetPQR(), VegaConfig::getVariable(), GFXBegin(), GFXBlendMode(), GFXDisable(), GFXEnable(), GFXEnd(), GFXLoadIdentity(), GFXPOINT, GFXPointSize(), GFXQUAD, GFXTranslateModel(), gl_options, index, INVSRCALPHA, LIGHTING, Texture::MakeActive(), MODEL, ONE, XMLSupport::parse_bool(), XMLSupport::parse_float(), R, gl_options_t::smooth_points, SRCALPHA, BaseUtil::Texture(), TEXTURE0, TEXTURE1, v, Vector, vs_config, and ZERO.
Referenced by GameStarSystem::Draw().