changed fading complete screen only if all viewports have changed
authorHolger Schemel <info@artsoft.org>
Mon, 3 Dec 2018 23:23:54 +0000 (00:23 +0100)
committerHolger Schemel <info@artsoft.org>
Mon, 3 Dec 2018 23:31:14 +0000 (00:31 +0100)
commit4002450137caf7133ae05ee9bf5302faac3d5040
treee35467b700513e190e6ef1e3a7279498294e8b57
parentc981ce2708040be6519fa2694c6ea8b4d9c51a27
changed fading complete screen only if all viewports have changed

(... or if the global border has changed, of course)

This change partially reverses the behaviour caused by commit 5c6c42f1
("fixed fading complete screen if playfield viewport has changed"),
which prevented partially fading screens that only partially changed.

The main intention of this change is to make it possible that the tape
recorder viewport, if unchanged, keeps being visible while fading the
remaining parts of the screen (especially with artwork sets without
global border graphics).

However, if *all* viewports changed, the whole window will be faded.
src/tools.c
src/tools.h