From 9714ea9055dae1b7f193c65316a7da0f92fa91a1 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Tue, 2 May 2006 18:15:00 +0000 Subject: Cleanup svn-id: r22280 --- engines/simon/draw.cpp | 6 +++--- engines/simon/simon.cpp | 2 +- engines/simon/simon.h | 4 +--- 3 files changed, 5 insertions(+), 7 deletions(-) (limited to 'engines/simon') diff --git a/engines/simon/draw.cpp b/engines/simon/draw.cpp index dddaa97d8e..da918a2695 100644 --- a/engines/simon/draw.cpp +++ b/engines/simon/draw.cpp @@ -103,7 +103,7 @@ void SimonEngine::animateSprites() { if (_drawImagesDebug) memset(_backBuf, 0, _screenWidth * _screenHeight); - _updateScreen++; + _updateScreen = true; _vcPtr = vc_ptr_org; } @@ -141,7 +141,7 @@ void SimonEngine::animateSpritesDebug() { vsp++; } - _updateScreen++; + _updateScreen = true; _vcPtr = vc_ptr_org; } @@ -217,7 +217,7 @@ void SimonEngine::animateSpritesByY() { vc10_draw(); } - _updateScreen++; + _updateScreen = true; _vcPtr = vc_ptr_org; } diff --git a/engines/simon/simon.cpp b/engines/simon/simon.cpp index 232e3ebe6f..facb603a96 100644 --- a/engines/simon/simon.cpp +++ b/engines/simon/simon.cpp @@ -136,7 +136,7 @@ SimonEngine::SimonEngine(OSystem *syst) _beardLoaded = 0; _hitarea_unk_3 = 0; _mortalFlag = 0; - _updateScreen = 0; + _updateScreen = false; _usePaletteDelay = 0; _syncFlag2 = 0; _inCallBack = 0; diff --git a/engines/simon/simon.h b/engines/simon/simon.h index 100b2f8658..2062421abc 100644 --- a/engines/simon/simon.h +++ b/engines/simon/simon.h @@ -23,8 +23,6 @@ #ifndef SIMON_H #define SIMON_H -#include - #include "base/engine.h" #include "common/rect.h" @@ -249,7 +247,7 @@ protected: bool _beardLoaded; bool _hitarea_unk_3; bool _mortalFlag; - byte _updateScreen; + bool _updateScreen; bool _usePaletteDelay; bool _syncFlag2; bool _inCallBack; -- cgit v1.2.3