-#define localcmd cmd
+#ifndef MENU_H
+#define MENU_H
-#define NULL (null_entity)
-#define world NULL
+#include "draw.qh"
+#include "skin.qh"
+
+#include "xonotic/util.qh"
+
+#include "../common/constants.qh"
+#include "../common/util.qh"
// constants
-const float GAME_ISSERVER = 1;
-const float GAME_CONNECTED = 2;
-const float GAME_DEVELOPER = 4;
+const int GAME_ISSERVER = 1;
+const int GAME_CONNECTED = 2;
+const int GAME_DEVELOPER = 4;
// prototypes
float Menu_Active;
-float gamestatus;
+int gamestatus;
-const float S_SHIFT = 1;
-const float S_CTRL = 2;
-const float S_ALT = 4;
+const int S_SHIFT = 1;
+const int S_CTRL = 2;
+const int S_ALT = 4;
float frametime;
float time;
void m_sync();
+void draw_reset_cropped();
+
// sounds
const string MENU_SOUND_CLEAR = "sound/menu/clear.wav";
void m_play_focus_sound();
void m_play_click_sound(string soundfile);
+#endif