]> icculus.org git repositories - divverent/nexuiz.git/blob - data/qcsrc/menu-div0test/menu.qh
compile before committing :P
[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 vector eX = '1 0 0';
8 const vector eY = '0 1 0';
9 const vector eZ = '0 0 1';
10
11 const float GAME_ISSERVER       = 1;
12 const float GAME_CONNECTED      = 2;
13 const float GAME_DEVELOPER      = 4;
14
15 // prototypes
16
17 float Menu_Active;
18 float gamestatus;
19
20 const float S_SHIFT = 1;
21 const float S_CTRL = 2;
22 const float S_ALT = 4;
23
24 float frametime;
25
26 entity main;
27 void m_hide();
28 void m_display();
29 void m_goto(string name);
30 .string name;
31
32 entity keyGrabber;
33 .void(entity me, float key, float ascii) keyGrabbed;