[Scummvm-cvs-logs] scummvm master -> dc3e1eda8bfb6a21f31c36585e19dbe28d351966

dreammaster dreammaster at scummvm.org
Thu Aug 6 03:57:25 CEST 2015


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
dc3e1eda8b SHERLOCK: RT: Added german fixed text list


Commit: dc3e1eda8bfb6a21f31c36585e19dbe28d351966
    https://github.com/scummvm/scummvm/commit/dc3e1eda8bfb6a21f31c36585e19dbe28d351966
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-08-05T21:52:41-04:00

Commit Message:
SHERLOCK: RT: Added german fixed text list

Changed paths:
    engines/sherlock/tattoo/tattoo_fixed_text.cpp
    engines/sherlock/tattoo/tattoo_fixed_text.h



diff --git a/engines/sherlock/tattoo/tattoo_fixed_text.cpp b/engines/sherlock/tattoo/tattoo_fixed_text.cpp
index c07a028..5d6e1b7 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 6a1c698..7ba56c5 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() {}






More information about the Scummvm-git-logs mailing list