- adjustments to the player menu so that the display isn't cut off on the smallest screen sizes.

This commit is contained in:
Christoph Oelckers 2019-04-18 00:16:09 +02:00
parent 2a329950f6
commit 35186e9fd7
2 changed files with 2115 additions and 2074 deletions

File diff suppressed because it is too large Load diff

View file

@ -408,7 +408,7 @@ class NewPlayerMenu : OptionMenu
int mRotation; int mRotation;
PlayerMenuPlayerDisplay mPlayerDisplay; PlayerMenuPlayerDisplay mPlayerDisplay;
const PLAYERDISPLAY_X = 220; const PLAYERDISPLAY_X = 170;
const PLAYERDISPLAY_Y = 60; const PLAYERDISPLAY_Y = 60;
const PLAYERDISPLAY_W = 144; const PLAYERDISPLAY_W = 144;
const PLAYERDISPLAY_H = 160; const PLAYERDISPLAY_H = 160;
@ -435,7 +435,7 @@ class NewPlayerMenu : OptionMenu
override int GetIndent() override int GetIndent()
{ {
return Super.GetIndent() - 45*CleanXfac_1; return Super.GetIndent() - 75*CleanXfac_1;
} }