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