X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fmenu%2Fmenu.qh;h=4ff32361e9c7bf0a2dee8c941f5c2ee5542bb652;hp=641ddf7d19df20db49ad73d707a74197cf427ad5;hb=13a3ce5cdf01a322755b2f0e74d168cd5247d789;hpb=87d4a81433ca7dbd761782f9b4b235976c7cdae5 diff --git a/qcsrc/menu/menu.qh b/qcsrc/menu/menu.qh index 641ddf7d19..4ff32361e9 100644 --- a/qcsrc/menu/menu.qh +++ b/qcsrc/menu/menu.qh @@ -1,3 +1,17 @@ +#ifndef MENU_H +#define MENU_H + +#include "draw.qh" +#include "skin.qh" + +#include "oo/base.qh" + +#include "xonotic/util.qh" + +#include "../common/constants.qh" +#include "../common/test.qh" +#include "../common/util.qh" + #define localcmd cmd #define NULL (null_entity) @@ -33,10 +47,9 @@ entity keyGrabber; float conwidth, conheight; // "virtual" conwidth/height values for other stuff to assume for scaling -void SUB_Null(); - 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. void preMenuDraw(); // this is run before the menu is drawn. You may put some stuff there that has to be done every frame. void postMenuDraw(); // this is run just after the menu is drawn (or not). Useful to draw something over everything else. void m_sync(); +#endif \ No newline at end of file