[Scummvm-cvs-logs] SF.net SVN: scummvm: [22280] scummvm/trunk/engines/simon

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Tue May 2 11:16:02 CEST 2006


Revision: 22280
Author:   eriktorbjorn
Date:     2006-05-02 11:15:00 -0700 (Tue, 02 May 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22280&view=rev

Log Message:
-----------
Cleanup

Modified Paths:
--------------
    scummvm/trunk/engines/simon/draw.cpp
    scummvm/trunk/engines/simon/simon.cpp
    scummvm/trunk/engines/simon/simon.h
Modified: scummvm/trunk/engines/simon/draw.cpp
===================================================================
--- scummvm/trunk/engines/simon/draw.cpp	2006-05-02 18:04:22 UTC (rev 22279)
+++ scummvm/trunk/engines/simon/draw.cpp	2006-05-02 18:15:00 UTC (rev 22280)
@@ -103,7 +103,7 @@
 	if (_drawImagesDebug)
 		memset(_backBuf, 0, _screenWidth * _screenHeight);
 
-	_updateScreen++;
+	_updateScreen = true;
 	_vcPtr = vc_ptr_org;
 }
 
@@ -141,7 +141,7 @@
 		vsp++;
 	}
 
-	_updateScreen++;
+	_updateScreen = true;
 	_vcPtr = vc_ptr_org;
 }
 
@@ -217,7 +217,7 @@
 		vc10_draw();
 	}
 
-	_updateScreen++;
+	_updateScreen = true;
 	_vcPtr = vc_ptr_org;
 }
 

Modified: scummvm/trunk/engines/simon/simon.cpp
===================================================================
--- scummvm/trunk/engines/simon/simon.cpp	2006-05-02 18:04:22 UTC (rev 22279)
+++ scummvm/trunk/engines/simon/simon.cpp	2006-05-02 18:15:00 UTC (rev 22280)
@@ -136,7 +136,7 @@
 	_beardLoaded = 0;
 	_hitarea_unk_3 = 0;
 	_mortalFlag = 0;
-	_updateScreen = 0;
+	_updateScreen = false;
 	_usePaletteDelay = 0;
 	_syncFlag2 = 0;
 	_inCallBack = 0;

Modified: scummvm/trunk/engines/simon/simon.h
===================================================================
--- scummvm/trunk/engines/simon/simon.h	2006-05-02 18:04:22 UTC (rev 22279)
+++ scummvm/trunk/engines/simon/simon.h	2006-05-02 18:15:00 UTC (rev 22280)
@@ -23,8 +23,6 @@
 #ifndef SIMON_H
 #define SIMON_H
 
-#include <stdio.h>
-
 #include "base/engine.h"
 
 #include "common/rect.h"
@@ -249,7 +247,7 @@
 	bool _beardLoaded;
 	bool _hitarea_unk_3;
 	bool _mortalFlag;
-	byte _updateScreen;
+	bool _updateScreen;
 	bool _usePaletteDelay;
 	bool _syncFlag2;
 	bool _inCallBack;


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