From a65c40fe3285005bb464173f8667c21c27c365c8 Mon Sep 17 00:00:00 2001 From: Muzychenko Andrey <33288308+k4zmu2a@users.noreply.github.com> Date: Wed, 27 Oct 2021 09:22:53 +0300 Subject: [PATCH] Added incomplete Polish translation. Removed unused dialogs. Fixed char sprintf in control. Ref #28. --- SpaceCadetPinball/SpaceCadetPinball.rc | Bin 159712 -> 165488 bytes SpaceCadetPinball/control.cpp | 2 +- SpaceCadetPinball/options.cpp | 1 + SpaceCadetPinball/options.h | 1 + SpaceCadetPinball/resource.h | 2 +- 5 files changed, 4 insertions(+), 2 deletions(-) diff --git a/SpaceCadetPinball/SpaceCadetPinball.rc b/SpaceCadetPinball/SpaceCadetPinball.rc index 3104c071bad3cf903afccd9d825fce6b76c29847..11d1606855036d976ab28c2aaeef031f08cac8ae 100644 GIT binary patch delta 11901 zcmbtadvH|eb-!nkWRQed-qK|yRua-$h=-mafjsCapa#!s^~A&Cnr;N{XbGNt|<4Z6}qaLreWjR)>kUjm7tp&*^DvB6%n3f;F_-k)^xOy95X)>56qo1%ZRdS_NgUV%tDXyh;!L6Mb(^oz-r&T1{4`bgG59IKIwWXVt2W zaoI_A)&~B6t+m;Dw*N%jVv1j5byxwl@pQG@&qTVd024TXYnDn$$YonU>&dlt^3N&? zSPfQ})yxZ8_`8+=rjfdMegXVlyq%fnT1R+iuhnB6;tkE#Vy4&2LOkMcp_)d!dCh98 z*vhgNsKS#v({EO`T8&naDfIHUm+5pfjW$-O#cEO?oSb9Q$bG6}5)^CU9lh#OU!H_u z`4mW(%a_}&RkTlTnHWhqT^_%W#b|_j)9aXY6}2&8FaOtK)c*eI!}fN*vX@yk8qvYL zlSO>QYtN=+8OEIK>A6d|f@ zR7bt{N%G0btE^t?W|`9n1`4r5^p;G{wbrw9-~+Z3ZV57SAZKr8y>gA7aCFGLA;$zP zXcAEGs5CWkqCuUC{@ho##c{;6vpd^)=RVlc-og~%-Xq46&fR_dOMN;0d%ijrtBnmB z-~ef5;tTnMEBl#5huJ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$#@K$?8C~=6cNENa|kD=tnlaOn0 z6SQ<>j^%5TtOMs}s4>bEl2yoS-g$oDU+HQotrUWrf1dli*f&efjHBd1qcP|x*9Gyz zqe;`cJ!)jCel)BjOg%alxdA-SO?i3Zn^|gl8kvKl^r3AFaOR3MbygBVIdT>zCT2W2 z+dc5@+e(8Hvt)|d`swNem8V2xBqP+ zzZBNW({EMtUxXX^_3$;~!fvIOUo;x|ZR7j=uAV}TGKa5Q0wQ&J^A6MJyfvm>G#XS7?}**ZZ`|wP-BaWH-~Hz_Wr9F`nIA?E-d=OGl7E)&;vLHq z0qT`Jn8ACB;~$UBa~8K|Z^Xh6gvjmE|NjLdrz;(1R{>-^rXV8nywsMqGcVDd2s;vW zR(#iBm=}`^z~mkM?eX`FPY{<&Pn}MQ-+SViyCKNqYKdC^ar-|iE%2j-h5fejt*T{P z|J0@XZsHi*8s~f3Nvy308FC5JLvLq+aWU0BaZY0GNvy4PiwR=w)QHu~tEm5c_fdAn z-DY>w7}0eAUTVRF#Qjip0Nzp2^pabv?uf-rKiNo*dlJ~0?%UY-eX;YBS6V|nyIM2W z>WXmOj~mHKkdBImqvrCyu8>+?2@a`oEBWrieF6D2TbB&#LAO+n9$C|@G!raz7&!0yaeAG(1EXpi22%1LtsE0a`o)F zu6fnZFc8i-+j!_CR+TUM#Q}oo7dtj!Qluh8%(zpRwqdUv97D(#f04l5*qeQL=X~{Y z#in~TD_5dyxA%HTG0TVf@5ep!PMtru4tU8Djh{!E9nt#_yPK}o;cfrD4bEEQLw+Eq z(iiyh_}ruNJHg(XkrD6AuU_^&4oxvM(El)|ycc2v09|wl&(AWX=?BCkd2hkKu6qo= zy&cql!T#4WLbB?v7(%j#c3B9?*1jpgkL7B>uT zzg1UO<3+L6Z&hWtG#6S30IhER%PxcW;i(UB?djGLEMessageField - 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 //