[Scummvm-cvs-logs] SF.net SVN: scummvm:[44292] scummvm/trunk/engines/agi

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Sep 24 11:01:33 CEST 2009


Revision: 44292
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44292&view=rev
Author:   thebluegr
Date:     2009-09-24 09:01:33 +0000 (Thu, 24 Sep 2009)

Log Message:
-----------
Removed some warnings about unreachable code

Modified Paths:
--------------
    scummvm/trunk/engines/agi/loader_v3.cpp
    scummvm/trunk/engines/agi/preagi_mickey.cpp

Modified: scummvm/trunk/engines/agi/loader_v3.cpp
===================================================================
--- scummvm/trunk/engines/agi/loader_v3.cpp	2009-09-24 07:18:38 UTC (rev 44291)
+++ scummvm/trunk/engines/agi/loader_v3.cpp	2009-09-24 09:01:33 UTC (rev 44292)
@@ -219,7 +219,7 @@
 			debugC(3, kDebugLevelResources, "x = %x %x", x[0], x[1]);
 			error("ACK! BAD RESOURCE");
 
-			_vm->quitGame();
+			//_vm->quitGame();
 		}
 
 		agid->len = READ_LE_UINT16((uint8 *) x + 3);	// uncompressed size

Modified: scummvm/trunk/engines/agi/preagi_mickey.cpp
===================================================================
--- scummvm/trunk/engines/agi/preagi_mickey.cpp	2009-09-24 07:18:38 UTC (rev 44291)
+++ scummvm/trunk/engines/agi/preagi_mickey.cpp	2009-09-24 09:01:33 UTC (rev 44292)
@@ -918,8 +918,7 @@
 
 void Mickey::drawLogo() {
 	// TODO: clean this up and make it work properly, the logo is drawn way off to the right
-	return;	// remove this once the code below is done
-
+#if 0
 	char szFile[256] = {0};
 	uint8 *buffer = new uint8[16384];
 	const int w = 150;
@@ -964,6 +963,7 @@
 	_vm->_picture->showPic(10, 10, w, h);
 
 	delete[] buffer;
+#endif
 }
 
 void Mickey::animate() {


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