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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Sep 6 00:38:10 CEST 2007


Revision: 28861
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28861&view=rev
Author:   thebluegr
Date:     2007-09-05 15:38:08 -0700 (Wed, 05 Sep 2007)

Log Message:
-----------
Changed several #ifdef _DEBUG code parts in Mickey with #if 0 (and commented them as debug). For some reason, _DEBUG seems to be set, causing all those code parts to be ran (which lead to all sorts of unexpected behavior)

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

Modified: scummvm/trunk/engines/agi/preagi_mickey.cpp
===================================================================
--- scummvm/trunk/engines/agi/preagi_mickey.cpp	2007-09-05 21:57:57 UTC (rev 28860)
+++ scummvm/trunk/engines/agi/preagi_mickey.cpp	2007-09-05 22:38:08 UTC (rev 28861)
@@ -1134,7 +1134,8 @@
 			printExeMsg(IDO_MSA_GAME_OVER[1]);
 			printExeMsg(IDO_MSA_GAME_OVER[2]);
 
-#ifdef _DEBUG
+#if 0
+			// DEBUG
 			strcpy(game.szAddr, (char *)IDS_MSA_ADDR_PLANET[IDI_MSA_PLANET_EARTH]);
 			game.nButtons = strlen(game.szAddr);
 #endif
@@ -1142,7 +1143,8 @@
 		} else {
 			printExeStr(game.iClue[game.nXtals]);
 
-#ifdef _DEBUG
+#if 0
+			// DEBUG
 			_vm->drawStr(24, 12, IDA_DEFAULT, (char *)IDS_MSA_NAME_PLANET_2[game.iPlanetXtal[game.nXtals]]);
 			_vm->drawStr(24, 22, IDA_DEFAULT, (char *)IDS_MSA_ADDR_PLANET[game.iPlanetXtal[game.nXtals]]);
 			strcpy(game.szAddr, (char *)IDS_MSA_ADDR_PLANET[game.iPlanetXtal[game.nXtals]]);
@@ -2119,8 +2121,8 @@
 	}
 	game.iRmPic[IDI_MSA_PIC_SHIP_AIRLOCK] = IDI_MSA_PIC_SHIP_AIRLOCK_0;
 
-#ifdef _DEBUG
-
+#if 0
+	// DEBUG
 	game.iPlanet = IDI_MSA_PLANET_EARTH;
 	game.iRoom = IDI_MSA_PIC_SHIP_CONTROLS;
 	game.fHasXtal = true;


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