- moved the sprite box on the player menu up a bit because this was badly overlapping with some long texts in most languages.

This commit is contained in:
Christoph Oelckers 2019-03-02 12:20:58 +01:00
parent 5ac5a0a856
commit 805cf6c098
2 changed files with 4 additions and 4 deletions

View file

@ -419,12 +419,12 @@ ListMenu "PlayerMenu"
IfGame(Doom, Heretic, Strife, Chex) IfGame(Doom, Heretic, Strife, Chex)
{ {
MouseWindow 0, 220 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) IfGame(Hexen)
{ {
MouseWindow 0, 220 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" ValueText "$PLYRMNU_TEAM", "Team"

View file

@ -586,9 +586,9 @@ class PlayerMenu : ListMenu
{ {
Super.Drawer(); Super.Drawer();
String str = Stringtable.Localize("$PLYRMNU_PRESSSPACE"); 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"); 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);
} }