mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-18 04:32:30 +00:00
extras menu: addons
This commit is contained in:
parent
2e79d84f4a
commit
75df86da2f
3 changed files with 10 additions and 2 deletions
|
|
@ -1110,7 +1110,7 @@ menuitem_t EXTRAS_Main[] =
|
|||
{
|
||||
|
||||
{IT_STRING | IT_CALL, "Addons", "Add files to customize your experience.",
|
||||
NULL, NULL, 0, 0},
|
||||
NULL, M_Addons, 0, 0},
|
||||
|
||||
{IT_STRING | IT_CALL, "Replay Hut", "Play the replays you've saved throughout your many races & battles!",
|
||||
NULL, NULL, 0, 0},
|
||||
|
|
|
|||
|
|
@ -2543,6 +2543,14 @@ void M_DrawAddons(void)
|
|||
|
||||
M_CacheAddonPatches();
|
||||
|
||||
// hack: If we're calling this from GS_MENU, that means we're in the extras menu!
|
||||
// so draw the apropriate background
|
||||
if (gamestate == GS_MENU)
|
||||
{
|
||||
patch_t *bg = W_CachePatchName("M_XTRABG", PU_CACHE);
|
||||
V_DrawFixedPatch(0, 0, FRACUNIT, 0, bg, NULL);
|
||||
}
|
||||
|
||||
// hack - need to refresh at end of frame to handle addfile...
|
||||
if (refreshdirmenu & M_AddonsRefresh())
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3839,7 +3839,7 @@ void M_Addons(INT32 choice)
|
|||
dir_on[menudepthleft] = 0;
|
||||
|
||||
MISC_AddonsDef.prevMenu = currentMenu;
|
||||
M_SetupNextMenu(&MISC_AddonsDef, false);
|
||||
M_SetupNextMenu(&MISC_AddonsDef, true); // No transitions.
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue