]> icculus.org git repositories - divverent/nexuiz.git/blob - data/qcsrc/client/main.qh
(experimental) CSQC Hud - can be turned off with "sbar_usecsqc 0"
[divverent/nexuiz.git] / data / qcsrc / client / main.qh
1 // --------------------------------------------------------------------------
2 // MENU Functionality
3
4 void() menu_show_error;
5 void() menu_sub_null;
6
7 void() menu_show; // ptr
8 float menu_visible;
9
10 float(float bInputType, float nPrimary, float nSecondary) menu_action;
11
12 // --------------------------------------------------------------------------
13 // CTF
14
15 void() ctf_menu_show;
16 string ctf_temp_1;
17
18
19 // --------------------------------------------------------------------------
20 // Onslaught
21
22 // Map coordinate base calculations need these
23 vector mi_center;
24 vector mi_scale;
25 // Minimap
26 string minimapname;
27 float ons_showmap;
28
29 // --------------------------------------------------------------------------
30 // General stuff
31
32 float gametype;
33 entity gps_start;
34
35 float draw_enginesbar;
36 //float sorted_players;
37 //float sorted_teams;
38
39 // Defs
40 .float ctf_state;
41 .float health;
42
43 // Constants
44 const float COLOR_TEAM_RED = 64;
45 const float COLOR_TEAM_BLUE = 208;
46
47 const float COLOR_TEAM1       = 4;  // red
48 const float COLOR_TEAM2       = 13; // blue
49 const float COLOR_TEAM3       = 12; // yellow
50 const float COLOR_TEAM4       = 9; // pink
51 const float COLOR_SPECTATOR = 1337;