DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
 
sbar.h
Go to the documentation of this file.
1/*
2Copyright (C) 1996-1997 Id Software, Inc.
3
4This program is free software; you can redistribute it and/or
5modify it under the terms of the GNU General Public License
6as published by the Free Software Foundation; either version 2
7of the License, or (at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
13See the GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software
17Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
19*/
20
21#ifndef SBAR_H
22#define SBAR_H
23
24#define SBAR_HEIGHT 24
25
26extern int sb_lines;
27extern struct cvar_s sbar_alpha_bg;
28extern struct cvar_s sbar_alpha_fg;
29
30void Sbar_Init (void);
31
33void Sbar_Draw (void);
34
35void Sbar_ShowFPS(void);
36void Sbar_ShowFPS_Update(void);
37
39void Sbar_SortFrags (void);
40
42void Sbar_DeathmatchOverlay (void);
43
44#endif
45
GLuint index
Definition glquake.h:629
void Sbar_ShowFPS(void)
Definition sbar.c:1099
void Sbar_Draw(void)
called every frame by screen
Definition sbar.c:1372
cvar_t cl_deathscoreboard
Definition sbar.c:110
struct cvar_s sbar_alpha_fg
Definition sbar.c:101
struct cvar_s sbar_alpha_bg
Definition sbar.c:100
void Sbar_Init(void)
Definition sbar.c:359
int Sbar_GetSortedPlayerIndex(int index)
Definition sbar.c:546
int sb_lines
scan lines to draw
Definition sbar.c:58
void Sbar_DeathmatchOverlay(void)
Definition sbar.c:1866
void Sbar_SortFrags(void)
Definition sbar.c:554
void Sbar_ShowFPS_Update(void)
Definition sbar.c:1082
Definition cvar.h:66