From 125d0a138ddfee60635b84bad24828e03535774c Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 30 Apr 2008 01:29:17 +0000 Subject: Add extra hard coded strings translations, from second release of The Dig. svn-id: r31782 --- engines/scumm/string.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'engines/scumm/string.cpp') diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp index c3925fc2bf..34ec494850 100644 --- a/engines/scumm/string.cpp +++ b/engines/scumm/string.cpp @@ -1469,7 +1469,7 @@ void ScummEngine_v7::translateText(const byte *text, byte *trans_buff) { _lastStringTag[0] = 0; // WORKAROUND for bug #1172655. - if (_game.id == GID_DIG && text[0] != '/') { + if (_game.id == GID_DIG) { if (!strcmp((const char *)text, "faint light")) text = (const byte *)"/NEW.007/faint light"; else if (!strcmp((const char *)text, "glowing crystal")) @@ -1494,6 +1494,18 @@ void ScummEngine_v7::translateText(const byte *text, byte *trans_buff) { text = (const byte *)"/NEW.013/unattached lens"; else if (!strcmp((const char *)text, "lens slot")) text = (const byte *)"/NEW.014/lens slot"; + + // Added in second release of The Dig + else if (!strcmp((const char *)text, "/NEWTON.032/")) + text = (const byte *)"/NEW.11/You wish."; + else if (!strcmp((const char *)text, "/NEWTON.034/")) + text = (const byte *)"/NEW.12/In your dreams"; + else if (!strcmp((const char *)text, "Jonathon Jackson")) + text = (const byte *)"Aram Gutowski"; + else if (!strcmp((const char *)text, "Brink")) + text = (const byte *)"/CREVICE.049/Brink"; + else if (!strcmp((const char *)text, "Robbins")) + text = (const byte *)"/NEST.061/Robbins"; } -- cgit v1.2.3