diff options
author | Strangerke | 2014-01-07 00:06:16 +0100 |
---|---|---|
committer | Strangerke | 2014-01-07 00:06:16 +0100 |
commit | 6dff1574590c60eab526b7dcc4061ec9f15c0821 (patch) | |
tree | 4f76f453bd43ebc67d5b9873c357165dd605b817 /engines/voyeur/events.cpp | |
parent | 12386de64b3b3fbb779d4262a0edfcb4fa5ee463 (diff) | |
download | scummvm-rg350-6dff1574590c60eab526b7dcc4061ec9f15c0821.tar.gz scummvm-rg350-6dff1574590c60eab526b7dcc4061ec9f15c0821.tar.bz2 scummvm-rg350-6dff1574590c60eab526b7dcc4061ec9f15c0821.zip |
VOYEUR: Remove a couple of useless variables, change type of some other to use booleans, add CHECKME
Diffstat (limited to 'engines/voyeur/events.cpp')
-rw-r--r-- | engines/voyeur/events.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/engines/voyeur/events.cpp b/engines/voyeur/events.cpp index b96ce6796e..f9e150c8a0 100644 --- a/engines/voyeur/events.cpp +++ b/engines/voyeur/events.cpp @@ -56,7 +56,7 @@ IntData::IntData() { field24 = 0; field26 = 0; field2A = 0; - field38 = 0; + field38 = false; field3B = 0; field3D = 0; _palStartIndex = 0; @@ -98,7 +98,6 @@ EventsManager::EventsManager(): _intPtr(_gameData), _newLeftClick = _newRightClick = false;; _newMouseClicked = _newMouseUnk = false; - _v2A0A2 = 0; _videoDead = 0; } @@ -188,7 +187,7 @@ void EventsManager::voyeurTimer() { if (--_gameData.field26 <= 0) { if (_gameData._flipWait) { - _gameData.field38 = 1; + _gameData.field38 = true; _gameData._flipWait = false; _gameData.field3B = 0; } @@ -353,7 +352,7 @@ void EventsManager::startFade(CMapResource *cMap) { _intPtr._hasPalette = true; if (!(cMap->_fadeStatus & 2)) - _intPtr.field38 = 1; + _intPtr.field38 = true; } if (_cycleStatus & 1) @@ -403,7 +402,7 @@ void EventsManager::vDoFadeInt() { _intPtr._palEndIndex = _fadeLastCol; _intPtr._hasPalette = true; - _intPtr.field38 = 1; + _intPtr.field38 = true; } void EventsManager::vDoCycleInt() { |