X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=menu.h;h=d0b3189ebab49e3d43a462a9d4eb939594df8304;hb=32c804dfbca9495b8d4bd40d07f289f8c890d813;hp=aac8a4bc52dbdc48cb3e0904c69fbbbdc3b6f120;hpb=cfee52a1ec9db338098789cae89ae5cf1f7a6fbf;p=xonotic%2Fdarkplaces.git diff --git a/menu.h b/menu.h index aac8a4bc..d0b3189e 100644 --- a/menu.h +++ b/menu.h @@ -21,7 +21,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef MENU_H #define MENU_H -#define M_PROG_FILENAME "menu.dat" +#include "qtypes.h" +struct serverlist_entry_s; enum m_state_e { m_none, @@ -78,11 +79,12 @@ void MP_Shutdown (void);*/ void MR_Init_Commands (void); void MR_Init (void); void MR_Restart (void); -extern void (*MR_KeyEvent) (int key, int ascii, qboolean downevent); +extern void (*MR_KeyEvent) (int key, int ascii, qbool downevent); 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 struct serverlist_entry_s *entry); typedef struct video_resolution_s {