Added the capture-counter and changed the CTF scoreboard to display the caps.
[divverent/nexuiz.git] / data / qcsrc / client / main.qh
1 // --------------------------------------------------------------------------
2 // MENU Functionality
3
4 #define DATABUF_PING 0
5 #define DATABUF_CAPTURES (1*maxclients)
6 #define DATABUF_NEXT (2*maxclients)
7
8 void() menu_show_error;
9 void() menu_sub_null;
10
11 void() menu_show;
12 float menu_visible;
13
14 float(float bInputType, float nPrimary, float nSecondary) menu_action;
15
16 // --------------------------------------------------------------------------
17 // CTF
18
19 void() ctf_menu_show;
20 string ctf_temp_1;
21
22 // --------------------------------------------------------------------------
23 // Onslaught
24
25 // Map coordinate base calculations need these
26 vector mi_center;
27 vector mi_scale;
28 // Minimap
29 string minimapname;
30 float ons_showmap;
31
32 // --------------------------------------------------------------------------
33 // General stuff
34
35 float drawfont;
36 float postinit;
37 float gametype;
38 entity gps_start;
39
40 float draw_enginesbar;
41 //float sorted_players;
42 //float sorted_teams;
43
44 // Defs
45 //.float ctf_state;
46 //.float health;
47
48 // Constants
49 const float COLOR_TEAM_RED = 64;
50 const float COLOR_TEAM_BLUE = 208;
51
52 const float COLOR_TEAM1       = 4;  // red
53 const float COLOR_TEAM2       = 13; // blue
54 const float COLOR_TEAM3       = 12; // yellow
55 const float COLOR_TEAM4       = 9; // pink
56 const float COLOR_SPECTATOR = 1337;
57
58 #define FONT_DEFAULT 0
59 #define FONT_USER 8