[Scummvm-cvs-logs] CVS: scummvm/sword2/driver rdwin.cpp,1.53,1.54

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Sat Jul 9 06:22:10 CEST 2005


Update of /cvsroot/scummvm/scummvm/sword2/driver
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12811/driver

Modified Files:
	rdwin.cpp 
Log Message:
This should really be two or three different commits, but I'm too lazy for
that:

* Re-worked the elevator script bug workaround so that it's more consistent
  with the other two script bug workarounds.

* Some renamings to make it more clear that game events and input events
  are two completely different things.

* Added function for clearing pending input events, and used that to fix an
  annoying keyboard repeat bug when closing the debug console. (The console
  would keep re-opening because the key press to open it kept repeating
  even though the key had been released.)


Index: rdwin.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/driver/rdwin.cpp,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- rdwin.cpp	27 Feb 2005 16:11:18 -0000	1.53
+++ rdwin.cpp	9 Jul 2005 13:21:21 -0000	1.54
@@ -57,7 +57,7 @@
  */
 
 void Screen::updateDisplay(bool redrawScene) {
-	_vm->parseEvents();
+	_vm->parseInputEvents();
 	fadeServer();
 
 	if (redrawScene) {





More information about the Scummvm-git-logs mailing list