diff --git a/SpaceCadetPinball/SpaceCadetPinball.rc b/SpaceCadetPinball/SpaceCadetPinball.rc index 9ea0d99..8b43c83 100644 Binary files a/SpaceCadetPinball/SpaceCadetPinball.rc and b/SpaceCadetPinball/SpaceCadetPinball.rc differ diff --git a/SpaceCadetPinball/gdrv.cpp b/SpaceCadetPinball/gdrv.cpp index 2d5791f..55dec27 100644 --- a/SpaceCadetPinball/gdrv.cpp +++ b/SpaceCadetPinball/gdrv.cpp @@ -455,6 +455,9 @@ void gdrv::grtext_draw_ttext_in_box(LPCWSTR text, int xOff, int yOff, int width, case Languages::SimplifiedChinese: font = "Microsoft YaHei"; break; + case Languages::Japanese: + font = "MS UI Gothic"; + break; default: font = "Arial"; } diff --git a/SpaceCadetPinball/options.cpp b/SpaceCadetPinball/options.cpp index dd55f53..1092ebb 100644 --- a/SpaceCadetPinball/options.cpp +++ b/SpaceCadetPinball/options.cpp @@ -76,6 +76,7 @@ LanguageMenuEntry options::LanguageMenu[] {L"正體字", Languages::TraditionalChinese}, {L"Polski", Languages::Polish}, {L"Deutsch", Languages::German}, + {L"日本", Languages::Japanese}, }; void options::ReadOptions() diff --git a/SpaceCadetPinball/options.h b/SpaceCadetPinball/options.h index 45965cb..aa4a1da 100644 --- a/SpaceCadetPinball/options.h +++ b/SpaceCadetPinball/options.h @@ -10,6 +10,7 @@ enum class Languages SimplifiedChinese = MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED), Polish = MAKELANGID(LANG_POLISH, SUBLANG_POLISH_POLAND), German = MAKELANGID(LANG_GERMAN, SUBLANG_GERMAN), + Japanese = MAKELANGID(LANG_JAPANESE, SUBLANG_JAPANESE_JAPAN), }; struct LanguageMenuEntry diff --git a/SpaceCadetPinball/resource.h b/SpaceCadetPinball/resource.h index 5cbd7f3..2141272 100644 --- a/SpaceCadetPinball/resource.h +++ b/SpaceCadetPinball/resource.h @@ -242,7 +242,7 @@ #define DLG_HIGHSCORES_EditName5 605 #define Menu1_AlternativeRender 601 #define Menu1_Language 700 -#define Menu1_LanguageMax 706 +#define Menu1_LanguageMax 707 // Next default values for new objects //