From 88f835d068d39844702a2fb2846b526b5b4fa5b9 Mon Sep 17 00:00:00 2001 From: Muzychenko Andrey <33288308+k4zmu2a@users.noreply.github.com> Date: Wed, 31 Aug 2022 11:11:21 +0300 Subject: [PATCH] Removed unused translated texts. Fixed translation.h include leak. Added TTextBox font color support. --- SpaceCadetPinball/TPinballTable.cpp | 2 + SpaceCadetPinball/TTextBox.cpp | 2 + SpaceCadetPinball/control.cpp | 1 + SpaceCadetPinball/control.h | 3 +- SpaceCadetPinball/font_selection.cpp | 1 + SpaceCadetPinball/high_score.cpp | 1 + SpaceCadetPinball/options.cpp | 1 + SpaceCadetPinball/options.h | 2 +- SpaceCadetPinball/pb.cpp | 13 +- SpaceCadetPinball/pb.h | 1 + SpaceCadetPinball/pinball.h | 3 +- SpaceCadetPinball/translations.cpp | 824 +-------------------------- SpaceCadetPinball/translations.h | 34 +- SpaceCadetPinball/winmain.cpp | 2 +- 14 files changed, 34 insertions(+), 856 deletions(-) diff --git a/SpaceCadetPinball/TPinballTable.cpp b/SpaceCadetPinball/TPinballTable.cpp index 68fb188..eaeac21 100644 --- a/SpaceCadetPinball/TPinballTable.cpp +++ b/SpaceCadetPinball/TPinballTable.cpp @@ -38,6 +38,7 @@ #include "TPlunger.h" #include "TFlipper.h" #include "TDrain.h" +#include "translations.h" int TPinballTable::score_multipliers[5] = {1, 2, 3, 5, 10}; @@ -214,6 +215,7 @@ TPinballTable::~TPinballTable() delete ComponentList[0]; } control::ClearLinks(); + pinball::InfoTextBox = pinball::MissTextBox = nullptr; } TPinballComponent* TPinballTable::find_component(LPCSTR componentName) diff --git a/SpaceCadetPinball/TTextBox.cpp b/SpaceCadetPinball/TTextBox.cpp index e3c371c..4aa94c2 100644 --- a/SpaceCadetPinball/TTextBox.cpp +++ b/SpaceCadetPinball/TTextBox.cpp @@ -177,7 +177,9 @@ void TTextBox::DrawImGui() ImGui::SetWindowFontScale(fullscrn::GetScreenToPinballRatio()); // ToDo: centered text in FT + ImGui::PushStyleColor(ImGuiCol_Text, pb::TextBoxColor); ImGui::TextWrapped("%s", Message1->Text); + ImGui::PopStyleColor(); } ImGui::End(); } diff --git a/SpaceCadetPinball/control.cpp b/SpaceCadetPinball/control.cpp index ea965c8..d44ffef 100644 --- a/SpaceCadetPinball/control.cpp +++ b/SpaceCadetPinball/control.cpp @@ -29,6 +29,7 @@ #include "TPlunger.h" #include "TWall.h" #include "TTextBox.h" +#include "translations.h" int control_bump_scores1[] = {500, 1000, 1500, 2000}; int control_roll_scores1[] = {2000}; diff --git a/SpaceCadetPinball/control.h b/SpaceCadetPinball/control.h index 447bf3f..1befa2d 100644 --- a/SpaceCadetPinball/control.h +++ b/SpaceCadetPinball/control.h @@ -1,11 +1,10 @@ #pragma once -#include "translations.h" - class TLight; class TSound; class TPinballTable; class TPinballComponent; +enum class Msg : int; struct component_tag_base { diff --git a/SpaceCadetPinball/font_selection.cpp b/SpaceCadetPinball/font_selection.cpp index 0c25846..c0eb092 100644 --- a/SpaceCadetPinball/font_selection.cpp +++ b/SpaceCadetPinball/font_selection.cpp @@ -5,6 +5,7 @@ #include "pinball.h" #include "score.h" #include "winmain.h" +#include "translations.h" static const char* popupName = "Font Selection"; bool font_selection::ShowDialogFlag = false; diff --git a/SpaceCadetPinball/high_score.cpp b/SpaceCadetPinball/high_score.cpp index 4a000dd..5398e1b 100644 --- a/SpaceCadetPinball/high_score.cpp +++ b/SpaceCadetPinball/high_score.cpp @@ -4,6 +4,7 @@ #include "options.h" #include "pinball.h" #include "score.h" +#include "translations.h" bool high_score::dlg_enter_name; bool high_score::ShowDialog = false; diff --git a/SpaceCadetPinball/options.cpp b/SpaceCadetPinball/options.cpp index ac64f09..a239953 100644 --- a/SpaceCadetPinball/options.cpp +++ b/SpaceCadetPinball/options.cpp @@ -7,6 +7,7 @@ #include "render.h" #include "Sound.h" #include "winmain.h" +#include "translations.h" constexpr int options::MaxUps, options::MaxFps, options::MinUps, options::MinFps, options::DefUps, options::DefFps; constexpr int options::MaxSoundChannels, options::MinSoundChannels, options::DefSoundChannels; diff --git a/SpaceCadetPinball/options.h b/SpaceCadetPinball/options.h index accbb5d..07235d4 100644 --- a/SpaceCadetPinball/options.h +++ b/SpaceCadetPinball/options.h @@ -1,6 +1,6 @@ #pragma once -#include "translations.h" +enum class Msg : int; enum class Menu1:int { diff --git a/SpaceCadetPinball/pb.cpp b/SpaceCadetPinball/pb.cpp index 8820a84..7c5ab7c 100644 --- a/SpaceCadetPinball/pb.cpp +++ b/SpaceCadetPinball/pb.cpp @@ -27,6 +27,7 @@ #include "TFlipper.h" #include "TPinballTable.h" #include "TTextBox.h" +#include "translations.h" TPinballTable* pb::MainTable = nullptr; DatFile* pb::record_table = nullptr; @@ -35,6 +36,7 @@ GameModes pb::game_mode = GameModes::GameOver; float pb::time_now = 0, pb::time_next = 0, pb::ball_speed_limit, pb::time_ticks_remainder = 0; bool pb::FullTiltMode = false, pb::FullTiltDemoMode = false, pb::cheat_mode = false, pb::demo_mode = false; std::string pb::DatFileName; +ImU32 pb::TextBoxColor; int pb::init() @@ -47,7 +49,7 @@ int pb::init() record_table = partman::load_records(dataFilePath.c_str(), FullTiltMode); auto useBmpFont = 0; - pinball::get_rc_int(Msg::STRING258, &useBmpFont); + pinball::get_rc_int(Msg::TextBoxUseBitmapFont, &useBmpFont); if (useBmpFont) score::load_msg_font("pbmsg_ft"); @@ -100,6 +102,13 @@ int pb::init() high_score::read(); ball_speed_limit = MainTable->BallList.at(0)->Offset * 200.0f; + + int red = 255, green = 255, blue = 255; + auto fontColor = pinball::get_rc_string(Msg::TextBoxColor); + if (fontColor) + sscanf(fontColor, "%d %d %d", &red, &green, &blue); + TextBoxColor = IM_COL32(red, green, blue, 255); + return 0; } @@ -124,7 +133,7 @@ void pb::SelectDatFile(const std::vector& dataSearchPaths) std::string datFileNames[3] { "CADET.DAT", - options::get_string("Pinball Data", pinball::get_rc_string(Msg::STRING268)), + "PINBALL.DAT", "DEMO.DAT", }; diff --git a/SpaceCadetPinball/pb.h b/SpaceCadetPinball/pb.h index 18984db..2a189e5 100644 --- a/SpaceCadetPinball/pb.h +++ b/SpaceCadetPinball/pb.h @@ -47,6 +47,7 @@ public: static TPinballTable* MainTable; static bool FullTiltMode, FullTiltDemoMode; static std::string DatFileName; + static ImU32 TextBoxColor; static int init(); static int uninit(); diff --git a/SpaceCadetPinball/pinball.h b/SpaceCadetPinball/pinball.h index d6d25f4..5d88fa2 100644 --- a/SpaceCadetPinball/pinball.h +++ b/SpaceCadetPinball/pinball.h @@ -1,8 +1,7 @@ #pragma once -#include "translations.h" - class TTextBox; +enum class Msg : int; class pinball { diff --git a/SpaceCadetPinball/translations.cpp b/SpaceCadetPinball/translations.cpp index 8447f21..ee655c3 100644 --- a/SpaceCadetPinball/translations.cpp +++ b/SpaceCadetPinball/translations.cpp @@ -66,11 +66,13 @@ const char* translations::GetTranslation(Msg id) // Current language assumed in bounds at this point auto text = Translations.Get(id, CurrentLanguage); - // Fallback to english if available - if (text == nullptr) + // Fallback to English if available + if (text == nullptr) + { text = Translations.Get(id, Lang::English); - if (text == nullptr) - text = "!Missing English text!"; + if (text == nullptr) + text = "!Missing English text!"; + } return text; } @@ -1138,64 +1140,6 @@ const TextArray translations::Translations = { Lang::TraditionalChinese, "TILT!" }, }, }, - { - Msg::STRING137, - { - { Lang::Arabic, "‏‏يتطلب هذا البرنامج وحدة معالجة مركزية (CPU) 80386 أو أحدث." }, - { Lang::Czech, "Tento program vyžaduje procesor 80386 nebo novější." }, - { Lang::Danish, "Dette program kræver en 80386-processor eller kraftigere." }, - { Lang::German, "Dieses Programm erfordert einen Computer mit 80386-Prozessor oder höher." }, - { Lang::Greek, "Αυτό το πρόγραμμα απαιτεί επεξεργαστή 80386 ή νεότερο." }, - { Lang::English, "This program requires an 80386 or later CPU." }, - { Lang::Spanish, "Para este programa se requiere una CPU 80386 o superior." }, - { Lang::Finnish, "Tämä ohjelma tarvitsee vähintään 80386-suorittimen." }, - { Lang::French, "Ce programme nécessite un microprocesseur 80386 ou ultérieur." }, - { Lang::Hebrew, "‏‏לתוכנית זו דרוש מעבד מסוג 80386 או מעבד מתקדם יותר." }, - { Lang::Hungarian, "A program 80386, vagy annál újabb mikroprocesszort igényel." }, - { Lang::Italian, "Il programma richiede una CPU 80386 o superiore." }, - { Lang::Japanese, "このプログラムには i386 以上の CPU が必要です。" }, - { Lang::Korean, "이 프로그램을 실행하려면 80386 이상의 CPU가 필요합니다." }, - { Lang::Norwegian, "Dette programmet krever en 80386-prosessor eller høyere." }, - { Lang::Dutch, "Voor dit programma is een CPU van het type 80386 of beter noodzakelijk." }, - { Lang::Polish, "Ten program wymaga procesora 80386 lub nowszego." }, - { Lang::BrazilianPortuguese, "Este programa requer uma CPU 80386 ou posterior." }, - { Lang::Portuguese, "Este jogo necessita de um processador 80386 ou mais recente." }, - { Lang::Russian, "Эта программа требует наличия по крайней мере 80386 процессора." }, - { Lang::Swedish, "Programmet kräver en 80386-processor eller högre." }, - { Lang::Turkish, "Bu program 80386 ya da yüksek bir CPU gerektirir." }, - { Lang::SimplifiedChinese, "该程序需要 80386 或更新的 CPU。" }, - { Lang::TraditionalChinese, "本程式需要 80386 或更快的 CPU。" }, - }, - }, - { - Msg::STRING138, - { - { Lang::Arabic, "مطلوب 80386" }, - { Lang::Czech, "Vyžadován procesor 80386" }, - { Lang::Danish, "80386 kræves" }, - { Lang::German, "80386-Prozessor erforderlich" }, - { Lang::Greek, "Απαιτείται 80386" }, - { Lang::English, "80386 Required" }, - { Lang::Spanish, "Se requiere un 80386" }, - { Lang::Finnish, "80386-suoritin tarvitaan" }, - { Lang::French, "80386 nécessaire" }, - { Lang::Hebrew, "‏‏דרוש 80386" }, - { Lang::Hungarian, "80386 processzorra van szükség." }, - { Lang::Italian, "Richiede 80386" }, - { Lang::Japanese, "i386 の CPU が必要です" }, - { Lang::Korean, "80386 이상" }, - { Lang::Norwegian, "80386 kreves" }, - { Lang::Dutch, "80386 noodzakelijk" }, - { Lang::Polish, "Wymagany procesor 80386" }, - { Lang::BrazilianPortuguese, "80386 necessário" }, - { Lang::Portuguese, "É necessário um processador 80386" }, - { Lang::Russian, "Требуется 80386 процессор" }, - { Lang::Swedish, "80386 krävs" }, - { Lang::Turkish, "80386 Gerekli" }, - { Lang::SimplifiedChinese, "需要 80386 CPU" }, - { Lang::TraditionalChinese, "需要 80386" }, - }, - }, { Msg::STRING139, { @@ -1225,35 +1169,6 @@ const TextArray translations::Translations = { Lang::TraditionalChinese, "Windows 立體彈珠台 - 太空軍校生" }, }, }, - { - Msg::STRING140, - { - { Lang::Arabic, "‏‏تم تعيين عنصر أو أكثر من عناصر تحكم اللاعب إلى نفس المفتاح،\n للوصول إلى أفضل أداء استخدم مفتاح فريد لكل عنصر تحكم." }, - { Lang::Czech, "Některé klávese je přiřazeno více ovládacích funkcí. Pro\nlepší ovládání použijte pro každou ovládací funkci jinou klávesu." }, - { Lang::Danish, "Et eller flere styreredskaber for spiller er indstillet til den samme tast.\nFor at få den bedste ydeevne skal du bruge en entydig tast til hvert styreredskab." }, - { Lang::German, "Mindestens zwei Bedienelementen wurden dieselbe Taste zugewiesen.\nBessere Ergebnisse erzielen Sie, wenn Sie dem Elementen eindeutige Tasten zuweisen." }, - { Lang::Greek, "Ένα ή περισσότερα από τα στοιχεία ελέγχου του παίκτη έχουν οριστεί στο ίδιο πλήκτρο.\nΓια καλύτερες επιδόσεις χρησιμοποιήστε μοναδικά πλήκτρα για κάθε στοιχείο ελέγχου." }, - { Lang::English, "One or more of the player controls is set to the same key,\nfor best performance use unique keys for each control." }, - { Lang::Spanish, "Hay dos o más controles de jugador asignados a la misma tecla;\npara un funcionamiento correcto, use una tecla diferente para cada control." }, - { Lang::Finnish, "Ainakin kaksi pelaajan ohjainta on määritetty käyttämään samaa näppäintä.\nMääritä ainutkertaiset näppäimet." }, - { Lang::French, "Une ou plusieurs commandes sont affectées à la même touche ;\npour de meilleures performances, n'affectez qu'une seule commande à chaque touche." }, - { Lang::Hebrew, "‏‏מוגדרת יותר מאפשרות בקרת משחק אחת לאותו מקש.\nלקבלת ביצועים מיטביים, השתמש במקשים ייחודיים עבור כל אפשרות בקרה." }, - { Lang::Hungarian, "Két vagy több mozgatóbillentyű azonos. \nVálasszon egyedi billentyűket." }, - { Lang::Italian, "Uno o più controlli giocatore sono impostati sullo stesso tasto.\nSi consiglia di usare un tasto per ogni controllo." }, - { Lang::Japanese, "複数のコントロール設定に同一のキーが設定されています。\nコントロールごとに別のキーを設定してください。" }, - { Lang::Korean, "하나 이상의 게임 진행키에 같은 키가 설정되었습니다.\n최고의 성능을 위해 각 진행키에 다른 키를 사용하십시오." }, - { Lang::Norwegian, "En eller flere spillkontroller er tilordnet samme tast.\nYtelsen blir størst når alle kontrollene er tilordnet hver sin tast." }, - { Lang::Dutch, "Eén of meer spelfuncties zijn ingesteld op dezelfde toets; gebruik unieke toetsen voor de verschillende elementen voor optimale prestaties." }, - { Lang::Polish, "Jedna lub kilka opcji sterujących używa tego samego klawisza.\nNajlepiej jest używać różnych klawiszy dla różnych opcji." }, - { Lang::BrazilianPortuguese, "Um ou mais controles do jogador estão definidos para a mesma tecla.\nPara um melhor desempenho, use teclas exclusivas para cada um dos controles." }, - { Lang::Portuguese, "Um ou mais controlos do jogo estão configurados para a mesma tecla.\npara obter um melhor desempenho use teclas únicas para cada controlo." }, - { Lang::Russian, "Несколько различных элементов управления используют одну и ту же клавишу. \nНазначьте различные клавиши для разных элементов управления." }, - { Lang::Swedish, "En eller flera av spelkontrollerna har samma tangent.\nAnvänd unika tangenter för varje kontroll för bästa prestanda." }, - { Lang::Turkish, "Bir ya da birden çok oyuncu denetimi aynı tuşa atanmış;\nen iyi performansı elde etmek için her denetime farklı tuş atayın." }, - { Lang::SimplifiedChinese, "玩家的一个或多个控制被设成同一个键,\n为获得最佳性能,请对每个控制使用不同的键。" }, - { Lang::TraditionalChinese, "一個或多個玩家的控制設定為相同按鍵。\n若要有最佳效能,每個控制都要使用唯一的按鍵。" }, - }, - }, { Msg::STRING141, { @@ -1312,35 +1227,6 @@ const TextArray translations::Translations = { Lang::TraditionalChinese, "確認" }, }, }, - { - Msg::STRING143, - { - { Lang::Arabic, "‏‏WAVEMIX.INF مفقود - يجب أن يكون في دليل pinball!" }, - { Lang::Czech, "Soubor WAVEMIX.INF nebyl nalezen. Soubor musí být ve složce programu Pinball." }, - { Lang::Danish, "Wavemix.inf mangler. Den skal findes i pinball-mappen!" }, - { Lang::German, "Die Datei WAVEMIX.INF fehlt im Verzeichnis PINBALL." }, - { Lang::Greek, "Το αρχείο WAVEMIX.INF λείπει - πρέπει να βρίσκεται στον κατάλογο pinball." }, - { Lang::English, "WAVEMIX.INF is missing - it must be in the pinball directory!" }, - { Lang::Spanish, "Falta WAVEMIX.INF: debe estar en el directorio de Pinball." }, - { Lang::Finnish, "Wavemix.inf-tiedosto puuttuu - Sen on oltava Pinball-hakemistossa." }, - { Lang::French, "WAVEMIX.INF est manquant - Ce fichier devrait être dans le répertoire de Pinball !" }, - { Lang::Hebrew, "‏‏הקובץ WAVEMIX.INF חסר - על קובץ זה להימצא בספריית Pinball!" }, - { Lang::Hungarian, "Nem található a WAVEMIX.INF fájl! A flipper könyvtárában kell lennie!" }, - { Lang::Italian, "WAVEMIX.INF mancante. Copiare questo file nella directory Pinball!" }, - { Lang::Japanese, "WAVEMIX.INF ファイルが見つかりません。このファイルはピンボールのディレクトリになければなりません。" }, - { Lang::Korean, "WAVEMIX.INF가 없습니다. 이 파일은 pinball 디렉터리에 있어야 합니다." }, - { Lang::Norwegian, "Wavemix.inf mangler. Den må være i samme katalogen som Pinball." }, - { Lang::Dutch, "Wavemix.inf ontbreekt. Dit bestand moet in de map Pinball aanwezig zijn." }, - { Lang::Polish, "Brak pliku WAVEMIX.INF - ten plik musi znajdować się w katalogu gry Pinball!" }, - { Lang::BrazilianPortuguese, "WAVEMIX.INF está faltando - precisa estar na pasta Pinball!" }, - { Lang::Portuguese, "Falta o WAVEMIX.INF - este ficheiro tem de estar no directório do Pinball!" }, - { Lang::Russian, "Файл WAVEMIX.INF отсутствует - он должен быть расположен в той же папке, что и сама игра!" }, - { Lang::Swedish, "Filen WAVEMIX.INF saknas - den måste finnas i mappen Pinball." }, - { Lang::Turkish, "WAVEMIX.INF eksik; bu dosyanın pinball dizininde bulunması gerekir!" }, - { Lang::SimplifiedChinese, "找不到 WAVEMIX.INF - 必须在弹球游戏目录中!" }, - { Lang::TraditionalChinese, "遺失 WAVEMIX.INF - 它必須放在彈珠台目錄下!" }, - }, - }, { Msg::STRING144, { @@ -3023,64 +2909,6 @@ const TextArray translations::Translations = { Lang::TraditionalChinese, "玩家 4 再射一次" }, }, }, - { - Msg::STRING202, - { - { Lang::Arabic, "‏‏تم إنشاء ‎3D Pinball Table لصالح Microsoft من قبل Maxis.\nلمزيد من المعلومات اتصل بـ ‎(800)-336-2947\n(بالنسبة لعملاء الولايات المتحدة وكندا فقط)\nحقوق النشر (c) 1995 Maxis." }, - { Lang::Czech, "Hra 3D Pinball Table byla vytvořena pro Microsoft firmou Maxis.\nDalší informace na čísle (800)-336-2947\n(platí pro USA a Kanadu).\nCopyright (c) 1995 Maxis." }, - { Lang::Danish, "Dette 3D Pinball-bord er skabt til Microsoft af Maxis.\nYderligere oplysninger får du ved at ringe på telefonnummer (800)-336-2947\n(kun for brugere i USA og Canada).\nCopyright (c) 1995 Maxis." }, - { Lang::German, "3D-Pinball-Tisch wurde für Microsoft von Maxis entwickelt.\nCopyright (C) 1995 Maxis." }, - { Lang::Greek, "Το παιχνίδι 3D Pinball Table δημιουργήθηκε για τη Microsoft από τη Maxis.\nΓια περισσότερες πληροφορίες, τηλεφωνήστε στο (800)-336-2947\n(για πελάτες στις ΗΠΑ και στον Καναδά μόνο).\nΠνευματικά δικαιώματα (c) 1995 Maxis." }, - { Lang::English, "This 3D Pinball Table was created for Microsoft by Maxis.\nFor more information call (800)-336-2947\n(US and Canadian customers only).\nCopyright (c) 1995 Maxis." }, - { Lang::Spanish, "Esta mesa de 3D Pinball fue creada para Microsoft por Maxis.\nPara más información póngase en contacto con la\nsubsidiaria de Microsoft más cercana.\nCopyright (c) 1995 Maxis." }, - { Lang::Finnish, "Tämän 3D Pinball -pöydän on tehnyt Microsoftille Maxis.\nCopyright (c) 1995 Maxis." }, - { Lang::French, "Ce flipper Pinball 3D a été créé pour Microsoft par Maxis.\nPour obtenir plus d'informations, appelez le service Consommateurs\nd’Electronic Arts au 04 72 53 25 00 (France) ou de Maxis\nau (800)-336-2947 (États-Unis et Canada seulement).\nCopyright (c) 1995 Maxis." }, - { Lang::Hebrew, "‏‏שולחן Pinball תלת-מימדי זה נוצר עבור Microsoft על-ידי Maxis‏.\nלקבלת מידע נוסף, התקשר לטלפון ‎(800)-336-2947‏\n (לקוחות בארצות הברית וקנדה בלבד).\nCopyright (c) 1995 Maxis." }, - { Lang::Hungarian, "Ezt a 3D-flipper pályát a Maxis készítette a Microsoft számára.\nTovábbi információkért hívja a (800)-336-2947 telefonszámot\n(az Egyesült államokban és Kanadában).\nCopyright (c) 1995 Maxis." }, - { Lang::Italian, "3D Pinball è stato creato per Microsoft dalla Maxis.\nPer ulteriori informazioni contattare i seguenti numeri telefonici: (800)-336-2947 o (512)-343-190\n(Stati Uniti e Canada soltanto).\nCopyright (c) 1995 Maxis." }, - { Lang::Japanese, "この 3D ピンボール テーブルは、米国 Maxis 社が Microsoft 社のために作成しました。Copyright(C) 1995 Maxis." }, - { Lang::Korean, "3D Pinball Table은 Microsoft를 위해 Maxis가 개발했습니다.\n자세한 정보가 필요하면 (800)-336-2947로 문의하십시오.\n(미국 및 캐나다)\nCopyright (c) 1995-1996 Maxis." }, - { Lang::Norwegian, "Dette 3D Pinball-bordet ble laget for Microsoft av Maxis.\nDu får mer informasjon ved å ringe (800)-336-2947\n(bare kunder i USA og Canada.\nCopyright (c) 1995 Maxis." }, - { Lang::Dutch, "3D Pinball is ontwikkeld voor Microsoft door Maxis.\nCopyright (c) 1995 Maxis." }, - { Lang::Polish, "Ta gra 3D Pinball Table została opracowana dla firmy Microsoft przez firmę Maxis.\nWięcej informacji pod numerem tel. (800)-336-2947\n(tylko klienci z USA i Kanady).\nCopyright (c) 1995 Maxis." }, - { Lang::BrazilianPortuguese, "Esta máquina de Pinball 3D foi criada para a Microsoft pela Maxis.\nPara obter mais informações, ligue para (800)-336-2947\n(somente clientes nos EUA e Canadá).\nCopyright (C) 1996 Maxis." }, - { Lang::Portuguese, "Este jogo de Pinball 3D foi criado por Maxis para a Microsoft.\nPara obter mais informação pode ligar para (800)-336-2947\n(Apenas para clientes dos E.U.A. e Canadá).\nCopyright (c) 1995 Maxis." }, - { Lang::Russian, "Эта программа разработана MAXIS по заказу Microsoft.\n© 1995 Maxis." }, - { Lang::Swedish, "Denna spelplan har utvecklats för Microsoft av Maxis.\nCopyright (c) 1995 Maxis." }, - { Lang::Turkish, "This 3D Pinball Table was created for Microsoft by Maxis.\nFor more information call (800)-336-2947\n(US and Canadian customers only).\nCopyright (c) 1995 Maxis." }, - { Lang::SimplifiedChinese, "该“三维弹球”是由 Maxis 为 Microsoft 创建的。\n详细信息,请拨电话 (800)-336-2947\n(只适用于美国和加拿大的客户)。\n版权所有 (C) 1995 Maxis。" }, - { Lang::TraditionalChinese, "這個立體彈珠台桌是 Maxis 為 Microsoft 建立的。\n若需進一步的資訊,請電 (800)-336-2947\n(僅適用於美國和加拿大地區的客戶)。\nCopyright (c) 1995 Maxis." }, - }, - }, - { - Msg::STRING203, - { - { Lang::Arabic, "‏‏تم إنشاء ‎3D Pinball Table لصالح Microsoft من قبل Maxis. حقوق النشر(c) ‏1995 ‎ Maxis." }, - { Lang::Czech, "Hra 3D Pinball Table byla vytvořena pro společnost Microsoft firmou Maxis. Copyright (c) 1995 Maxis." }, - { Lang::Danish, "3D Pinball-bord fremstillet til Microsoft af Maxis. Copyright (c) 1995 Maxis." }, - { Lang::German, "3D-Pinball-Tisch wurde für Microsoft von Maxis entwickelt. Copyright (C) 1995 Maxis." }, - { Lang::Greek, "Το παιχνίδι 3D Pinball Table δημιουργήθηκε για τη Microsoft από τη Maxis. Πνευματικά δικαιώματα (c) 1995 Maxis." }, - { Lang::English, "3D Pinball Table created for Microsoft by Maxis. Copyright (c) 1995 Maxis." }, - { Lang::Spanish, "3D Pinball Table creado para Microsoft por Maxis. Copyright (c) 1995 Maxis." }, - { Lang::Finnish, "3D Pinball -pöydän on tehnyt Microsoftille Maxis. Copyright (c) 1995 Maxis." }, - { Lang::French, "Pinball 3D a été créé pour Microsoft par Maxis. Copyright (c) 1995 Maxis." }, - { Lang::Hebrew, "‏‎3D Pinball Table נוצר עבור Microsoft על-ידי Maxis‏. Copyright (c) 1995 Maxis." }, - { Lang::Hungarian, "Ezt a 3D-flipper pályát a Maxis készítette a Microsoft számára. Copyright (c) 1995 Maxis." }, - { Lang::Italian, "3D Pinball è stato creato per Microsoft dalla Maxis. Copyright (c) 1995 Maxis." }, - { Lang::Japanese, "米国 Maxis 社が Microsoft 社のために作成した 3D ピンボール テーブル。Copyright(C) 1995 Maxis." }, - { Lang::Korean, "3D Pinball Table은 Microsoft를 위해 Maxis가 개발했습니다. Copyright (c) 1995-1996 Maxis." }, - { Lang::Norwegian, "3D Pinball-bord laget for Microsoft av Maxis. Copyright (c) 1995 Maxis." }, - { Lang::Dutch, "3D Pinball is ontwikkeld voor Microsoft door Maxis. Copyright (c) 1995 Maxis." }, - { Lang::Polish, "Gra 3D Pinball Table opracowana dla Microsoft przez firmę Maxis. Copyright (c) 1995 Maxis." }, - { Lang::BrazilianPortuguese, "Esta máquina de Pinball 3D foi criada para a Microsoft pela Maxis. Copyright (C) 1995 Maxis." }, - { Lang::Portuguese, "Este jogo de Pinball 3D foi criado por Maxis para a Microsoft. Copyright (c) 1995 Maxis." }, - { Lang::Russian, "Эта программа разработана MAXIS по заказу Microsoft. © 1995 Maxis." }, - { Lang::Swedish, "Denna 3D Pinball-spelplan har utvecklats för Microsoft av Maxis. Copyright (c) 1995 Maxis." }, - { Lang::Turkish, "3D Pinball Table created for Microsoft by Maxis. Copyright (c) 1995 Maxis." }, - { Lang::SimplifiedChinese, "该“三维弹球”是由 Maxis 为 Microsoft 创建的。版权所有(C) 1995 Maxis。" }, - { Lang::TraditionalChinese, "立體彈珠台桌是 Maxis 為 Microsoft 建立的。Copyright (c) 1995 Maxis." }, - }, - }, { Msg::STRING204, { @@ -4619,36 +4447,7 @@ const TextArray translations::Translations = }, }, { - Msg::STRING257, - { - { Lang::Arabic, "pinball.mid" }, - { Lang::Czech, "pinball.mid" }, - { Lang::Danish, "pinball.mid" }, - { Lang::German, "pinball.mid" }, - { Lang::Greek, "pinball.mid" }, - { Lang::English, "pinball.mid" }, - { Lang::Spanish, "pinball.mid" }, - { Lang::Finnish, "pinball.mid" }, - { Lang::French, "pinball.mid" }, - { Lang::Hebrew, "pinball.mid" }, - { Lang::Hungarian, "pinball.mid" }, - { Lang::Italian, "pinball.mid" }, - { Lang::Japanese, "pinball.mid" }, - { Lang::Korean, "pinball.mid" }, - { Lang::Norwegian, "pinball.mid" }, - { Lang::Dutch, "pinball.mid" }, - { Lang::Polish, "pinball.mid" }, - { Lang::BrazilianPortuguese, "pinball.mid" }, - { Lang::Portuguese, "pinball.mid" }, - { Lang::Russian, "pinball.mid" }, - { Lang::Swedish, "pinball.mid" }, - { Lang::Turkish, "pinball.mid" }, - { Lang::SimplifiedChinese, "pinball.mid" }, - { Lang::TraditionalChinese, "pinball.mid" }, - }, - }, - { - Msg::STRING258, + Msg::TextBoxUseBitmapFont, { { Lang::Arabic, "1 UseBitmapFont" }, { Lang::Czech, "0 UseBitmapFont" }, @@ -4676,325 +4475,6 @@ const TextArray translations::Translations = { Lang::TraditionalChinese, "0 UseBitmapFont" }, }, }, - { - Msg::STRING259, - { - { Lang::Arabic, "90 Left Flipper Key" }, - { Lang::Czech, "83 Left Flipper Key" }, - { Lang::Danish, "90 Venstre flippertast" }, - { Lang::German, "89 Left Flipper Key" }, - { Lang::Greek, "88 Left Flipper Key" }, - { Lang::English, "90 Left Flipper Key" }, - { Lang::Spanish, "90 Tecla de impulsor izquierdo" }, - { Lang::Finnish, "90 Left Flipper Key" }, - { Lang::French, "65 tilt gauche du flipper" }, - { Lang::Hebrew, "90 Left Flipper Key" }, - { Lang::Hungarian, "83 Left Flipper Key" }, - { Lang::Italian, "88 Flipper sinistro" }, - { Lang::Japanese, "90 左フリッパー キー" }, - { Lang::Korean, "90 왼쪽 공격막대 키" }, - { Lang::Norwegian, "90 Venstre flippertast" }, - { Lang::Dutch, "90 Linkerflipper" }, - { Lang::Polish, "90 Left Flipper Key" }, - { Lang::BrazilianPortuguese, "90 tecla da palheta esquerda" }, - { Lang::Portuguese, "90 Left Flipper Key" }, - { Lang::Russian, "90 Left Flipper Key" }, - { Lang::Swedish, "90 Left Flipper Key" }, - { Lang::Turkish, "90 Left Flipper Key" }, - { Lang::SimplifiedChinese, "90 左挡板键" }, - { Lang::TraditionalChinese, "90 向左翻轉按鍵" }, - }, - }, - { - Msg::STRING260, - { - { Lang::Arabic, "191 Right Flipper Key" }, - { Lang::Czech, "75 Right Flipper Key" }, - { Lang::Danish, "191 Højre flippertast" }, - { Lang::German, "77 Right Flipper Key" }, - { Lang::Greek, "78 Right Flipper Key" }, - { Lang::English, "191 Right Flipper Key" }, - { Lang::Spanish, "77 Tecla de impulsor derecho" }, - { Lang::Finnish, "191 Right Flipper Key" }, - { Lang::French, "80 tilt droit du flipper" }, - { Lang::Hebrew, "191 Right Flipper Key" }, - { Lang::Hungarian, "75 Right Flipper Key" }, - { Lang::Italian, "78 Flipper destro" }, - { Lang::Japanese, "191 右フリッパー キー" }, - { Lang::Korean, "191 오른쪽 공격막대 키" }, - { Lang::Norwegian, "45 Høyre flippertast" }, - { Lang::Dutch, "191 Rechterflipper" }, - { Lang::Polish, "191 Right Flipper Key" }, - { Lang::BrazilianPortuguese, "191 tecla da palheta direita" }, - { Lang::Portuguese, "77 Right Flipper Key" }, - { Lang::Russian, "191 Right Flipper Key" }, - { Lang::Swedish, "191 Right Flipper Key" }, - { Lang::Turkish, "46 Right Flipper Key" }, - { Lang::SimplifiedChinese, "191 右挡板键" }, - { Lang::TraditionalChinese, "191 向右翻轉按鍵" }, - }, - }, - { - Msg::STRING261, - { - { Lang::Arabic, "32 Plunger Key" }, - { Lang::Czech, "32 Plunger Key" }, - { Lang::Danish, "32 Stempeltast" }, - { Lang::German, "32 Plunger Key" }, - { Lang::Greek, "32 Plunger Key" }, - { Lang::English, "32 Plunger Key" }, - { Lang::Spanish, "32 Tecla del pistón" }, - { Lang::Finnish, "32 Plunger Key" }, - { Lang::French, "32 Plunger Key" }, - { Lang::Hebrew, "32 Plunger Key" }, - { Lang::Hungarian, "32 Plunger Key" }, - { Lang::Italian, "32 Gioca pallina" }, - { Lang::Japanese, "32 プランジャー キー" }, - { Lang::Korean, "32 구슬 쏘기 키" }, - { Lang::Norwegian, "32 Utskytingstast" }, - { Lang::Dutch, "32 Lanceertoets" }, - { Lang::Polish, "32 Plunger Key" }, - { Lang::BrazilianPortuguese, "32 tecla do lançador" }, - { Lang::Portuguese, "32 Plunger Key" }, - { Lang::Russian, "32 Plunger Key" }, - { Lang::Swedish, "32 Plunger Key" }, - { Lang::Turkish, "32 Plunger Key" }, - { Lang::SimplifiedChinese, "32 撞针键" }, - { Lang::TraditionalChinese, "32 柱塞按鍵" }, - }, - }, - { - Msg::STRING262, - { - { Lang::Arabic, "88 Bump Left Key" }, - { Lang::Czech, "65 Bump Left Key" }, - { Lang::Danish, "88 Venstre bumptast" }, - { Lang::German, "88 Bump Left Key" }, - { Lang::Greek, "90 Bump Left Key" }, - { Lang::English, "88 Bump Left Key" }, - { Lang::Spanish, "88 Tecla de golpe izquierdo" }, - { Lang::Finnish, "88 Bump Left Key" }, - { Lang::French, "88 Bump Left Key" }, - { Lang::Hebrew, "88 Bump Left Key" }, - { Lang::Hungarian, "65 Bump Left Key" }, - { Lang::Italian, "90 Spinta da sinistra" }, - { Lang::Japanese, "88 左バンプ キー" }, - { Lang::Korean, "88 왼쪽 흔들기 키" }, - { Lang::Norwegian, "88 Venstre dunketast" }, - { Lang::Dutch, "88 Toets voor duw naar rechts" }, - { Lang::Polish, "88 Bump Left Key" }, - { Lang::BrazilianPortuguese, "88 tecla do tapa à esquerda" }, - { Lang::Portuguese, "88 Bump Left Key" }, - { Lang::Russian, "88 Bump Left Key" }, - { Lang::Swedish, "88 Bump Left Key" }, - { Lang::Turkish, "88 Bump Left Key" }, - { Lang::SimplifiedChinese, "88 凸块左键" }, - { Lang::TraditionalChinese, "88 擊球桿左鍵" }, - }, - }, - { - Msg::STRING263, - { - { Lang::Arabic, "190 Bump Right Key" }, - { Lang::Czech, "76 Bump Right Key" }, - { Lang::Danish, "190 Højre bumptast" }, - { Lang::German, "78 Bump Right Key" }, - { Lang::Greek, "77 Bump Right Key" }, - { Lang::English, "190 Bump Right Key" }, - { Lang::Spanish, "78 Tecla de golpe derecho" }, - { Lang::Finnish, "190 Bump Right Key" }, - { Lang::French, "79 secousse droite" }, - { Lang::Hebrew, "190 Bump Right Key" }, - { Lang::Hungarian, "76 Bump Right Key" }, - { Lang::Italian, "77 Spinta da destra" }, - { Lang::Japanese, "190 右バンプ キー" }, - { Lang::Korean, "190 오른쪽 흔들기 키" }, - { Lang::Norwegian, "46 Høyre dunketast" }, - { Lang::Dutch, "190 Toets voor duw naar links" }, - { Lang::Polish, "190 Bump Right Key" }, - { Lang::BrazilianPortuguese, "190 tecla do tapa à direita" }, - { Lang::Portuguese, "78 Bump Right Key" }, - { Lang::Russian, "190 Bump Right Key" }, - { Lang::Swedish, "190 Bump Right Key" }, - { Lang::Turkish, "190 Bump Right Key" }, - { Lang::SimplifiedChinese, "190 凸块右键" }, - { Lang::TraditionalChinese, "190 擊球桿右鍵" }, - }, - }, - { - Msg::STRING264, - { - { Lang::Arabic, "38 Bump Bottom Key" }, - { Lang::Czech, "38 Bump Bottom Key" }, - { Lang::Danish, "38 Nederste bumptast" }, - { Lang::German, "38 Bump Bottom Key" }, - { Lang::Greek, "66 Bump Bottom Key" }, - { Lang::English, "38 Bump Bottom Key" }, - { Lang::Spanish, "38 Tecla de golpe de frente" }, - { Lang::Finnish, "38 Bump Bottom Key" }, - { Lang::French, "38 Bump Bottom Key" }, - { Lang::Hebrew, "38 Bump Bottom Key" }, - { Lang::Hungarian, "38 Bump Bottom Key" }, - { Lang::Italian, "66 Spinta dal basso" }, - { Lang::Japanese, "38 バンプ ボトム キー" }, - { Lang::Korean, "38 아래쪽 흔들기 키" }, - { Lang::Norwegian, "38 Dunk nede-tast" }, - { Lang::Dutch, "38 Toets voor duw van onderen" }, - { Lang::Polish, "38 Bump Bottom Key" }, - { Lang::BrazilianPortuguese, "38 tecla do tapa frontal" }, - { Lang::Portuguese, "86 Bump Bottom Key" }, - { Lang::Russian, "38 Bump Bottom Key" }, - { Lang::Swedish, "38 Bump Bottom Key" }, - { Lang::Turkish, "38 Bump Bottom Key" }, - { Lang::SimplifiedChinese, "38 凸块底键" }, - { Lang::TraditionalChinese, "38 擊球桿底鍵" }, - }, - }, - { - Msg::STRING265, - { - { Lang::Arabic, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::Czech, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::Danish, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::German, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::Greek, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::English, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::Spanish, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::Finnish, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::French, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::Hebrew, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::Hungarian, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::Italian, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::Japanese, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::Korean, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::Norwegian, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::Dutch, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::Polish, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::BrazilianPortuguese, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::Portuguese, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::Russian, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::Swedish, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::Turkish, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::SimplifiedChinese, "Software\\Microsoft\\Plus!\\Pinball" }, - { Lang::TraditionalChinese, "Software\\Microsoft\\Plus!\\Pinball" }, - }, - }, - { - Msg::STRING266, - { - { Lang::Arabic, "SpaceCadet" }, - { Lang::Czech, "SpaceCadet" }, - { Lang::Danish, "SpaceCadet" }, - { Lang::German, "SpaceCadet" }, - { Lang::Greek, "SpaceCadet" }, - { Lang::English, "SpaceCadet" }, - { Lang::Spanish, "SpaceCadet" }, - { Lang::Finnish, "SpaceCadet" }, - { Lang::French, "SpaceCadet" }, - { Lang::Hebrew, "SpaceCadet" }, - { Lang::Hungarian, "SpaceCadet" }, - { Lang::Italian, "SpaceCadet" }, - { Lang::Japanese, "SpaceCadet" }, - { Lang::Korean, "SpaceCadet" }, - { Lang::Norwegian, "SpaceCadet" }, - { Lang::Dutch, "SpaceCadet" }, - { Lang::Polish, "SpaceCadet" }, - { Lang::BrazilianPortuguese, "SpaceCadet" }, - { Lang::Portuguese, "SpaceCadet" }, - { Lang::Russian, "SpaceCadet" }, - { Lang::Swedish, "SpaceCadet" }, - { Lang::Turkish, "SpaceCadet" }, - { Lang::SimplifiedChinese, "SpaceCadet" }, - { Lang::TraditionalChinese, "SpaceCadet" }, - }, - }, - { - Msg::STRING267, - { - { Lang::Arabic, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::Czech, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::Danish, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::German, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::Greek, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::English, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::Spanish, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::Finnish, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::French, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::Hebrew, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::Hungarian, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::Italian, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::Japanese, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::Korean, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::Norwegian, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::Dutch, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::Polish, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::BrazilianPortuguese, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::Portuguese, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::Russian, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::Swedish, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::Turkish, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::SimplifiedChinese, "1c7c22a0-9576-11ce-bf80-444553540000" }, - { Lang::TraditionalChinese, "1c7c22a0-9576-11ce-bf80-444553540000" }, - }, - }, - { - Msg::STRING268, - { - { Lang::Arabic, "PINBALL.DAT" }, - { Lang::Czech, "PINBALL.DAT" }, - { Lang::Danish, "PINBALL.DAT" }, - { Lang::German, "PINBALL.DAT" }, - { Lang::Greek, "PINBALL.DAT" }, - { Lang::English, "PINBALL.DAT" }, - { Lang::Spanish, "PINBALL.DAT" }, - { Lang::Finnish, "PINBALL.DAT" }, - { Lang::French, "PINBALL.DAT" }, - { Lang::Hebrew, "PINBALL.DAT" }, - { Lang::Hungarian, "PINBALL.DAT" }, - { Lang::Italian, "PINBALL.DAT" }, - { Lang::Japanese, "PINBALL.DAT" }, - { Lang::Korean, "PINBALL.DAT" }, - { Lang::Norwegian, "PINBALL.DAT" }, - { Lang::Dutch, "PINBALL.DAT" }, - { Lang::Polish, "PINBALL.DAT" }, - { Lang::BrazilianPortuguese, "PINBALL.DAT" }, - { Lang::Portuguese, "PINBALL.DAT" }, - { Lang::Russian, "PINBALL.DAT" }, - { Lang::Swedish, "PINBALL.DAT" }, - { Lang::Turkish, "PINBALL.DAT" }, - { Lang::SimplifiedChinese, "PINBALL.DAT" }, - { Lang::TraditionalChinese, "PINBALL.DAT" }, - }, - }, - { - Msg::STRING269, - { - { Lang::Arabic, "Space Cadet" }, - { Lang::Czech, "Space Cadet" }, - { Lang::Danish, "Space Cadet" }, - { Lang::German, "Space Cadet" }, - { Lang::Greek, "Space Cadet" }, - { Lang::English, "Space Cadet" }, - { Lang::Spanish, "Space Cadet" }, - { Lang::Finnish, "Space Cadet" }, - { Lang::French, "Cadet de l'espace" }, - { Lang::Hebrew, "Space Cadet" }, - { Lang::Hungarian, "Space Cadet" }, - { Lang::Italian, "Space Cadet" }, - { Lang::Japanese, "Space Cadet" }, - { Lang::Korean, "우주 비행 훈련" }, - { Lang::Norwegian, "Romkadett" }, - { Lang::Dutch, "Space Cadet" }, - { Lang::Polish, "Space Cadet" }, - { Lang::BrazilianPortuguese, "Space Cadet" }, - { Lang::Portuguese, "Cadete espacial" }, - { Lang::Russian, "Звездный юнга" }, - { Lang::Swedish, "Space Cadet" }, - { Lang::Turkish, "Space Cadet" }, - { Lang::SimplifiedChinese, "太空军校生" }, - { Lang::TraditionalChinese, "太空軍校生" }, - }, - }, { Msg::STRING270, { @@ -5227,35 +4707,6 @@ const TextArray translations::Translations = { Lang::TraditionalChinese, "高分" }, }, }, - { - Msg::STRING278, - { - { Lang::Arabic, "pinball.chm" }, - { Lang::Czech, "pinball.chm" }, - { Lang::Danish, "pinball.chm" }, - { Lang::German, "pinball.chm" }, - { Lang::Greek, "pinball.chm" }, - { Lang::English, "pinball.chm" }, - { Lang::Spanish, "pinball.chm" }, - { Lang::Finnish, "pinball.chm" }, - { Lang::French, "pinball.chm" }, - { Lang::Hebrew, "pinball.chm" }, - { Lang::Hungarian, "pinball.chm" }, - { Lang::Italian, "pinball.chm" }, - { Lang::Japanese, "pinball.chm" }, - { Lang::Korean, "pinball.chm" }, - { Lang::Norwegian, "pinball.chm" }, - { Lang::Dutch, "pinball.chm" }, - { Lang::Polish, "pinball.chm" }, - { Lang::BrazilianPortuguese, "pinball.chm" }, - { Lang::Portuguese, "pinball.chm" }, - { Lang::Russian, "pinball.chm" }, - { Lang::Swedish, "pinball.chm" }, - { Lang::Turkish, "pinball.chm" }, - { Lang::SimplifiedChinese, "pinball.chm" }, - { Lang::TraditionalChinese, "pinball.chm" }, - }, - }, { Msg::STRING279, { @@ -5547,7 +4998,7 @@ const TextArray translations::Translations = }, }, { - Msg::STRING289, + Msg::TextBoxColor, { { Lang::Arabic, "255 255 255 (R G B لون الخط الافتراضي)" }, { Lang::Czech, "128 128 255 (R G B default font color)" }, @@ -5778,151 +5229,6 @@ const TextArray translations::Translations = { Lang::TraditionalChinese, "排名" }, }, }, - { - Msg::HIGHSCORES_Rank1, - { - { Lang::Arabic, "1" }, - { Lang::Czech, "1" }, - { Lang::Danish, "1" }, - { Lang::German, "1" }, - { Lang::Greek, "1" }, - { Lang::English, "1" }, - { Lang::Spanish, "1" }, - { Lang::Finnish, "1." }, - { Lang::French, "1" }, - { Lang::Hebrew, "1" }, - { Lang::Hungarian, "1" }, - { Lang::Italian, "1" }, - { Lang::Japanese, "1" }, - { Lang::Korean, "1" }, - { Lang::Norwegian, "1" }, - { Lang::Dutch, "1" }, - { Lang::Polish, "1" }, - { Lang::BrazilianPortuguese, "1" }, - { Lang::Portuguese, "1" }, - { Lang::Russian, "1" }, - { Lang::Swedish, "1" }, - { Lang::Turkish, "1" }, - { Lang::SimplifiedChinese, "1" }, - { Lang::TraditionalChinese, "1" }, - }, - }, - { - Msg::HIGHSCORES_Rank2, - { - { Lang::Arabic, "2" }, - { Lang::Czech, "2" }, - { Lang::Danish, "2" }, - { Lang::German, "2" }, - { Lang::Greek, "2" }, - { Lang::English, "2" }, - { Lang::Spanish, "2" }, - { Lang::Finnish, "2." }, - { Lang::French, "2" }, - { Lang::Hebrew, "2" }, - { Lang::Hungarian, "2" }, - { Lang::Italian, "2" }, - { Lang::Japanese, "2" }, - { Lang::Korean, "2" }, - { Lang::Norwegian, "2" }, - { Lang::Dutch, "2" }, - { Lang::Polish, "2" }, - { Lang::BrazilianPortuguese, "2" }, - { Lang::Portuguese, "2" }, - { Lang::Russian, "2" }, - { Lang::Swedish, "2" }, - { Lang::Turkish, "2" }, - { Lang::SimplifiedChinese, "2" }, - { Lang::TraditionalChinese, "2" }, - }, - }, - { - Msg::HIGHSCORES_Rank3, - { - { Lang::Arabic, "3" }, - { Lang::Czech, "3" }, - { Lang::Danish, "3" }, - { Lang::German, "3" }, - { Lang::Greek, "3" }, - { Lang::English, "3" }, - { Lang::Spanish, "3" }, - { Lang::Finnish, "3." }, - { Lang::French, "3" }, - { Lang::Hebrew, "3" }, - { Lang::Hungarian, "3" }, - { Lang::Italian, "3" }, - { Lang::Japanese, "3" }, - { Lang::Korean, "3" }, - { Lang::Norwegian, "3" }, - { Lang::Dutch, "3" }, - { Lang::Polish, "3" }, - { Lang::BrazilianPortuguese, "3" }, - { Lang::Portuguese, "3" }, - { Lang::Russian, "3" }, - { Lang::Swedish, "3" }, - { Lang::Turkish, "3" }, - { Lang::SimplifiedChinese, "3" }, - { Lang::TraditionalChinese, "3" }, - }, - }, - { - Msg::HIGHSCORES_Rank4, - { - { Lang::Arabic, "4" }, - { Lang::Czech, "4" }, - { Lang::Danish, "4" }, - { Lang::German, "4" }, - { Lang::Greek, "4" }, - { Lang::English, "4" }, - { Lang::Spanish, "4" }, - { Lang::Finnish, "4." }, - { Lang::French, "4" }, - { Lang::Hebrew, "4" }, - { Lang::Hungarian, "4" }, - { Lang::Italian, "4" }, - { Lang::Japanese, "4" }, - { Lang::Korean, "4" }, - { Lang::Norwegian, "4" }, - { Lang::Dutch, "4" }, - { Lang::Polish, "4" }, - { Lang::BrazilianPortuguese, "4" }, - { Lang::Portuguese, "4" }, - { Lang::Russian, "4" }, - { Lang::Swedish, "4" }, - { Lang::Turkish, "4" }, - { Lang::SimplifiedChinese, "4" }, - { Lang::TraditionalChinese, "4" }, - }, - }, - { - Msg::HIGHSCORES_Rank5, - { - { Lang::Arabic, "5" }, - { Lang::Czech, "5" }, - { Lang::Danish, "5" }, - { Lang::German, "5" }, - { Lang::Greek, "5" }, - { Lang::English, "5" }, - { Lang::Spanish, "5" }, - { Lang::Finnish, "5." }, - { Lang::French, "5" }, - { Lang::Hebrew, "5" }, - { Lang::Hungarian, "5" }, - { Lang::Italian, "5" }, - { Lang::Japanese, "5" }, - { Lang::Korean, "5" }, - { Lang::Norwegian, "5" }, - { Lang::Dutch, "5" }, - { Lang::Polish, "5" }, - { Lang::BrazilianPortuguese, "5" }, - { Lang::Portuguese, "5" }, - { Lang::Russian, "5" }, - { Lang::Swedish, "5" }, - { Lang::Turkish, "5" }, - { Lang::SimplifiedChinese, "5" }, - { Lang::TraditionalChinese, "5" }, - }, - }, { Msg::KEYMAPPER_Caption, { @@ -6822,102 +6128,6 @@ const TextArray translations::Translations = { Lang::TraditionalChinese, "4 個玩家" }, }, }, - { - Msg::Menu1_MaximumResolution, - { - { Lang::English, "Use Maximum Resolution" }, - { Lang::Russian, "Использовать Максимальное Разрешение" }, - { Lang::SimplifiedChinese, "使用最大分辨率" }, - { Lang::TraditionalChinese, "使用最大解析度" }, - }, - }, - { - Msg::Menu1_640x480, - { - { Lang::Arabic, "640 x 480" }, - { Lang::Czech, "640 x 480" }, - { Lang::Danish, "640 x 480" }, - { Lang::German, "640 x 480" }, - { Lang::Greek, "640 x 480" }, - { Lang::English, "640 x 480" }, - { Lang::Spanish, "640 x 480" }, - { Lang::Finnish, "640 x 480" }, - { Lang::French, "640 x 480" }, - { Lang::Hebrew, "640 x 480" }, - { Lang::Hungarian, "640 x 480" }, - { Lang::Italian, "640 x 480" }, - { Lang::Japanese, "640 x 480" }, - { Lang::Korean, "640 x 480" }, - { Lang::Norwegian, "640 x 480" }, - { Lang::Dutch, "640 x 480" }, - { Lang::Polish, "640 x 480" }, - { Lang::BrazilianPortuguese, "640 x 480" }, - { Lang::Portuguese, "640 x 480" }, - { Lang::Russian, "640 x 480" }, - { Lang::Swedish, "640 x 480" }, - { Lang::Turkish, "640 x 480" }, - { Lang::SimplifiedChinese, "640 x 480" }, - { Lang::TraditionalChinese, "640 x 480" }, - }, - }, - { - Msg::Menu1_800x600, - { - { Lang::Arabic, "800 x 600" }, - { Lang::Czech, "800 x 600" }, - { Lang::Danish, "800 x 600" }, - { Lang::German, "800 x 600" }, - { Lang::Greek, "800 x 600" }, - { Lang::English, "800 x 600" }, - { Lang::Spanish, "800 x 600" }, - { Lang::Finnish, "800 x 600" }, - { Lang::French, "800 x 600" }, - { Lang::Hebrew, "800 x 600" }, - { Lang::Hungarian, "800 x 600" }, - { Lang::Italian, "800 x 600" }, - { Lang::Japanese, "800 x 600" }, - { Lang::Korean, "800 x 600" }, - { Lang::Norwegian, "800 x 600" }, - { Lang::Dutch, "800 x 600" }, - { Lang::Polish, "800 x 600" }, - { Lang::BrazilianPortuguese, "800 x 600" }, - { Lang::Portuguese, "800 x 600" }, - { Lang::Russian, "800 x 600" }, - { Lang::Swedish, "800 x 600" }, - { Lang::Turkish, "800 x 600" }, - { Lang::SimplifiedChinese, "800 x 600" }, - { Lang::TraditionalChinese, "800 x 600" }, - }, - }, - { - Msg::Menu1_1024x768, - { - { Lang::Arabic, "1024 x 768" }, - { Lang::Czech, "1024 x 768" }, - { Lang::Danish, "1024 x 768" }, - { Lang::German, "1024 x 768" }, - { Lang::Greek, "1024 x 768" }, - { Lang::English, "1024 x 768" }, - { Lang::Spanish, "1024 x 768" }, - { Lang::Finnish, "1024 x 768" }, - { Lang::French, "1024 x 768" }, - { Lang::Hebrew, "1024 x 768" }, - { Lang::Hungarian, "1024 x 768" }, - { Lang::Italian, "1024 x 768" }, - { Lang::Japanese, "1024 x 768" }, - { Lang::Korean, "1024 x 768" }, - { Lang::Norwegian, "1024 x 768" }, - { Lang::Dutch, "1024 x 768" }, - { Lang::Polish, "1024 x 768" }, - { Lang::BrazilianPortuguese, "1024 x 768" }, - { Lang::Portuguese, "1024 x 768" }, - { Lang::Russian, "1024 x 768" }, - { Lang::Swedish, "1024 x 768" }, - { Lang::Turkish, "1024 x 768" }, - { Lang::SimplifiedChinese, "1024 x 768" }, - { Lang::TraditionalChinese, "1024 x 768" }, - }, - }, { Msg::Menu1_WindowUniformScale, { @@ -6927,15 +6137,6 @@ const TextArray translations::Translations = { Lang::TraditionalChinese, "鎖定寬高比縮放" }, }, }, - { - Msg::Menu1_AlternativeRender, - { - { Lang::English, "Alternative Rendering" }, - { Lang::Russian, "Альтернативный Вывод" }, - { Lang::SimplifiedChinese, "使用替代方式渲染" }, - { Lang::TraditionalChinese, "使用替代方式渲染" }, - }, - }, { Msg::Menu1_Game, { @@ -7032,15 +6233,6 @@ const TextArray translations::Translations = { Lang::TraditionalChinese, "桌台解析度" }, }, }, - { - Msg::Menu1_Window, - { - { Lang::English, "Window" }, - { Lang::Russian, "Окно" }, - { Lang::SimplifiedChinese, "窗口" }, - { Lang::TraditionalChinese, "視窗" }, - }, - }, { Msg::Menu1_Help, { diff --git a/SpaceCadetPinball/translations.h b/SpaceCadetPinball/translations.h index 0b6ea73..713c484 100644 --- a/SpaceCadetPinball/translations.h +++ b/SpaceCadetPinball/translations.h @@ -39,13 +39,9 @@ enum class Msg : int STRING134, STRING135, STRING136, - STRING137, - STRING138, STRING139, - STRING140, STRING141, STRING142, - STRING143, STRING144, STRING145, STRING146, @@ -104,8 +100,6 @@ enum class Msg : int STRING199, STRING200, STRING201, - STRING202, - STRING203, STRING204, STRING205, STRING206, @@ -159,19 +153,7 @@ enum class Msg : int STRING254, STRING255, STRING256, - STRING257, - STRING258, - STRING259, - STRING260, - STRING261, - STRING262, - STRING263, - STRING264, - STRING265, - STRING266, - STRING267, - STRING268, - STRING269, + TextBoxUseBitmapFont, STRING270, STRING271, STRING272, @@ -180,7 +162,6 @@ enum class Msg : int STRING275, STRING276, STRING277, - STRING278, STRING279, STRING280, STRING281, @@ -191,7 +172,7 @@ enum class Msg : int STRING286, STRING287, STRING288, - STRING289, + TextBoxColor, HIGHSCORES_Caption, HIGHSCORES_Ok, @@ -200,11 +181,6 @@ enum class Msg : int HIGHSCORES_Name, HIGHSCORES_Score, HIGHSCORES_Rank, - HIGHSCORES_Rank1, - HIGHSCORES_Rank2, - HIGHSCORES_Rank3, - HIGHSCORES_Rank4, - HIGHSCORES_Rank5, KEYMAPPER_Caption, KEYMAPPER_Ok, KEYMAPPER_Cancel, @@ -236,17 +212,11 @@ enum class Msg : int Menu1_2Players, Menu1_3Players, Menu1_4Players, - Menu1_MaximumResolution, - Menu1_640x480, - Menu1_800x600, - Menu1_1024x768, Menu1_WindowUniformScale, - Menu1_AlternativeRender, Menu1_Game, Menu1_Options, Menu1_Select_Players, Menu1_Table_Resolution, - Menu1_Window, Menu1_Help, Menu1_UseMaxResolution_640x480, diff --git a/SpaceCadetPinball/winmain.cpp b/SpaceCadetPinball/winmain.cpp index c3064ea..9ff7f7c 100644 --- a/SpaceCadetPinball/winmain.cpp +++ b/SpaceCadetPinball/winmain.cpp @@ -537,7 +537,7 @@ void winmain::RenderUi() { font_selection::ShowDialog(); } - if (ImGui::MenuItem("Uniform Scaling", nullptr, Options.UniformScaling)) + if (ImGui::MenuItem(pinball::get_rc_string(Msg::Menu1_WindowUniformScale), nullptr, Options.UniformScaling)) { options::toggle(Menu1::WindowUniformScale); }