1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-17 18:36:43 +02:00

make wider UI

This commit is contained in:
XProger
2019-02-21 04:16:37 +03:00
parent 7fd4a938f5
commit faa3fe4fc4
2 changed files with 6 additions and 3 deletions

View File

@@ -1464,6 +1464,9 @@ struct Inventory {
float width = 320.0f;
float height = optionsCount * LINE_HEIGHT + 8;
if (item->type == TR::Entity::INV_CONTROLS || item->type == TR::Entity::INV_DETAIL)
width += 80;
float eye = UI::width * Core::eye * 0.02f;
float x = ( UI::width - width ) * 0.5f - eye;
float y = ( UI::height - height ) * 0.5f + LINE_HEIGHT;

View File

@@ -236,13 +236,13 @@ enum StringID {
#define STR_LANGUAGES \
"English" \
, "Fran|cais" \
, "Fran|cais" \
, "Deutsch" \
, "Espa(~nol" \
, "Italiano" \
, "Polski" \
, "Portugu)es" \
, "Russian" \
, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>{<7B>" \
, "Japanese" \
#define LANG_PREFIXES "_EN", "_FR", "_DE", "_ES", "_IT", "_PL", "_PT", "_RU", "_JA"
@@ -826,7 +826,7 @@ const char *STR_DE[] = { "" // by Oktopaps
, "Beleuchtung"
, "Schatten"
, "Wasser"
, "V-Sync"
, "VSync"
, "Stereo"
, "Simple Items"
// sound options