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:
@@ -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;
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user