mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-25 18:20:18 +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:
|
case Languages::Japanese:
|
||||||
font = "MS UI Gothic";
|
font = "MS UI Gothic";
|
||||||
break;
|
break;
|
||||||
|
case Languages::Korean:
|
||||||
|
font = "Gulim";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
font = "Arial";
|
font = "Arial";
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,6 +85,10 @@ LanguageMenuEntry options::LanguageMenu[]
|
||||||
{L"Dansk", Languages::Danish},
|
{L"Dansk", Languages::Danish},
|
||||||
{L"Suomi", Languages::Finnish},
|
{L"Suomi", Languages::Finnish},
|
||||||
{L"עִברִית", Languages::Hebrew},
|
{L"עִברִית", Languages::Hebrew},
|
||||||
|
{L"اَلْعَرَبِيَّة", Languages::Arabic},
|
||||||
|
{L"Ελληνικά", Languages::Greek},
|
||||||
|
{L"Español", Languages::Spanish},
|
||||||
|
{L"한국어", Languages::Korean},
|
||||||
};
|
};
|
||||||
|
|
||||||
void options::ReadOptions()
|
void options::ReadOptions()
|
||||||
|
|
|
@ -19,6 +19,10 @@ enum class Languages
|
||||||
Danish = MAKELANGID(LANG_DANISH, SUBLANG_DANISH_DENMARK),
|
Danish = MAKELANGID(LANG_DANISH, SUBLANG_DANISH_DENMARK),
|
||||||
Finnish = MAKELANGID(LANG_FINNISH, SUBLANG_FINNISH_FINLAND),
|
Finnish = MAKELANGID(LANG_FINNISH, SUBLANG_FINNISH_FINLAND),
|
||||||
Hebrew = MAKELANGID(LANG_HEBREW, SUBLANG_HEBREW_ISRAEL),
|
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
|
struct LanguageMenuEntry
|
||||||
|
|
|
@ -242,7 +242,7 @@
|
||||||
#define DLG_HIGHSCORES_EditName5 605
|
#define DLG_HIGHSCORES_EditName5 605
|
||||||
#define Menu1_AlternativeRender 601
|
#define Menu1_AlternativeRender 601
|
||||||
#define Menu1_Language 700
|
#define Menu1_Language 700
|
||||||
#define Menu1_LanguageMax 715
|
#define Menu1_LanguageMax 719
|
||||||
|
|
||||||
// Next default values for new objects
|
// Next default values for new objects
|
||||||
//
|
//
|
||||||
|
|
|
@ -170,6 +170,7 @@ int winmain::WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLi
|
||||||
switch (options::Options.Language)
|
switch (options::Options.Language)
|
||||||
{
|
{
|
||||||
case Languages::Hebrew:
|
case Languages::Hebrew:
|
||||||
|
case Languages::Arabic:
|
||||||
dwExStyle = WS_EX_LAYOUTRTL;
|
dwExStyle = WS_EX_LAYOUTRTL;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue