#include <particle.h>
Public Methods | |
| particle_type_c () | |
| c'tor | |
| virtual | ~particle_type_c () |
| d'tor | |
Data Fields | |
| vec2_c | anglespeed |
| add this degrees per second to angle | |
| float | lifetime |
| total time to live | |
| vec4_c | begincolor |
| colors | |
| vec4_c | endcolor |
| colors | |
| vec2_c | beginsize |
| sizes | |
| vec2_c | endsize |
| sizes | |
| vec3_c | force |
| direction of gravity | |
| float | mass |
| mass | |
| float | sparkle |
| amount of random sparkle | |
Protected Methods | |
| void | update () |
| called by particle system | |
| void | draw () |
| dito, to draw the particles | |
| void | new_particle (const vec3_t pos, const vec3_t speed) |
| dito, create new particle | |
Protected Attributes | |
| vertex_t * | verts |
| the vertex buffer of all particles | |
| ulong | vertexcount |
| vertex count | |
| particle_t * | particles |
| all the particles themselves | |
| ulong | particlecount |
| number of particles | |
| particle_system_c * | psystem |
| particle system | |
float friction; ///< friction to apply
bool alignmotion; bool keepalignmotion; bool speedscalex; bool speedscaley;
Definition at line 219 of file particle.h.
|
||||||||||||
|
Definition at line 201 of file p_type.cpp. References frand, SafeArrayDelete, and vec3_t. Referenced by particle_emitter_c::update(). |
1.2.18