mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-21 16:30:19 +01:00
Compare commits
3 commits
502fc71afc
...
09c62f5909
Author | SHA1 | Date | |
---|---|---|---|
|
09c62f5909 | ||
|
cf215aaa6a | ||
|
893d898d0a |
5 changed files with 11 additions and 1 deletions
Binary file not shown.
|
@ -457,6 +457,12 @@ void gdrv::grtext_draw_ttext_in_box(LPCSTR text, int xOff, int yOff, int width,
|
|||
case Languages::Russian:
|
||||
charset = RUSSIAN_CHARSET;
|
||||
break;
|
||||
case Languages::TraditionalChinese:
|
||||
charset = CHINESEBIG5_CHARSET;
|
||||
break;
|
||||
case Languages::SimplifiedChinese:
|
||||
charset = GB2312_CHARSET;
|
||||
break;
|
||||
}
|
||||
|
||||
// Default font does not scale well
|
||||
|
|
|
@ -72,6 +72,8 @@ LanguageMenuEntry options::LanguageMenu[]
|
|||
{
|
||||
{L"English", Languages::English},
|
||||
{L"Русский", Languages::Russian},
|
||||
{L"简化字", Languages::SimplifiedChinese},
|
||||
{L"正體字", Languages::TraditionalChinese},
|
||||
};
|
||||
|
||||
void options::ReadOptions()
|
||||
|
|
|
@ -6,6 +6,8 @@ enum class Languages
|
|||
{
|
||||
English = MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),
|
||||
Russian = MAKELANGID(LANG_RUSSIAN, SUBLANG_DEFAULT),
|
||||
TraditionalChinese = MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL),
|
||||
SimplifiedChinese = MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED),
|
||||
};
|
||||
|
||||
struct LanguageMenuEntry
|
||||
|
|
|
@ -242,7 +242,7 @@
|
|||
#define DLG_HIGHSCORES_EditName5 605
|
||||
#define Menu1_AlternativeRender 601
|
||||
#define Menu1_Language 700
|
||||
#define Menu1_LanguageMax 702
|
||||
#define Menu1_LanguageMax 704
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue