Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Go to the source code of this file.
Classes | |
class | MyIndHalo |
class | HaloSystem |
Functions | |
void | DoParticles (QVector pos, float hullpercent, const Vector &velocity, float radial_size, float hullpct, int faction) |
void | LaunchOneParticle (const Matrix &mat, const Vector &vel, unsigned int seed, Unit *mesh, float hullpct, int faction) |
void DoParticles | ( | QVector | pos, |
float | hullpercent, | ||
const Vector & | velocity, | ||
float | radial_size, | ||
float | hullpct, | ||
int | faction | ||
) |
Definition at line 33 of file halo_system.cpp.
References GFXColor::a, ParticleTrail::AddParticle(), GFXColor::b, ParticlePoint::col, ffmax(), float, GFXColor::g, FactionUtil::GetSparkColor(), VegaConfig::getVariable(), i, ParticlePoint::loc, XMLSupport::parse_bool(), XMLSupport::parse_float(), particleTrail, QVector, GFXColor::r, UniverseUtil::sqrt(), and vs_config.
Referenced by HaloSystem::Draw(), and LaunchOneParticle().
void LaunchOneParticle | ( | const Matrix & | mat, |
const Vector & | vel, | ||
unsigned int | seed, | ||
Unit * | mesh, | ||
float | hullpct, | ||
int | faction | ||
) |
Definition at line 63 of file halo_system.cpp.
References Unit::colTrees, done, DoParticles(), StarSystemGent::faction, csOPCODECollider::getNumVertex(), VegaConfig::getVariable(), csOPCODECollider::getVertex(), int, XMLSupport::parse_float(), QVector, collideTrees::rapidColliders, Unit::rSize(), Transform(), collideTrees::usingColTree(), v, and vs_config.
Referenced by GameUnit< UnitType >::Draw().