mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-21 16:30:19 +01:00
Compare commits
4 commits
1428fb3770
...
a079117507
Author | SHA1 | Date | |
---|---|---|---|
|
a079117507 | ||
|
620ec011ec | ||
|
1af8bb67d7 | ||
|
089ccbf549 |
6 changed files with 13 additions and 1 deletions
Binary file not shown.
|
@ -458,6 +458,9 @@ void gdrv::grtext_draw_ttext_in_box(LPCWSTR text, int xOff, int yOff, int width,
|
|||
case Languages::Japanese:
|
||||
font = "MS UI Gothic";
|
||||
break;
|
||||
case Languages::Korean:
|
||||
font = "Gulim";
|
||||
break;
|
||||
default:
|
||||
font = "Arial";
|
||||
}
|
||||
|
|
|
@ -85,6 +85,10 @@ LanguageMenuEntry options::LanguageMenu[]
|
|||
{L"Dansk", Languages::Danish},
|
||||
{L"Suomi", Languages::Finnish},
|
||||
{L"עִברִית", Languages::Hebrew},
|
||||
{L"اَلْعَرَبِيَّة", Languages::Arabic},
|
||||
{L"Ελληνικά", Languages::Greek},
|
||||
{L"Español", Languages::Spanish},
|
||||
{L"한국어", Languages::Korean},
|
||||
};
|
||||
|
||||
void options::ReadOptions()
|
||||
|
|
|
@ -19,6 +19,10 @@ enum class Languages
|
|||
Danish = MAKELANGID(LANG_DANISH, SUBLANG_DANISH_DENMARK),
|
||||
Finnish = MAKELANGID(LANG_FINNISH, SUBLANG_FINNISH_FINLAND),
|
||||
Hebrew = MAKELANGID(LANG_HEBREW, SUBLANG_HEBREW_ISRAEL),
|
||||
Arabic = MAKELANGID(LANG_ARABIC, SUBLANG_ARABIC_SAUDI_ARABIA),
|
||||
Greek = MAKELANGID(LANG_GREEK, SUBLANG_GREEK_GREECE),
|
||||
Spanish = MAKELANGID(LANG_SPANISH, SUBLANG_SPANISH_MODERN),
|
||||
Korean = MAKELANGID(LANG_KOREAN, SUBLANG_KOREAN),
|
||||
};
|
||||
|
||||
struct LanguageMenuEntry
|
||||
|
|
|
@ -242,7 +242,7 @@
|
|||
#define DLG_HIGHSCORES_EditName5 605
|
||||
#define Menu1_AlternativeRender 601
|
||||
#define Menu1_Language 700
|
||||
#define Menu1_LanguageMax 715
|
||||
#define Menu1_LanguageMax 719
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
|
|
|
@ -170,6 +170,7 @@ int winmain::WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLi
|
|||
switch (options::Options.Language)
|
||||
{
|
||||
case Languages::Hebrew:
|
||||
case Languages::Arabic:
|
||||
dwExStyle = WS_EX_LAYOUTRTL;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue