[Scummvm-cvs-logs] SF.net SVN: scummvm: [32544] scummvm/trunk/engines/drascula/drascula.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Jun 4 21:21:18 CEST 2008


Revision: 32544
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32544&view=rev
Author:   thebluegr
Date:     2008-06-04 12:21:17 -0700 (Wed, 04 Jun 2008)

Log Message:
-----------
Reduced the delays in Drascula's save/load screen to make it more responsive (since delay() waits for double the time internally)

Modified Paths:
--------------
    scummvm/trunk/engines/drascula/drascula.cpp

Modified: scummvm/trunk/engines/drascula/drascula.cpp
===================================================================
--- scummvm/trunk/engines/drascula/drascula.cpp	2008-06-04 18:27:58 UTC (rev 32543)
+++ scummvm/trunk/engines/drascula/drascula.cpp	2008-06-04 19:21:17 UTC (rev 32544)
@@ -1371,7 +1371,7 @@
 		updateEvents();
 
 		if (button_izq == 1) {
-			delay(100);
+			delay(50);
 			for (n = 0; n < NUM_SAVES; n++) {
 				if (mouseX > 115 && mouseY > y + (9 * n) && mouseX < 115 + 175 && mouseY < y + 10 + (9 * n)) {
 					strcpy(select, names[n]);
@@ -1443,11 +1443,11 @@
 				print_abc("elige una partida", 117, 15);
 			}
 			updateScreen();
-			delay(400);
+			delay(200);
 		}
 		y = 26;
 
-		delay(10);
+		delay(5);
 	}
 
 	clearRoom();


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