diff options
-rw-r--r-- | engines/sherlock/tattoo/tattoo_fixed_text.cpp | 85 | ||||
-rw-r--r-- | engines/sherlock/tattoo/tattoo_fixed_text.h | 1 |
2 files changed, 85 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/tattoo_fixed_text.cpp b/engines/sherlock/tattoo/tattoo_fixed_text.cpp index c07a028b21..5d6e1b7e42 100644 --- a/engines/sherlock/tattoo/tattoo_fixed_text.cpp +++ b/engines/sherlock/tattoo/tattoo_fixed_text.cpp @@ -106,11 +106,94 @@ static const char *const FIXED_TEXT_ENGLISH[] = { "No" }; +static const char *const FIXED_TEXT_GERMAN[] = { + "Geld", + "S. Holmes", + "Tabak", + "Plan", + "Aufforderg.", + "Blatt pap.", + "Dunstig pap", + "Handlampe", + + "Geld", + "S. Holmes", + "Tabak", + "Plan", + "Aufforderg.", + "Pergament", + "Dunstig pap", + "Handlampe", + + "ffne", + "Schau", + "Rede", + "Benutze", + "Journal", + "Inventory", + "Options", + "Losen", + "mit", + "Keine Wirkung...", + "Diese Person weic im Augenblick nichts zu berichten.", + + "Seite %d", + "Schliecen", + "Lessen", + "In Datei sichern", + "Suche abbrechen", + "Rbckwarts suchen ", + "Vorwarts suchen ", + "Text nicht gefunden", + + "Holmes", + "Jock", + "Bull", + "Runde", + "Gesamt", + "Pfeil", + "zum Starten", + "Taste dracken", + "Taste dracken", + "Bullseye", + "SPIEL BEENDET", + "VERLOREN", + "Gewinnt", + "Erzielte", + "Punkte", + "Treffer", + "Doppel", + "Dreifach", + + "Benutze", + "Wasser", + "Erhitze", + "Spiel laden", + "Spiel sichern", + "Musik", + "Soundeffekte", + "Voices", + "Textfenster", + "Transparente Menbs", + "Schriftart andern", + "Aus", + "An", + "Ende", + "Spiel beenden? ", + "Sind Sie sicher ?", + "Ja", + "Nein" +}; + TattooFixedText::TattooFixedText(SherlockEngine *vm) : FixedText(vm) { + if (vm->getLanguage() == Common::DE_DEU) + _fixedText = FIXED_TEXT_GERMAN; + else + _fixedText = FIXED_TEXT_ENGLISH; } const char *TattooFixedText::getText(int fixedTextId) { - return FIXED_TEXT_ENGLISH[fixedTextId]; + return _fixedText[fixedTextId]; } const Common::String TattooFixedText::getActionMessage(FixedTextActionId actionId, int messageIndex) { diff --git a/engines/sherlock/tattoo/tattoo_fixed_text.h b/engines/sherlock/tattoo/tattoo_fixed_text.h index 6a1c69836c..7ba56c5c97 100644 --- a/engines/sherlock/tattoo/tattoo_fixed_text.h +++ b/engines/sherlock/tattoo/tattoo_fixed_text.h @@ -108,6 +108,7 @@ enum FixedTextId { class TattooFixedText: public FixedText { private: + const char *const *_fixedText; public: TattooFixedText(SherlockEngine *vm); virtual ~TattooFixedText() {} |