mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 16:30:43 +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
|
@ -41,7 +41,7 @@ void Sbar_Init (void);
|
|||
void Sbar_Changed (void);
|
||||
// call whenever any of the client stats represented on the sbar changes
|
||||
|
||||
void Sbar_Draw (int swap);
|
||||
void Sbar_Draw (void);
|
||||
// called every frame by screen
|
||||
|
||||
void Sbar_IntermissionOverlay (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue