aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorTravis Howell2008-05-28 02:55:42 +0000
committerTravis Howell2008-05-28 02:55:42 +0000
commit292bc04389912ea203dccaf233844520c88b0341 (patch)
tree8b13c42a7f4a1c299e982aa29eea5a245ef3d85f /engines/scumm
parent6358878a435a929adc5c0ca503b3eda7fe3acdd6 (diff)
downloadscummvm-rg350-292bc04389912ea203dccaf233844520c88b0341.tar.gz
scummvm-rg350-292bc04389912ea203dccaf233844520c88b0341.tar.bz2
scummvm-rg350-292bc04389912ea203dccaf233844520c88b0341.zip
Update the hard coded string translations in The Dig.
svn-id: r32334
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/string.cpp11
1 files changed, 3 insertions, 8 deletions
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"))