X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=menu.h;h=38a034f6629b1d419dbc6b996bca5c025e184e31;hp=93abb62453fb9f4861298c0d4183faff1ab34c0c;hb=0303750a7b40951618dca290c172a7afa60e9aa8;hpb=e9ef9da90a206204b283dacd15c35bd3fd1fe5c9 diff --git a/menu.h b/menu.h index 93abb624..38a034f6 100644 --- 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, @@ -73,6 +72,8 @@ void MP_Draw (void); void MP_ToggleMenu (int mode); void MP_Shutdown (void);*/ +qbool MP_ConsoleCommand(const char *text); + // // menu router // @@ -85,7 +86,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 {