X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=menu.h;h=38a034f6629b1d419dbc6b996bca5c025e184e31;hb=HEAD;hp=d0b3189ebab49e3d43a462a9d4eb939594df8304;hpb=19dc59c888b9bd06b45d619d5f4861c984730f2d;p=xonotic%2Fdarkplaces.git diff --git a/menu.h b/menu.h index d0b3189e..b9624942 100644 --- a/menu.h +++ b/menu.h @@ -52,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 @@ -72,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 // @@ -86,6 +87,9 @@ extern void (*MR_Shutdown) (void); extern void (*MR_NewMap) (void); extern int (*MR_GetServerListEntryCategory) (const struct serverlist_entry_s *entry); +// menu QC error handling +extern jmp_buf mp_abort; + typedef struct video_resolution_s { const char *type;