mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Allow backgrounds for player select
This commit is contained in:
parent
f3be97a95a
commit
3c2d30072e
1 changed files with 10 additions and 5 deletions
15
src/m_menu.c
15
src/m_menu.c
|
@ -2342,8 +2342,13 @@ static boolean MIT_DrawScrollingBackground(UINT32 menutype, INT32 level, INT32 *
|
|||
}
|
||||
else if (menumeta[menutype].bgname[0] == CHAR_MAX && titlemapinaction) // hide the background
|
||||
return true;
|
||||
else if (!level && defaultname && defaultname[0] && !titlemapinaction) // hide the background by default in titlemap
|
||||
M_SkyScroll(titlescrollxspeed, titlescrollyspeed, defaultname);
|
||||
else if (!level)
|
||||
{
|
||||
if (defaultname && defaultname[0] && !titlemapinaction) // hide the background by default in titlemap
|
||||
M_SkyScroll(titlescrollxspeed, titlescrollyspeed, defaultname);
|
||||
else if (currentMenu == &SP_PlayerDef) // black bg
|
||||
V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, 31);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -7638,9 +7643,9 @@ static void M_DrawSetupChoosePlayerMenu(void)
|
|||
UINT8 prev, next;
|
||||
|
||||
// Black BG
|
||||
V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, 31);
|
||||
//M_DrawScrollingBackground("SRB2BACK");
|
||||
//M_DrawFadeScreen(0);
|
||||
//V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, 31);
|
||||
M_DrawScrollingBackground("SRB2BACK");
|
||||
M_DrawFadeScreen(0);
|
||||
|
||||
// Character select profile images!1
|
||||
M_DrawTextBox(0, my, 16, 20);
|
||||
|
|
Loading…
Reference in a new issue