Revert "GRIM: use dimScreen() to dim the entire screen."

This reverts commit 16d313cdc8bb4c7172d584d67d97dd4df36ee61e.
This commit is contained in:
Giulio Camuffo 2011-07-21 12:12:44 +02:00
parent 0547cceee7
commit 3b109a7a1a

View File

@ -48,7 +48,7 @@ void Iris::play(Iris::Direction dir, int x, int y, int lenght) {
void Iris::draw() {
if (!_playing) {
if (_direction == Close) {
g_driver->dimScreen();
g_driver->dimRegion(0, 0, 640, 479, 0);
}
return;
}
@ -57,7 +57,7 @@ void Iris::draw() {
if (_currTime >= _lenght) {
_playing = false;
if (_direction == Close) {
g_driver->dimScreen();
g_driver->dimRegion(0, 0, 640, 479, 0);
}
return;
}