From 2895b36b72606f6dd8c42422e94e6673c761a71a Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 15 Aug 2019 06:51:56 +0000 Subject: [PATCH] Change skill alignment if FURY git-svn-id: https://svn.eduke32.com/eduke32@8017 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/menus.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/duke3d/src/menus.cpp b/source/duke3d/src/menus.cpp index 9af3201fe..9b03dffec 100644 --- a/source/duke3d/src/menus.cpp +++ b/source/duke3d/src/menus.cpp @@ -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;