From 805cf6c098ead0dab26b4e8fd7caddd619c50485 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 2 Mar 2019 12:20:58 +0100 Subject: [PATCH] - moved the sprite box on the player menu up a bit because this was badly overlapping with some long texts in most languages. --- wadsrc/static/menudef.txt | 4 ++-- wadsrc/static/zscript/ui/menu/playermenu.zs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wadsrc/static/menudef.txt b/wadsrc/static/menudef.txt index a4690fbef..738c59403 100644 --- a/wadsrc/static/menudef.txt +++ b/wadsrc/static/menudef.txt @@ -419,12 +419,12 @@ ListMenu "PlayerMenu" IfGame(Doom, Heretic, Strife, Chex) { MouseWindow 0, 220 - PlayerDisplay 220, 80, "20 00 00", "80 00 40", 1, "PlayerDisplay" + PlayerDisplay 220, 48, "20 00 00", "80 00 40", 1, "PlayerDisplay" } IfGame(Hexen) { MouseWindow 0, 220 - PlayerDisplay 220, 80, "00 07 00", "40 53 40", 1, "PlayerDisplay" + PlayerDisplay 220, 48, "00 07 00", "40 53 40", 1, "PlayerDisplay" } ValueText "$PLYRMNU_TEAM", "Team" diff --git a/wadsrc/static/zscript/ui/menu/playermenu.zs b/wadsrc/static/zscript/ui/menu/playermenu.zs index 09d05b0c2..38c70353b 100644 --- a/wadsrc/static/zscript/ui/menu/playermenu.zs +++ b/wadsrc/static/zscript/ui/menu/playermenu.zs @@ -586,9 +586,9 @@ class PlayerMenu : ListMenu { Super.Drawer(); String str = Stringtable.Localize("$PLYRMNU_PRESSSPACE"); - screen.DrawText (SmallFont, Font.CR_GOLD, 320 - 32 - 32 - SmallFont.StringWidth (str)/2, 50 + 48 + 70, str, DTA_Clean, true); + screen.DrawText (SmallFont, Font.CR_GOLD, 320 - 32 - 32 - SmallFont.StringWidth (str)/2, 130, str, DTA_Clean, true); str = Stringtable.Localize(mRotation ? "$PLYRMNU_SEEFRONT" : "$PLYRMNU_SEEBACK"); - screen.DrawText (SmallFont, Font.CR_GOLD, 320 - 32 - 32 - SmallFont.StringWidth (str)/2, 50 + 48 + 70 + SmallFont.GetHeight (), str, DTA_Clean, true); + screen.DrawText (SmallFont, Font.CR_GOLD, 320 - 32 - 32 - SmallFont.StringWidth (str)/2, 130 + SmallFont.GetHeight (), str, DTA_Clean, true); }