[Scummvm-cvs-logs] SF.net SVN: scummvm: [32334] scummvm/trunk/engines/scumm/string.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Wed May 28 04:55:42 CEST 2008


Revision: 32334
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32334&view=rev
Author:   Kirben
Date:     2008-05-27 19:55:42 -0700 (Tue, 27 May 2008)

Log Message:
-----------
Update the hard coded string translations in The Dig.

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/string.cpp

Modified: scummvm/trunk/engines/scumm/string.cpp
===================================================================
--- scummvm/trunk/engines/scumm/string.cpp	2008-05-28 00:52:45 UTC (rev 32333)
+++ scummvm/trunk/engines/scumm/string.cpp	2008-05-28 02:55:42 UTC (rev 32334)
@@ -1464,6 +1464,7 @@
 
 	// 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 @@
 			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 @@
 			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"))


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list