From faa3fe4fc4c473cf2dc0a52bc86438a296f283bf Mon Sep 17 00:00:00 2001 From: XProger Date: Thu, 21 Feb 2019 04:16:37 +0300 Subject: [PATCH] make wider UI --- src/inventory.h | 3 +++ src/lang.h | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/inventory.h b/src/inventory.h index 1a9db20..1737f25 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -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; diff --git a/src/lang.h b/src/lang.h index 0421a82..0b139aa 100644 --- a/src/lang.h +++ b/src/lang.h @@ -236,13 +236,13 @@ enum StringID { #define STR_LANGUAGES \ "English" \ - , "Fran|cais" \ + , "Fran|cais" \ , "Deutsch" \ , "Espa(~nol" \ , "Italiano" \ , "Polski" \ , "Portugu)es" \ - , "Russian" \ + , "Ðóññêè{è" \ , "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