aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/intro.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2015-12-24 00:41:53 +0200
committerFilippos Karapetis2015-12-24 00:44:16 +0200
commit7c33862a099ffe9cfe308183ca6cd8e16f23b804 (patch)
treee5bb427ebefe844d585af9139db5dca1fa45e51e /engines/lab/intro.cpp
parenta5695f6bfda17df214d4a91bfd9eada75d51ddf8 (diff)
downloadscummvm-rg350-7c33862a099ffe9cfe308183ca6cd8e16f23b804.tar.gz
scummvm-rg350-7c33862a099ffe9cfe308183ca6cd8e16f23b804.tar.bz2
scummvm-rg350-7c33862a099ffe9cfe308183ca6cd8e16f23b804.zip
LAB: The second parameter of fade() is always 0
Diffstat (limited to 'engines/lab/intro.cpp')
-rw-r--r--engines/lab/intro.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/lab/intro.cpp b/engines/lab/intro.cpp
index 1b4310ac07..d8612764e7 100644
--- a/engines/lab/intro.cpp
+++ b/engines/lab/intro.cpp
@@ -88,7 +88,7 @@ void Intro::doPictText(const Common::String filename, TextFont *msgFont, bool is
if (begin)
begin = false;
else if (isScreen)
- _vm->_graphics->fade(false, 0);
+ _vm->_graphics->fade(false);
int charDrawn = 0;
if (isScreen) {
@@ -96,7 +96,7 @@ void Intro::doPictText(const Common::String filename, TextFont *msgFont, bool is
_vm->_graphics->rectFillScaled(10, 10, 310, 190);
charDrawn = _vm->_graphics->flowText(msgFont, (!_vm->_isHiRes) * -1, 5, 7, false, false, true, true, _vm->_utils->vgaRectScale(14, 11, 306, 189), (char *)curText);
- _vm->_graphics->fade(true, 0);
+ _vm->_graphics->fade(true);
} else
charDrawn = _vm->_graphics->longDrawMessage(Common::String((char *)curText), false);
@@ -108,7 +108,7 @@ void Intro::doPictText(const Common::String filename, TextFont *msgFont, bool is
if (_quitIntro) {
if (isScreen)
- _vm->_graphics->fade(false, 0);
+ _vm->_graphics->fade(false);
delete[] textBuffer;
return;
@@ -132,7 +132,7 @@ void Intro::doPictText(const Common::String filename, TextFont *msgFont, bool is
if (elapsedSeconds > timeDelay) {
if (doneFl) {
if (isScreen)
- _vm->_graphics->fade(false, 0);
+ _vm->_graphics->fade(false);
delete[] textBuffer;
return;
@@ -150,7 +150,7 @@ void Intro::doPictText(const Common::String filename, TextFont *msgFont, bool is
_quitIntro = true;
if (isScreen)
- _vm->_graphics->fade(false, 0);
+ _vm->_graphics->fade(false);
delete[] textBuffer;
return;
@@ -158,7 +158,7 @@ void Intro::doPictText(const Common::String filename, TextFont *msgFont, bool is
if (msgClass == kMessageLeftClick) {
if (doneFl) {
if (isScreen)
- _vm->_graphics->fade(false, 0);
+ _vm->_graphics->fade(false);
delete[] textBuffer;
return;
@@ -170,7 +170,7 @@ void Intro::doPictText(const Common::String filename, TextFont *msgFont, bool is
if (_quitIntro) {
if (isScreen)
- _vm->_graphics->fade(false, 0);
+ _vm->_graphics->fade(false);
delete[] textBuffer;
return;
@@ -179,7 +179,7 @@ void Intro::doPictText(const Common::String filename, TextFont *msgFont, bool is
if (doneFl) {
if (isScreen)
- _vm->_graphics->fade(false, 0);
+ _vm->_graphics->fade(false);
delete[] textBuffer;
return;
@@ -269,7 +269,7 @@ void Intro::introSequence() {
}
_vm->updateMusicAndEvents();
- _vm->_graphics->fade(true, 0);
+ _vm->_graphics->fade(true);
for (int times = 0; times < 150; times++) {
if (_quitIntro)
@@ -287,7 +287,7 @@ void Intro::introSequence() {
_vm->waitTOF();
}
- _vm->_graphics->fade(false, 0);
+ _vm->_graphics->fade(false);
_vm->_graphics->blackAllScreen();
_vm->updateMusicAndEvents();