]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sbar.h
Fix engine not starting on Windows if linked against SDL > 2.0.5
[xonotic/darkplaces.git] / sbar.h
diff --git a/sbar.h b/sbar.h
index 286b3b6a7a59cfcf51221c1df35a55b9b611237f..0739756abb16f3a528fe10226bba7bf3df49f9fc 100644 (file)
--- 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);