svn-id: r6900
This commit is contained in:
Max Horn 2003-04-02 15:23:36 +00:00
parent 9041b45fc9
commit b8043f7570

View File

@ -2040,6 +2040,7 @@ void Scumm::actorFollowCamera(int act) {
#pragma mark -
void Scumm::fadeIn(int effect) {
updatePalette();
switch (effect) {
case 1:
case 2:
@ -2073,6 +2074,8 @@ void Scumm::fadeIn(int effect) {
void Scumm::fadeOut(int effect) {
VirtScreen *vs;
updatePalette();
setDirtyRange(0, 0, 0);
if (!(_features & GF_AFTER_V7))
camera._last.x = camera._cur.x;
@ -2170,7 +2173,6 @@ void Scumm::transitionEffect(int a) {
// Draw the current state to the screen and wait half a sec so the user
// can watch the effect taking place.
updatePalette();
_system->update_screen();
waitForTimer(30);
}
@ -2260,8 +2262,6 @@ void Scumm::dissolveEffect(int width, int height) {
// most of the time is spent in waitForTimer(). It looks good to me,
// but might still need some tuning.
updatePalette();
blits = 0;
blits_before_refresh = (3 * w * h) / 25;