|
Classes |
| struct | expvert |
| struct | particle |
| struct | parttype |
Defines |
| #define | MAXPARTYPES 13 |
Functions |
| static void | subdivide (int depth, int face) |
| static void | genface (int depth, int i1, int i2, int i3) |
| static void | inithemisphere (int hres, int depth) |
| GLuint | createexpmodtex (int size, float minval) |
| | VARP (mtexplosion, 0, 1, 1) |
| void | setupexplosion () |
| void | drawexplosion (bool inside, float r, float g, float b, float a) |
| void | cleanupexplosion () |
| void | particleinit () |
| void | cleanupparticles () |
| void | particlereset () |
| void | newparticle (const vec &o, const vec &d, int fade, int type) |
| | VAR (particlesize, 20, 100, 500) |
| | VARP (blood, 0, 1, 1) |
| | VARP (bloodttl, 0, 10000, 30000) |
| void | render_particles (int time, int typemask) |
| void | particle_emit (int type, int *args, int basetime, int seed, const vec &p) |
| void | particle_flash (int type, float scale, float angle, const vec &p) |
| void | particle_splash (int type, int num, int fade, const vec &p) |
| void | particle_trail (int type, int fade, const vec &s, const vec &e) |
| void | particle_fireball (int type, const vec &o) |
| | VARP (bulletbouncesound, 0, 1, 1) |
| | VARP (bullethole, 0, 1, 1) |
| | VARP (bulletholettl, 0, 10000, 30000) |
| | VARP (bulletbouncesoundrad, 0, 15, 1000) |
| bool | addbullethole (dynent *d, const vec &from, const vec &to, float radius, bool noisy) |
| | VARP (scorch, 0, 1, 1) |
| | VARP (scorchttl, 0, 10000, 30000) |
| bool | addscorchmark (vec &o, float radius) |
| | VARP (shotline, 0, 1, 1) |
| | VARP (shotlinettl, 0, 75, 10000) |
| | VARP (bulletairsound, 0, 1, 1) |
| | VARP (bulletairsoundrad, 0, 15, 1000) |
| | VARP (bulletairsoundsourcerad, 0, 8, 1000) |
| | VARP (bulletairsounddestrad, 0, 8, 1000) |
| void | addshotline (dynent *pl, const vec &from, const vec &to) |
Variables |
| static GLushort * | hemiindices = NULL |
| static vec * | hemiverts = NULL |
| static int | heminumverts = 0 |
| static int | heminumindices = 0 |
| static struct expvert * | expverts |
| static GLuint | expmodtex [2] = {0, 0} |
| static GLuint | lastexpmodtex = 0 |
| particle * | parlist [MAXPARTYPES] |
| particle * | parempty = NULL |
| static Texture * | parttex [7] |
| static struct parttype | parttypes [] |