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:
Ragnvald Maartmann-Moe IV 2001-12-09 14:05:30 +00:00
parent f9d3f9f017
commit d4a8224d9b
18 changed files with 120 additions and 104 deletions

View file

@ -335,7 +335,7 @@ extern double realtime;
void Cvar_Info (struct cvar_s *var);
void CL_NetGraph (int swap);
void CL_NetGraph (void);
void CL_UpdateScreen (double realtime);
void CL_SetState (cactive_t state);