diff --git a/SpaceCadetPinball/SpaceCadetPinball.rc b/SpaceCadetPinball/SpaceCadetPinball.rc index 3104c07..11d1606 100644 Binary files a/SpaceCadetPinball/SpaceCadetPinball.rc and b/SpaceCadetPinball/SpaceCadetPinball.rc differ diff --git a/SpaceCadetPinball/control.cpp b/SpaceCadetPinball/control.cpp index b9471d2..a23cb3d 100644 --- a/SpaceCadetPinball/control.cpp +++ b/SpaceCadetPinball/control.cpp @@ -3912,7 +3912,7 @@ void control::SelectMissionController(int code, TPinballComponent* caller) if (light_on(&control_lite56_tag)) { auto missionText = pinball:: - get_rc_string(MissionRcArray[control_lite56_tag.Component->MessageField - 2], 1); + get_rc_Wstring(MissionRcArray[control_lite56_tag.Component->MessageField - 2], 1); wsprintfW(Buffer, pinball::get_rc_Wstring(106, 0), missionText); control_mission_text_box_tag.Component->Display(Buffer, -1.0); if (light_on(&control_lite318_tag)) diff --git a/SpaceCadetPinball/options.cpp b/SpaceCadetPinball/options.cpp index 46bde34..39f718b 100644 --- a/SpaceCadetPinball/options.cpp +++ b/SpaceCadetPinball/options.cpp @@ -74,6 +74,7 @@ LanguageMenuEntry options::LanguageMenu[] {L"Русский", Languages::Russian}, {L"简化字", Languages::SimplifiedChinese}, {L"正體字", Languages::TraditionalChinese}, + {L"Polski", Languages::Polish}, }; void options::ReadOptions() diff --git a/SpaceCadetPinball/options.h b/SpaceCadetPinball/options.h index 5ff3305..03e2bc0 100644 --- a/SpaceCadetPinball/options.h +++ b/SpaceCadetPinball/options.h @@ -8,6 +8,7 @@ enum class Languages Russian = MAKELANGID(LANG_RUSSIAN, SUBLANG_DEFAULT), TraditionalChinese = MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL), SimplifiedChinese = MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED), + Polish = MAKELANGID(LANG_POLISH, SUBLANG_POLISH_POLAND), }; struct LanguageMenuEntry diff --git a/SpaceCadetPinball/resource.h b/SpaceCadetPinball/resource.h index 4a170bc..99480fb 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 704 +#define Menu1_LanguageMax 705 // Next default values for new objects //