Change skill alignment if FURY

git-svn-id: https://svn.eduke32.com/eduke32@8017 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-08-15 06:51:56 +00:00 committed by Christoph Oelckers
parent 4f5434dffe
commit 2895b36b72

View file

@ -235,6 +235,7 @@ static MenuMenuFormat_t MMF_FileSelectRight = { { 164<<16,
static MenuEntryFormat_t MEF_Null = { 0, 0, 0 };
static MenuEntryFormat_t MEF_MainMenu = { 4<<16, 0, 0 };
static MenuEntryFormat_t MEF_OptionsMenu = { 7<<16, 0, 0 };
static MenuEntryFormat_t MEF_LeftMenu = { 7<<16, 0, 120<<16 };
static MenuEntryFormat_t MEF_CenterMenu = { 7<<16, 0, 0 };
static MenuEntryFormat_t MEF_BigOptions_Apply = { 4<<16, 16<<16, -(260<<16) };
static MenuEntryFormat_t MEF_BigOptionsRt = { 4<<16, 0, -(260<<16) };
@ -1659,6 +1660,12 @@ void Menu_Init(void)
{
int32_t i, j, k;
if (FURY)
{
MMF_Top_Skill.pos.x = (320<<15);
ME_SKILL_TEMPLATE.format = &MEF_LeftMenu;
}
// prepare menu fonts
// check if tilenum is -1 in case it was set in EVENT_SETDEFAULTS
if ((unsigned)MF_Redfont.tilenum >= MAXTILES) MF_Redfont.tilenum = BIGALPHANUM;