X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=sbar.h;h=0739756abb16f3a528fe10226bba7bf3df49f9fc;hb=eb155f171d675b2c36f09f0bdf348776d2ec2fab;hp=286b3b6a7a59cfcf51221c1df35a55b9b611237f;hpb=8dcce44300385b12c46d494c06aadcfa35a8bc14;p=xonotic%2Fdarkplaces.git diff --git a/sbar.h b/sbar.h index 286b3b6a..0739756a 100644 --- a/sbar.h +++ b/sbar.h @@ -18,22 +18,22 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -// the status bar is only redrawn if something has changed, but if anything -// does, the entire thing will be redrawn for the next vid.numpages frames. +#ifndef SBAR_H +#define SBAR_H #define SBAR_HEIGHT 24 -extern int sb_lines; // scan lines to draw +extern int sb_lines; ///< scan lines to draw +extern cvar_t sbar_alpha_bg; +extern cvar_t sbar_alpha_fg; void Sbar_Init (void); -void Sbar_Changed (void); -// call whenever any of the client stats represented on the sbar changes - +/// called every frame by screen void Sbar_Draw (void); -// called every frame by screen -void Sbar_IntermissionOverlay (void); -// called each frame after the level has been completed +int Sbar_GetSortedPlayerIndex (int index); +void Sbar_SortFrags (void); + +#endif -void Sbar_FinaleOverlay (void);