[Scummvm-cvs-logs] SF.net SVN: scummvm:[42489] scummvm/branches/gsoc2009-draci/engines/draci/ game.cpp

dkasak13 at users.sourceforge.net dkasak13 at users.sourceforge.net
Tue Jul 14 21:13:49 CEST 2009


Revision: 42489
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42489&view=rev
Author:   dkasak13
Date:     2009-07-14 19:13:49 +0000 (Tue, 14 Jul 2009)

Log Message:
-----------
Adjusted levels for some Game debug messages and added some new ones.

Modified Paths:
--------------
    scummvm/branches/gsoc2009-draci/engines/draci/game.cpp

Modified: scummvm/branches/gsoc2009-draci/engines/draci/game.cpp
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/game.cpp	2009-07-14 18:24:20 UTC (rev 42488)
+++ scummvm/branches/gsoc2009-draci/engines/draci/game.cpp	2009-07-14 19:13:49 UTC (rev 42489)
@@ -172,12 +172,12 @@
 	_currentRoom._numGates = roomReader.readByte();
 
 	for (uint i = 0; i < _info._numObjects; ++i) {
-		debugC(1, kDraciLogicDebugLevel, 
+		debugC(2, kDraciLogicDebugLevel, 
 			"Checking if object %d (%d) is at the current location (%d)", i,
 			_objects[i]._location, roomNum);
 
 		if (_objects[i]._location == roomNum) {
-			debugC(1, kDraciLogicDebugLevel, "Loading object %d from room %d", i, roomNum);
+			debugC(2, kDraciLogicDebugLevel, "Loading object %d from room %d", i, roomNum);
 			loadObject(i);
 		}
 	}
@@ -317,6 +317,9 @@
 }
 
 void Game::changeRoom(uint roomNum) {
+	
+	debugC(1, kDraciLogicDebugLevel, "Changing to room %d", roomNum);
+
 	_vm->_roomsArchive->clearCache();
 	_vm->_spritesArchive->clearCache();
 	_vm->_paletteArchive->clearCache();


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