]> icculus.org git repositories - divverent/nexuiz.git/blob - data/qcsrc/menu-div0test/menu.qh
mapinfo system should work now; user friendly additions come later
[divverent/nexuiz.git] / data / qcsrc / menu-div0test / menu.qh
1 #define localcmd cmd
2
3 #define NULL (null_entity)
4
5 #ifndef MAPINFO
6 #error Sorry, need to compile with -DMAPINFO enabled (server QC too, by the way)
7 #endif
8
9 // constants
10
11 const string string_null;
12 const vector eX = '1 0 0';
13 const vector eY = '0 1 0';
14 const vector eZ = '0 0 1';
15
16 const float GAME_ISSERVER       = 1;
17 const float GAME_CONNECTED      = 2;
18 const float GAME_DEVELOPER      = 4;
19
20 // prototypes
21
22 float Menu_Active;
23 float gamestatus;
24
25 const float S_SHIFT = 1;
26 const float S_CTRL = 2;
27 const float S_ALT = 4;
28
29 float frametime;
30 float time;
31
32 entity main;
33 void m_hide();
34 void m_display();
35 void m_goto(string name);
36 .string name;
37
38 entity keyGrabber;
39 .void(entity me, float key, float ascii) keyGrabbed;
40
41 void SUB_Null();