aboutsummaryrefslogtreecommitdiff
path: root/engines/simon
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-05-02 18:15:00 +0000
committerTorbjörn Andersson2006-05-02 18:15:00 +0000
commit9714ea9055dae1b7f193c65316a7da0f92fa91a1 (patch)
treeb49e0d327538a7eca3a66c87727f9860995b6ac6 /engines/simon
parent5b779be4ac803e4dd3a08cd5d60a13a696a29f96 (diff)
downloadscummvm-rg350-9714ea9055dae1b7f193c65316a7da0f92fa91a1.tar.gz
scummvm-rg350-9714ea9055dae1b7f193c65316a7da0f92fa91a1.tar.bz2
scummvm-rg350-9714ea9055dae1b7f193c65316a7da0f92fa91a1.zip
Cleanup
svn-id: r22280
Diffstat (limited to 'engines/simon')
-rw-r--r--engines/simon/draw.cpp6
-rw-r--r--engines/simon/simon.cpp2
-rw-r--r--engines/simon/simon.h4
3 files changed, 5 insertions, 7 deletions
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 <stdio.h>
-
#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;