diff options
Diffstat (limited to 'engines/voyeur/graphics.cpp')
-rw-r--r-- | engines/voyeur/graphics.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/engines/voyeur/graphics.cpp b/engines/voyeur/graphics.cpp index 3dee779580..0deeaa1e45 100644 --- a/engines/voyeur/graphics.cpp +++ b/engines/voyeur/graphics.cpp @@ -1020,45 +1020,45 @@ void GraphicsManager::screenReset() { void GraphicsManager::fadeDownICF1(int steps) { if (steps > 0) { - int stepAmount = _vm->_voy._field4378 / steps; + int stepAmount = _vm->_voy._fadingAmount2 / steps; for (int idx = 0; idx < steps; ++idx) { - _vm->_voy._field4378 -= stepAmount; + _vm->_voy._fadingAmount2 -= stepAmount; _vm->_eventsManager.delay(1); } } - _vm->_voy._field4378 = 0; + _vm->_voy._fadingAmount2 = 0; } void GraphicsManager::fadeUpICF1(int steps) { if (steps > 0) { - int stepAmount = (63 - _vm->_voy._field4378) / steps; + int stepAmount = (63 - _vm->_voy._fadingAmount2) / steps; for (int idx = 0; idx < steps; ++idx) { - _vm->_voy._field4378 += stepAmount; + _vm->_voy._fadingAmount2 += stepAmount; _vm->_eventsManager.delay(1); } } - _vm->_voy._field4378 = 63; + _vm->_voy._fadingAmount2 = 63; } void GraphicsManager::fadeDownICF(int steps) { if (steps > 0) { _vm->_eventsManager.hideCursor(); - int stepAmount1 = _vm->_voy._field4376 / steps; - int stepAmount2 = _vm->_voy._field4378 / steps; + int stepAmount1 = _vm->_voy._fadingAmount1 / steps; + int stepAmount2 = _vm->_voy._fadingAmount2 / steps; for (int idx = 0; idx < steps; ++idx) { - _vm->_voy._field4376 -= stepAmount1; - _vm->_voy._field4378 -= stepAmount2; + _vm->_voy._fadingAmount1 -= stepAmount1; + _vm->_voy._fadingAmount2 -= stepAmount2; _vm->_eventsManager.delay(1); } } - _vm->_voy._field4376 = 0; - _vm->_voy._field4378 = 0; + _vm->_voy._fadingAmount1 = 0; + _vm->_voy._fadingAmount2 = 0; } void GraphicsManager::drawDot() { |