mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-30 03:32:58 +00:00
Menus/Profiles: indent selected option
This commit is contained in:
parent
d4fad1926f
commit
075aa11a79
2 changed files with 11 additions and 3 deletions
|
|
@ -4676,6 +4676,7 @@ void M_DrawEditProfile(void)
|
|||
|
||||
UINT8 *colormap = NULL;
|
||||
INT32 tflag = (currentMenu->menuitems[i].status & IT_TRANSTEXT) ? V_TRANSLUCENT : 0;
|
||||
INT32 cx = x;
|
||||
|
||||
y = currentMenu->menuitems[i].mvar2;
|
||||
|
||||
|
|
@ -4686,13 +4687,14 @@ void M_DrawEditProfile(void)
|
|||
{
|
||||
colormap = R_GetTranslationColormap(TC_RAINBOW, SKINCOLOR_PLAGUE, GTC_CACHE);
|
||||
|
||||
V_DrawMenuString(x - 10 - (skullAnimCounter/5), y+1, highlightflags, "\x1C"); // left arrow
|
||||
cx += Easing_OutSine(M_DueFrac(optionsmenu.offset.start, 2), 0, 5);
|
||||
V_DrawMenuString(cx - 10 - (skullAnimCounter/5), y+1, highlightflags, "\x1C"); // left arrow
|
||||
}
|
||||
|
||||
// Text
|
||||
//V_DrawGamemodeString(x, y - 6, tflag, colormap, currentMenu->menuitems[i].text);
|
||||
//V_DrawGamemodeString(cx, y - 6, tflag, colormap, currentMenu->menuitems[i].text);
|
||||
V_DrawStringScaled(
|
||||
x * FRACUNIT,
|
||||
cx * FRACUNIT,
|
||||
(y - 3) * FRACUNIT,
|
||||
FRACUNIT,
|
||||
FRACUNIT,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
/// \file menus/options-profiles-edit-1.c
|
||||
/// \brief Profile Editor
|
||||
|
||||
#include "../i_time.h"
|
||||
#include "../k_menu.h"
|
||||
#include "../s_sound.h"
|
||||
#include "../m_cond.h"
|
||||
|
|
@ -157,6 +158,11 @@ boolean M_ProfileEditInputs(INT32 ch)
|
|||
return true; // No.
|
||||
}
|
||||
|
||||
if (menucmd[pid].dpad_ud != 0)
|
||||
{
|
||||
optionsmenu.offset.start = I_GetTime();
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue