mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 14:20:59 +00:00
put TE_BLOOD and TE_LIGHTNINGBLOOD into nq and clean up some other diffs.
down to just old_origin vs ent->msg_origins
This commit is contained in:
parent
e2944a82c9
commit
266e6b3474
2 changed files with 9 additions and 6 deletions
|
@ -53,7 +53,6 @@ int r_numparticles;
|
|||
|
||||
vec3_t r_pright, r_pup, r_ppn;
|
||||
|
||||
|
||||
/*
|
||||
R_MaxParticlesCheck
|
||||
|
||||
|
@ -184,6 +183,12 @@ R_RunPuffEffect (vec3_t pos, byte type, byte cnt)
|
|||
case TE_GUNSHOT:
|
||||
R_RunParticleEffect (pos, 0, 20 * cnt);
|
||||
break;
|
||||
case TE_BLOOD:
|
||||
R_RunParticleEffect (pos, 73, 20 * cnt);
|
||||
break;
|
||||
case TE_LIGHTNINGBLOOD:
|
||||
R_RunParticleEffect (pos, 225, 50);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
r_part.c
|
||||
sw_rpart.c
|
||||
|
||||
(description)
|
||||
|
||||
|
@ -39,6 +39,7 @@
|
|||
|
||||
#include "client.h"
|
||||
#include "host.h"
|
||||
#include "r_cvar.h"
|
||||
#include "r_dynamic.h"
|
||||
#include "r_local.h"
|
||||
|
||||
|
@ -52,8 +53,6 @@ particle_t *particles;
|
|||
int r_numparticles;
|
||||
|
||||
vec3_t r_pright, r_pup, r_ppn;
|
||||
cvar_t *r_particles;
|
||||
|
||||
|
||||
/*
|
||||
R_MaxParticlesCheck
|
||||
|
@ -87,8 +86,7 @@ R_Particles_Init_Cvars (void)
|
|||
{
|
||||
// Does a callback to R_MaxParticleCheck when the cvar changes. Neat trick.
|
||||
Cvar_Get ("cl_max_particles", "2048", CVAR_ARCHIVE, R_MaxParticlesCheck,
|
||||
"Maximum amount of particles to display. No maximum, minimum "
|
||||
"is 1.");
|
||||
"Maximum amount of particles to display. No maximum, minimum is 1.");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue