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
/*
2
Copyright (C) 1996-1997 Id Software, Inc.
3
4
This program is free software; you can redistribute it and/or
5
modify it under the terms of the GNU General Public License
6
as published by the Free Software Foundation; either version 2
7
of the License, or (at your option) any later version.
8
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
13
See the GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with this program; if not, write to the Free Software
17
Foundation, 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
26
extern
int
sb_lines
;
27
extern
struct
cvar_s
sbar_alpha_bg
;
28
extern
struct
cvar_s
sbar_alpha_fg
;
29
30
void
Sbar_Init
(
void
);
31
33
void
Sbar_Draw
(
void
);
34
35
void
Sbar_ShowFPS
(
void
);
36
void
Sbar_ShowFPS_Update
(
void
);
37
38
int
Sbar_GetSortedPlayerIndex
(
int
index
);
39
void
Sbar_SortFrags
(
void
);
40
41
extern
cvar_t
cl_deathscoreboard
;
42
void
Sbar_DeathmatchOverlay
(
void
);
43
44
#endif
45
index
GLuint index
Definition
glquake.h:629
cl_deathscoreboard
cvar_t cl_deathscoreboard
Definition
sbar.c:110
sb_lines
int sb_lines
scan lines to draw
Definition
sbar.c:58
sbar_alpha_fg
cvar_t sbar_alpha_fg
Definition
sbar.c:101
sbar_alpha_bg
cvar_t sbar_alpha_bg
Definition
sbar.c:100
Sbar_ShowFPS
void Sbar_ShowFPS(void)
Definition
sbar.c:1099
Sbar_Draw
void Sbar_Draw(void)
called every frame by screen
Definition
sbar.c:1372
Sbar_Init
void Sbar_Init(void)
Definition
sbar.c:359
Sbar_GetSortedPlayerIndex
int Sbar_GetSortedPlayerIndex(int index)
Definition
sbar.c:546
Sbar_DeathmatchOverlay
void Sbar_DeathmatchOverlay(void)
Definition
sbar.c:1866
Sbar_SortFrags
void Sbar_SortFrags(void)
Definition
sbar.c:554
Sbar_ShowFPS_Update
void Sbar_ShowFPS_Update(void)
Definition
sbar.c:1082
cvar_t
Definition
cvar.h:66
sbar.h
Generated on
for DarkPlaces by
1.14.0