Major particle interface cleanup, several bugfixes, and minor performance improvements. Oh, check out "/help easter_eggs" (gl-only, at the moment).

This commit is contained in:
Ragnvald Maartmann-Moe IV 2001-12-11 22:37:30 +00:00
parent 8a47406dcd
commit f66b7a93e5
19 changed files with 631 additions and 415 deletions

View file

@ -42,26 +42,36 @@ typedef enum {
PE_WIZSPIKE,
} particle_effect_t;
void R_ParseParticleEffect (void);
struct entity_s;
void R_RocketTrail (struct entity_s *ent);
void R_GrenadeTrail (struct entity_s *ent);
void R_BloodTrail (struct entity_s *ent);
void R_SlightBloodTrail (struct entity_s *ent);
void R_GreenTrail (struct entity_s *ent);
void R_FlameTrail (struct entity_s *ent);
void R_VoorTrail (struct entity_s *ent);
void R_RunParticleEffect (vec3_t org, vec3_t dir, int color, int count);
void R_RunPuffEffect (vec3_t org, particle_effect_t type, byte count);
void R_RunSpikeEffect (vec3_t org, particle_effect_t type);
extern void (*R_RocketTrail) (struct entity_s *ent);
extern void (*R_GrenadeTrail) (struct entity_s *ent);
extern void (*R_BloodTrail) (struct entity_s *ent);
extern void (*R_SlightBloodTrail) (struct entity_s *ent);
extern void (*R_WizTrail) (struct entity_s *ent);
extern void (*R_FlameTrail) (struct entity_s *ent);
extern void (*R_VoorTrail) (struct entity_s *ent);
extern void (*R_RunParticleEffect) (vec3_t org, vec3_t dir, int color,
int count);
extern void (*R_BloodPuffEffect) (vec3_t org, int count);
extern void (*R_GunshotEffect) (vec3_t org, int count);
extern void (*R_LightningBloodEffect) (vec3_t org);
extern void (*R_SpikeEffect) (vec3_t org);
extern void (*R_KnightSpikeEffect) (vec3_t org);
extern void (*R_SuperSpikeEffect) (vec3_t org);
extern void (*R_WizSpikeEffect) (vec3_t org);
extern void (*R_BlobExplosion) (vec3_t org);
extern void (*R_ParticleExplosion) (vec3_t org);
extern void (*R_ParticleExplosion2) (vec3_t org, int colorStart,
int colorLength);
extern void (*R_LavaSplash) (vec3_t org);
extern void (*R_TeleportSplash) (vec3_t org);
void R_DarkFieldParticles (struct entity_s *ent);
void R_EntityParticles (struct entity_s *ent);
void R_BlobExplosion (vec3_t org);
void R_ParticleExplosion (vec3_t org);
void R_ParticleExplosion2 (vec3_t org, int colorStart, int colorLength);
void R_LavaSplash (vec3_t org);
void R_TeleportSplash (vec3_t org);
void R_PushDlights (vec3_t entorigin);
struct cvar_s;
void R_MaxDlightsCheck (struct cvar_s *var);