mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 08:20:40 +00:00
Change hudswap to use a callback, and instead of passing a swap variable to 10 functions, where only 2 use it, use a global variable. Make a few scr functions static inline, too. Got a totally unexpected ~0.45fps speedup.
This commit is contained in:
parent
f9d3f9f017
commit
d4a8224d9b
18 changed files with 120 additions and 104 deletions
|
@ -43,13 +43,13 @@ extern struct cvar_s *r_ambient;
|
|||
extern struct cvar_s *r_clearcolor;
|
||||
extern struct cvar_s *r_dlight_lightmap;
|
||||
extern struct cvar_s *r_drawentities;
|
||||
extern struct cvar_s *r_drawexplosions; // DESPAIR
|
||||
extern struct cvar_s *r_drawexplosions;
|
||||
extern struct cvar_s *r_drawflat;
|
||||
extern struct cvar_s *r_draworder;
|
||||
extern struct cvar_s *r_drawviewmodel;
|
||||
extern struct cvar_s *r_dspeeds;
|
||||
extern struct cvar_s *r_dynamic;
|
||||
extern struct cvar_s *r_explosionclip; // DESPAIR
|
||||
extern struct cvar_s *r_explosionclip;
|
||||
extern struct cvar_s *r_firecolor;
|
||||
extern struct cvar_s *r_fullbright;
|
||||
extern struct cvar_s *r_graphheight;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue