Small stuph.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@297 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
1ba53e017e
commit
5fbe74b582
31 changed files with 884 additions and 528 deletions
|
@ -53,17 +53,25 @@ typedef struct particle_s
|
|||
float color;
|
||||
vec3_t rgb;
|
||||
float alpha;
|
||||
float angle;
|
||||
float scale;
|
||||
|
||||
union {
|
||||
struct {
|
||||
vec3_t vel;
|
||||
float angle;
|
||||
float rotationspeed;
|
||||
float nextemit;
|
||||
} p; //point blob
|
||||
struct {
|
||||
vec3_t org2;
|
||||
vec3_t lastdir;
|
||||
} b; //beam
|
||||
} u;
|
||||
|
||||
// drivers never touch the following fields
|
||||
vec3_t vel;
|
||||
float rotationspeed;
|
||||
|
||||
struct particle_s *next;
|
||||
float nextemit;
|
||||
float die;
|
||||
|
||||
float scale;
|
||||
|
||||
} particle_t;
|
||||
|
||||
#define PARTICLE_Z_CLIP 8.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue