9 #include "xonotic/util.qh"
11 #include "../common/constants.qh"
12 #include "../common/test.qh"
13 #include "../common/util.qh"
17 #define NULL (null_entity)
22 const int GAME_ISSERVER = 1;
23 const int GAME_CONNECTED = 2;
24 const int GAME_DEVELOPER = 4;
31 const int S_SHIFT = 1;
42 void m_goto(string name);
46 .void(entity me, float key, float ascii) keyGrabbed;
48 float conwidth, conheight; // "virtual" conwidth/height values for other stuff to assume for scaling
50 float preMenuInit(); // you have to define this for pre-menu initialization. Return 0 if initialization needs to be retried a frame later, 1 if it succeeded.
51 void preMenuDraw(); // this is run before the menu is drawn. You may put some stuff there that has to be done every frame.
52 void postMenuDraw(); // this is run just after the menu is drawn (or not). Useful to draw something over everything else.