]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sbar.h
Added two cvars (sbar_alpha_bg and sbar_alpha_fg) to replace sbar_alpha, one controls...
[xonotic/darkplaces.git] / sbar.h
diff --git a/sbar.h b/sbar.h
index 9e881c84ee2c42e75854c27b6ebf817babc9d423..b59d5b232073005e53e1fd4ca495af88efac3e80 100644 (file)
--- a/sbar.h
+++ b/sbar.h
@@ -18,19 +18,19 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 */
 
+#ifndef SBAR_H
+#define SBAR_H
+
 #define        SBAR_HEIGHT             24
 
 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
-
 void Sbar_Draw (void);
 // called every frame by screen
 
-void Sbar_IntermissionOverlay (void);
-// called each frame after the level has been completed
+#endif
 
-void Sbar_FinaleOverlay (void);