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

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Sun Mar 18 10:35:48 CET 2007


Revision: 26198
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26198&view=rev
Author:   peres001
Date:     2007-03-18 02:35:48 -0700 (Sun, 18 Mar 2007)

Log Message:
-----------
Removed old and commented hack code for Dino in the museum location.

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

Modified: scummvm/trunk/engines/parallaction/dialogue.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/dialogue.cpp	2007-03-18 09:34:19 UTC (rev 26197)
+++ scummvm/trunk/engines/parallaction/dialogue.cpp	2007-03-18 09:35:48 UTC (rev 26198)
@@ -377,13 +377,7 @@
 
 	enterDialogue();
 	debugC(1, kDebugDialogue, "runDialogue: enterDialogue ok");
-/*
-	// the only character which can have a dialogue inside the museum location is Dino
-	if (!scumm_stricmp(_name, "museum")) {
-		_vm->_gfx->freeCnv( &_normalFrames );
-		debugC(1, kDebugDialogue, "runDialogue: special trick for 'museum' location");
-	}
-*/
+
 	_vm->_gfx->setFont("comic");
 
 	Cnv v6E;
@@ -451,19 +445,7 @@
 
 	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(_name, "museum")) {
-		_vm->_disk->selectArchive("disk1");
-		_vm->_disk->loadFrames(_dinoName, &_normalFrames);
 
-		memcpy(&_vm->_char._ani._cnv, &_normalFrames, sizeof(Cnv));
-
-		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