From 292bc04389912ea203dccaf233844520c88b0341 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 28 May 2008 02:55:42 +0000 Subject: Update the hard coded string translations in The Dig. svn-id: r32334 --- engines/scumm/string.cpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'engines/scumm') diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp index 762bca12a9..f0e524408c 100644 --- a/engines/scumm/string.cpp +++ b/engines/scumm/string.cpp @@ -1464,6 +1464,7 @@ void ScummEngine_v7::translateText(const byte *text, byte *trans_buff) { // WORKAROUND for bug #1172655. if (_game.id == GID_DIG) { + // Based on the second release of The Dig if (!strcmp((const char *)text, "faint light")) text = (const byte *)"/NEW.007/faint light"; else if (!strcmp((const char *)text, "glowing crystal")) @@ -1472,9 +1473,9 @@ void ScummEngine_v7::translateText(const byte *text, byte *trans_buff) { text = (const byte *)"/NEW.009/glowing crystals"; else if (!strcmp((const char *)text, "pit")) text = (const byte *)"/NEW.010/pit"; - else if (!strcmp((const char *)text, "You wish.")) + else if (!strcmp((const char *)text, "/NEWTON.032/")) text = (const byte *)"/NEW.011/You wish."; - else if (!strcmp((const char *)text, "In your dreams.")) + else if (!strcmp((const char *)text, "/NEWTON.034/")) text = (const byte *)"/NEW.012/In your dreams"; else if (!strcmp((const char *)text, "left")) text = (const byte *)"/CATHPLAT.068/left"; @@ -1488,12 +1489,6 @@ 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")) -- cgit v1.2.3