3 #define NULL (null_entity)
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';
12 const float GAME_ISSERVER = 1;
13 const float GAME_CONNECTED = 2;
14 const float GAME_DEVELOPER = 4;
21 const float S_SHIFT = 1;
22 const float S_CTRL = 2;
23 const float S_ALT = 4;
31 void m_goto(string name);
32 void m_goto_skin_selector();
36 .void(entity me, float key, float ascii) keyGrabbed;
38 float conwidth, conheight; // "virtual" conwidth/height values for other stuff to assume for scaling
42 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.
43 void preMenuDraw(); // this is run before the menu is drawn. You may put some stuff there that has to be done every frame.
44 void postMenuDraw(); // this is run just after the menu is drawn (or not). Useful to draw something over everything else.