mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Remove MessageDef
This was a dummy conditional which was necessary in the old menu system; this is no longer the case as of newmenus.
This commit is contained in:
parent
f630bbb1cf
commit
f46fbf0418
4 changed files with 0 additions and 29 deletions
|
|
@ -597,7 +597,6 @@ void M_PlayMenuJam(void);
|
|||
|
||||
void M_MenuTypingInput(INT32 key);
|
||||
|
||||
extern menu_t MessageDef;
|
||||
void M_StartMessage(const char *string, void *routine, menumessagetype_t itemtype);
|
||||
void M_StopMessage(INT32 choice);
|
||||
void M_DrawMenuMessage(void);
|
||||
|
|
|
|||
|
|
@ -505,9 +505,6 @@ void M_DrawMenuMessage(void)
|
|||
|
||||
void M_Drawer(void)
|
||||
{
|
||||
if (currentMenu == &MessageDef)
|
||||
menuactive = true;
|
||||
|
||||
if (menuwipe)
|
||||
F_WipeStartScreen();
|
||||
|
||||
|
|
|
|||
|
|
@ -546,9 +546,6 @@ void M_ClearMenus(boolean callexitmenufunc)
|
|||
COM_BufAddText(va("saveconfig \"%s\" -silent\n", configfile));
|
||||
#endif //Alam: But not on the Dreamcast's VMUs
|
||||
|
||||
if (currentMenu == &MessageDef) // Oh sod off!
|
||||
currentMenu = &MainDef; // Not like it matters
|
||||
|
||||
if (gamestate == GS_MENU) // Back to title screen
|
||||
D_StartTitle();
|
||||
|
||||
|
|
|
|||
|
|
@ -4,28 +4,6 @@
|
|||
#include "../../k_menu.h"
|
||||
#include "../../z_zone.h"
|
||||
|
||||
static menuitem_t MessageMenu[] =
|
||||
{
|
||||
// TO HACK
|
||||
{0, NULL, NULL, NULL, {NULL}, 0, 0}
|
||||
};
|
||||
|
||||
menu_t MessageDef =
|
||||
{
|
||||
1, // # of menu items
|
||||
NULL, // previous menu (TO HACK)
|
||||
0, // lastOn, flags (TO HACK)
|
||||
MessageMenu, // menuitem_t ->
|
||||
0, 0, // x, y (TO HACK)
|
||||
0, 0, // extra1, extra2
|
||||
0, 0, // transition tics
|
||||
NULL, // drawing routine ->
|
||||
NULL, // ticker routine
|
||||
NULL, // init routine
|
||||
NULL, // quit routine
|
||||
NULL // input routine
|
||||
};
|
||||
|
||||
// message prompt struct
|
||||
struct menumessage_s menumessage;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue