mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Menus/Time Attack: interpolate menu transition
This commit is contained in:
parent
67e76ae720
commit
a1c76b044e
1 changed files with 1 additions and 4 deletions
|
|
@ -3323,9 +3323,6 @@ static boolean M_LevelSelectHasBG(menu_t *check)
|
||||||
|
|
||||||
static boolean M_LevelSelectToTimeAttackTransitionHelper(void)
|
static boolean M_LevelSelectToTimeAttackTransitionHelper(void)
|
||||||
{
|
{
|
||||||
if (menutransition.tics == 0)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
return (M_LevelSelectHasBG(menutransition.startmenu))
|
return (M_LevelSelectHasBG(menutransition.startmenu))
|
||||||
!= M_LevelSelectHasBG(menutransition.endmenu);
|
!= M_LevelSelectHasBG(menutransition.endmenu);
|
||||||
}
|
}
|
||||||
|
|
@ -3358,7 +3355,7 @@ void M_DrawSealedBack(void)
|
||||||
void M_DrawTimeAttack(void)
|
void M_DrawTimeAttack(void)
|
||||||
{
|
{
|
||||||
UINT16 map = levellist.choosemap;
|
UINT16 map = levellist.choosemap;
|
||||||
INT16 t = (48*menutransition.tics);
|
INT16 t = M_EaseWithTransition(Easing_Linear, 5 * 48);
|
||||||
INT16 leftedge = 149+t+16;
|
INT16 leftedge = 149+t+16;
|
||||||
INT16 rightedge = 149+t+155;
|
INT16 rightedge = 149+t+155;
|
||||||
INT16 opty = 140;
|
INT16 opty = 140;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue