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

dkasak13 at users.sourceforge.net dkasak13 at users.sourceforge.net
Sun Jul 12 21:02:08 CEST 2009


Revision: 42426
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42426&view=rev
Author:   dkasak13
Date:     2009-07-12 19:02:08 +0000 (Sun, 12 Jul 2009)

Log Message:
-----------
Enabled some more rooms in the demo and disabled loading the former distributor logo.

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

Modified: scummvm/branches/gsoc2009-draci/engines/draci/game.h
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/game.h	2009-07-12 19:00:24 UTC (rev 42425)
+++ scummvm/branches/gsoc2009-draci/engines/draci/game.h	2009-07-12 19:02:08 UTC (rev 42426)
@@ -111,7 +111,12 @@
 	// HACK: this is only for testing
 	void incRoomNum() { 
 		int n = _currentRoom._roomNum;
-		n = n < 25 ? n+1 : n;
+		n = n < 37 ? n+1 : n;
+
+		// disable former distributor logo
+		if (n == 30)
+			++n;
+
 		_currentRoom._roomNum = n;
 	}
 
@@ -119,6 +124,11 @@
 	void decRoomNum() { 
 		int n = _currentRoom._roomNum;
 		n = n > 0 ? n-1 : n;
+
+		// disable former distributor logo
+		if (n == 30)
+			--n;
+
 		_currentRoom._roomNum = n;
 	}
 


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