6 #include "../common/util-pre.qh"
8 #include "../dpdefs/menudefs.qc"
9 #include "../dpdefs/keycodes.qc"
10 #include "sys-post.qh"
12 #include "../warpzonelib/mathlib.qh"
13 #include "../common/util.qh"
14 #include "../common/test.qh"
16 #include "../common/playerstats.qh"
17 #include "../common/teams.qh"
18 #include "../common/constants.qh"
19 #include "../common/mapinfo.qh"
20 #include "../common/campaign_common.qh"
21 #include "../common/weapons/weapons.qh"
22 #include "../common/counting.qh"
23 #include "../common/command/markup.qh"
24 #include "../common/command/rpn.qh"
25 #include "../common/command/generic.qh"
26 #include "../common/command/shared_defs.qh"
27 #include "../common/urllib.qh"
28 #include "../common/monsters/monsters.qh"
29 #include "command/menu_cmd.qh"
35 #define NULL (null_entity)
40 const float GAME_ISSERVER = 1;
41 const float GAME_CONNECTED = 2;
42 const float GAME_DEVELOPER = 4;
49 const float S_SHIFT = 1;
50 const float S_CTRL = 2;
51 const float S_ALT = 4;
60 void m_goto(string name);
64 .void(entity me, float key, float ascii) keyGrabbed;
66 float conwidth, conheight; // "virtual" conwidth/height values for other stuff to assume for scaling
68 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.
69 void preMenuDraw(); // this is run before the menu is drawn. You may put some stuff there that has to be done every frame.
70 void postMenuDraw(); // this is run just after the menu is drawn (or not). Useful to draw something over everything else.