Commit Graph

27 Commits

Author SHA1 Message Date
Sebastian Krzyszkowiak
21c78ccdc2 SLUDGE: Fix transitionFader
Instead of manipulating alpha with BLEND_MULTIPLY, simply blend
in normal mode with translucent black. This fixes transitions with
low brightness levels (close to 0), which previously would
effectively act as if the level was set to 255.
2023-01-15 14:24:38 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko
df762ea3df
SLUDGE: Cleanup and simplify code 2021-05-17 01:55:20 +02:00
Eugene Sandulenko
7d5788836d
SLUDGE: Implement Crossfade transition
This completes all the transition modes
2021-05-17 01:55:20 +02:00
Eugene Sandulenko
4af234930d
SLUDGE: Implement Snapshotbox transition 2021-05-17 01:55:14 +02:00
Eugene Sandulenko
d96ac486c9
SLUDGE: Implement Blinds transition 2021-05-16 17:09:32 +02:00
Eugene Sandulenko
d359183fc0
SLUDGE: Implement TV transition 2021-05-16 17:09:32 +02:00
Eugene Sandulenko
ada51d0b49
SLUDGE: Implement Dissolve transition 2021-05-16 17:09:32 +02:00
Eugene Sandulenko
bc38a0a08c
SLUDGE: Implement FADE transition 2021-05-15 00:10:01 +02:00
Eugene Sandulenko
28e4e46707
SLUDGE: Reduce header dependencies 2021-05-07 01:29:53 +02:00
Eugene Sandulenko
e3da6f47b5
SLUDGE: Remove unused files and redundant header 2021-05-07 01:29:52 +02:00
Eugene Sandulenko
bbf03426e1
SLUDGE: JANITORIAL: Fix code formatting 2021-05-07 01:29:52 +02:00
D G Turner
ef30ebc0bb SLUDGE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-01 01:08:45 +00:00
Simei Yin
4b271c6e7c SLUDGE: Remove global variable fadeMode and move transition functions to GraphicsManager 2018-04-29 09:57:32 +02:00
Simei Yin
da491601d4 SLUDGE: Move global variable brightnessLevel to GraphicsManager and refactor save&load 2018-04-27 19:48:29 +02:00
Colin Snover
51329c0dc6 ALL: Fix misuse of comma operator 2017-11-10 09:57:03 -06:00
Simei Yin
a3876ee8c1 SLUDGE: Clean useless #if 0's 2017-07-15 17:51:57 +02:00
Simei Yin
59f9157106 SLUDGE: Remove gl-related graphics.h 2017-07-15 17:51:57 +02:00
Eugene Sandulenko
e36f3ad79e SLUDGE: int32_t -> int32 2017-07-13 18:43:24 +02:00
yinsimei
f8e1fe0064 SLUDGE: replace int types to scummvm defined ones 2017-07-13 18:27:45 +02:00
yinsimei
77d5c7235d SLUDGE: replace sludge colours by pixelformat 2017-07-13 18:27:45 +02:00
yinsimei
7430ebe883 SLUDGE: use scummvm int type instead of uint16/32_t 2017-07-13 18:27:45 +02:00
yinsimei
a8ccd05315 SLUDGE: header formatting 2017-07-13 18:27:45 +02:00
yinsimei
10ff6994ae SLUDGE: format code and remove oneliners 2017-07-13 18:27:45 +02:00
yinsimei
ca2ee02496 SLUDGE: code formatting 2017-07-13 18:27:45 +02:00
yinsimei
c4a5af22ea SLUDGE: Add namespace 2017-07-13 18:27:45 +02:00
yinsimei
219044abf9 SLUDGE: Add sludge files and make it compile 2017-07-13 18:27:45 +02:00