[Scummvm-cvs-logs] SF.net SVN: scummvm:[54491] scummvm/trunk/engines/mohawk/console.cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Fri Nov 26 07:08:05 CET 2010


Revision: 54491
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54491&view=rev
Author:   mthreepwood
Date:     2010-11-26 06:08:04 +0000 (Fri, 26 Nov 2010)

Log Message:
-----------
MOHAWK: Enable the drawImage debug command for all LB games

Modified Paths:
--------------
    scummvm/trunk/engines/mohawk/console.cpp

Modified: scummvm/trunk/engines/mohawk/console.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/console.cpp	2010-11-26 00:52:04 UTC (rev 54490)
+++ scummvm/trunk/engines/mohawk/console.cpp	2010-11-26 06:08:04 UTC (rev 54491)
@@ -668,13 +668,11 @@
 bool LivingBooksConsole::Cmd_PlaySound(int argc, const char **argv) {
 	if (argc == 1) {
 		DebugPrintf("Usage: playSound <value>\n");
-
 		return true;
 	}
 
 	_vm->_sound->stopSound();
 	_vm->_sound->playSound((uint16)atoi(argv[1]));
-
 	return false;
 }
 
@@ -682,7 +680,6 @@
 	DebugPrintf("Stopping Sound\n");
 
 	_vm->_sound->stopSound();
-
 	return true;
 }
 
@@ -692,11 +689,8 @@
 		return true;
 	}
 
-	if (_vm->getGameType() == GType_LIVINGBOOKSV1)
-		DebugPrintf("This isn't supported in the old Living Books games (yet)!\n");
-
 	_vm->_gfx->copyImageToScreen((uint16)atoi(argv[1]));
-	return _vm->getGameType() != GType_LIVINGBOOKSV1;
+	return false;
 }
 
 } // End of namespace Mohawk


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