mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
Change particle limit from a short to an unsigned int. Possibly a tiny speedup, also allows for absurd particle counts...
This commit is contained in:
parent
3b2d2a1c88
commit
3ad79cc970
2 changed files with 3 additions and 4 deletions
|
@ -74,8 +74,8 @@ struct cvar_s;
|
|||
void R_MaxParticlesCheck (struct cvar_s *r_particles,
|
||||
struct cvar_s *cl_max_particles);
|
||||
|
||||
extern short r_maxparticles;
|
||||
extern short numparticles;
|
||||
extern unsigned int r_maxparticles;
|
||||
extern unsigned int numparticles;
|
||||
extern struct particle_s *active_particles;
|
||||
extern struct particle_s *free_particles;
|
||||
extern struct particle_s *particles;
|
||||
|
|
|
@ -40,12 +40,11 @@ static const char rcsid[] =
|
|||
#include "compat.h"
|
||||
#include "r_local.h"
|
||||
|
||||
short r_maxparticles, numparticles;
|
||||
unsigned int r_maxparticles, numparticles;
|
||||
particle_t *active_particles, *free_particles, *particles, **freeparticles;
|
||||
vec3_t r_pright, r_pup, r_ppn;
|
||||
|
||||
|
||||
|
||||
/*
|
||||
R_MaxParticlesCheck
|
||||
|
||||
|
|
Loading…
Reference in a new issue