[Scummvm-cvs-logs] SF.net SVN: scummvm: [26071] scummvm/trunk/engines/parallaction/dialogue. cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Sat Mar 10 22:31:59 CET 2007


Revision: 26071
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26071&view=rev
Author:   peres001
Date:     2007-03-10 13:31:59 -0800 (Sat, 10 Mar 2007)

Log Message:
-----------
commented nasty hack in the original code

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/dialogue.cpp

Modified: scummvm/trunk/engines/parallaction/dialogue.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/dialogue.cpp	2007-03-10 21:31:22 UTC (rev 26070)
+++ scummvm/trunk/engines/parallaction/dialogue.cpp	2007-03-10 21:31:59 UTC (rev 26071)
@@ -223,12 +223,13 @@
 
 	enterDialogue();
 	debugC(1, kDebugDialogue, "runDialogue: enterDialogue ok");
-
+/*
+	// the only character which can have a dialogue inside the museum location is Dino
 	if (!scumm_stricmp(_location, "museum")) {
 		_vm->_graphics->freeCnv( &_tempFrames );
 		debugC(1, kDebugDialogue, "runDialogue: special trick for 'museum' location");
 	}
-
+*/
 	_vm->_graphics->setFont("comic");
 
 	Cnv v6E;
@@ -502,7 +503,10 @@
 
 	exitDialogue();
 	debugC(1, kDebugDialogue, "runDialogue: exit dialogue ok");
-
+/*
+	// as mentioned in the comment at the beginning of this routine, the only
+	// character which can have a dialogue inside the museum location is Dino,
+	// that's why this hack (with hardcoded Dino) works
 	if (!scumm_stricmp(_location, "museum")) {
 		_vm->_disk->selectArchive("disk1");
 		_vm->_disk->loadFrames("dino", &_tempFrames);
@@ -511,7 +515,7 @@
 
 		debugC(1, kDebugDialogue, "runDialogue: special trick for 'museum' location ok");
 	}
-
+*/
 	debugC(1, kDebugDialogue, "runDialogue: running zone commands");
 	runCommands(v34);
 


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