]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - menu.h
sys: work around incomplete POSIX support in MacOS
[xonotic/darkplaces.git] / menu.h
diff --git a/menu.h b/menu.h
index 93abb62453fb9f4861298c0d4183faff1ab34c0c..2344f44434da5b0338e787db258f8b9d7a297ab7 100644 (file)
--- a/menu.h
+++ b/menu.h
@@ -22,8 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #define MENU_H
 
 #include "qtypes.h"
-
-typedef struct serverlist_entry_s serverlist_entry_t;
+struct serverlist_entry_s;
 
 enum m_state_e {
        m_none,
@@ -53,8 +52,7 @@ enum m_state_e {
 };
 
 extern enum m_state_e m_state;
-extern char m_return_reason[128];
-void M_Update_Return_Reason(const char *s);
+
 
 /*
 // hard-coded menus
@@ -73,6 +71,8 @@ void MP_Draw (void);
 void MP_ToggleMenu (int mode);
 void MP_Shutdown (void);*/
 
+qbool MP_ConsoleCommand(const char *text, size_t textlen);
+
 //
 // menu router
 //
@@ -85,7 +85,7 @@ extern void (*MR_Draw) (void);
 extern void (*MR_ToggleMenu) (int mode);
 extern void (*MR_Shutdown) (void);
 extern void (*MR_NewMap) (void);
-extern int (*MR_GetServerListEntryCategory) (const serverlist_entry_t *entry);
+extern int (*MR_GetServerListEntryCategory) (const struct serverlist_entry_s *entry);
 
 typedef struct video_resolution_s
 {