]> icculus.org git repositories - divverent/nexuiz.git/blob - data/qcsrc/menu-div0test/menu.qh
fix selection bugs when enabling/disabling the checkboxes
[divverent/nexuiz.git] / data / qcsrc / menu-div0test / menu.qh
1 #define localcmd cmd
2
3 #define NULL (null_entity)
4
5 // constants
6
7 const string string_null;
8 const vector eX = '1 0 0';
9 const vector eY = '0 1 0';
10 const vector eZ = '0 0 1';
11
12 const float GAME_ISSERVER       = 1;
13 const float GAME_CONNECTED      = 2;
14 const float GAME_DEVELOPER      = 4;
15
16 // prototypes
17
18 float Menu_Active;
19 float gamestatus;
20
21 const float S_SHIFT = 1;
22 const float S_CTRL = 2;
23 const float S_ALT = 4;
24
25 float frametime;
26 float time;
27
28 entity main;
29 void m_hide();
30 void m_display();
31 void m_goto(string name);
32 .string name;
33
34 entity keyGrabber;
35 .void(entity me, float key, float ascii) keyGrabbed;
36
37 void SUB_Null();