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

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Wed Apr 30 03:29:17 CEST 2008


Revision: 31782
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31782&view=rev
Author:   Kirben
Date:     2008-04-29 18:29:17 -0700 (Tue, 29 Apr 2008)

Log Message:
-----------
Add extra hard coded strings translations, from second release of The Dig.

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

Modified: scummvm/trunk/engines/scumm/string.cpp
===================================================================
--- scummvm/trunk/engines/scumm/string.cpp	2008-04-29 21:56:13 UTC (rev 31781)
+++ scummvm/trunk/engines/scumm/string.cpp	2008-04-30 01:29:17 UTC (rev 31782)
@@ -1469,7 +1469,7 @@
 	_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 @@
 			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";
 	}
 
 


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