Sebastian Krzyszkowiak
800d48f9da
SLUDGE: Fix channel mapping in setBurnColor
2023-01-17 13:37:44 +02:00
Sebastian Krzyszkowiak
40fc49256d
SLUDGE: Make sure initial backdrop gets its alpha channel stored
...
OpenSLUDGE draws the first backdrop image with alpha channel
intact. Afterwards, next images are blended with previous backdrop
contents.
So far ScummVM always did the later part, but never the former,
which caused parallax to not work as it relies on alpha channel
being propagated into backdrop (which gets initiallly filled
with opaque black, so it had no chance to ever be transparent).
Fix that by clearing the area the first backdrop image is about
to get blitted into with full transparency.
2023-01-16 17:57:04 +01:00
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
Sebastian Krzyszkowiak
7d951fd9d2
SLUDGE: Use unescaped value when calling openUrl in launch
...
newText is an escaped filename, which escapes characters like
: and /, which are essential for URLs. Use unescaped version
like original OpenSLUDGE does, as otherwise URLs get mangled
and become unusable.
2023-01-13 23:56:46 +01:00
Sebastian Krzyszkowiak
8f1d5a0c4c
SLUDGE: Fix camera getting reset after loading saved game
...
loadHSI calls reserveBackdrop, which resets camera values.
Apply camera position and zoom in loadBackdrop after calling
loadHSI, so the stored camera state gets preserved.
2023-01-13 23:56:09 +01:00
Sebastian Krzyszkowiak
3301d890db
SLUDGE: Save/restore region's direction as signed integer
...
The engine is using -1 as an undefined direction, so keep it that
way after save & restore cycle. Otherwise persons will spin around
for a while trying to rotate themselves to 65535 degrees when
aligning to a region with undefined direction.
2023-01-13 00:40:07 +02:00
Vladimir Serbinenko
275379c3d2
ENGINES: Change getFileProperties to receive MD5Properties as argument
2022-12-28 12:56:22 +01:00
Le Philousophe
95d5bafb57
SLUDGE: Don't use unsafe sprintf and vsprintf
2022-10-23 22:46:19 +02:00
Eugene Sandulenko
cb6966f652
SLUDGE: Add more files to detection entries for addressing graylisted names
2022-09-17 16:53:48 +02:00
treloret
5d0cd767c1
SLUDGE: Added missing entries to 3 sludge games
2022-08-11 22:23:44 +03:00
Cameron Cawley
f3b094e53f
ENGINES: Change the MetaEngineDetection interface to match MetaEngine
2022-07-23 23:31:58 +02:00
Henrik "Henke37" Andersson
11ebced7de
SLUDGE: Fix detection of nsc
2022-07-16 21:00:06 +03:00
Henrik "Henke37" Andersson
6155dbde7f
SLUDGE: Reimplement builtin launch for webpages
2022-07-15 22:37:44 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Alexandre Detiste
6044504762
JANITORIAL: typos
...
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +01:00
Kai Knoblich
3101573007
SLUDGE: Fix build with Clang >= 11.0.0
...
Clang 11 and newer check the types of return values more strictly and
generate an error if there is a discrepancy.
However the "bool loadGame()" function, returns the value "NULL", if
loading of a savegame was unsucessful, whereas Clang expects a return
value of type "bool".
Remedy the issue by using "false" as return value instead of "NULL".
2021-09-10 19:38:12 +03:00
Cameron Cawley
644e7354f5
CREDITS: Update credits
2021-08-22 22:25:33 +03:00
Filippos Karapetis
0a3e3d8372
SLUDGE: Remove superfluous C string conversions
2021-08-10 13:04:09 +03:00
Cameron Cawley
e187a37d95
SLUDGE: Avoid direct use of remove()
2021-08-10 13:04:09 +03:00
Paul Gilbert
005561d305
COMMON: Increase Stream pos, seek, size from int32 to int64
2021-07-08 18:24:28 -07:00
Paul Gilbert
baccbedf50
GRAPHICS: Changed surface classes sizes from uint16 to int16
2021-07-04 18:24:27 -07:00
Eugene Sandulenko
35eedf421a
SLUDGE: Avoid usage of remove()
2021-06-26 22:00:14 +02:00
sluicebox
8e1d90f8e4
ALL: Remove clearAllDebugChannels() from Engine dtors
2021-06-14 12:42:38 -05:00
ysj1173886760
7af3a3f84c
ENGINES: introduce ADDectedGameExtraInfo to ADGameDetector, add extra info as parameter for fallback detect.
2021-06-13 14:15:45 +02:00
Eugene Sandulenko
0b7194ecc4
SLUDGE: Gracefully continue on MOD music failure. Happens with IT modules now
2021-05-30 11:40:37 +02:00
ysj1173886760
554fb982ab
SLUDGE: move debug channels to metaEngineDetection
2021-05-22 01:34:57 +02:00
D G Turner
df9ce51662
SLUDGE: Fix Signed vs. Unsigned GCC Compiler Warnings
2021-05-17 23:18:50 +01:00
Eugene Sandulenko
34f7e04c4f
SLUDGE: Initial code for bg effects
2021-05-17 01:55:21 +02: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
f1196d909a
SLUDGE: Fix crash at save
2021-05-16 00:53:39 +02:00
Eugene Sandulenko
c07f28a6b0
SLUDGE: Revert the background transparency fix as that messes with some backgrounds
2021-05-16 00:37:12 +02:00
Eugene Sandulenko
524193ac26
SLUDGE: Rename loadsave.* -> saveload.* for consistency
2021-05-15 17:17:23 +02:00
Eugene Sandulenko
bc38a0a08c
SLUDGE: Implement FADE transition
2021-05-15 00:10:01 +02:00
Eugene Sandulenko
7ee172b47f
SLUDGE: Fixing backdrop transparency. Now parallax works as expected
2021-05-14 18:49:02 +02:00
Eugene Sandulenko
b108f1377e
SLUDGE: Further work on parallax rendering
2021-05-14 01:01:58 +02:00
Eugene Sandulenko
98b0fe53bc
SLUDGE: Added more debug output to parallax drawing
2021-05-14 01:01:58 +02:00
Eugene Sandulenko
90a998f742
SLUDGE: Added debug ouptut to parallax drawing
2021-05-14 01:01:58 +02:00
Eugene Sandulenko
836825abcf
SLUDGE: Merge Parallax stuff back into GraphicsManager
2021-05-14 01:01:58 +02:00
Eugene Sandulenko
51d56fdcea
SLUDGE: Implement handling MOD track starting playback position
2021-05-14 01:01:58 +02:00
Eugene Sandulenko
cfaa0fd4be
SLUDGE: Loop MOD playback
2021-05-13 02:10:18 +02:00
Eugene Sandulenko
b93aa9b05d
SLUDGE: Fix transparency handling
2021-05-12 23:19:19 +02:00
Eugene Sandulenko
7d61637afd
SLUDGE: Renamed debug channels and disabled the pre-enabled ones
2021-05-12 23:19:19 +02:00
Eugene Sandulenko
84cc106cc5
SLUDGE: Plug memory leak
2021-05-10 13:58:25 +02:00
Eugene Sandulenko
77bfebb317
SLUDGE: Fix potential NULL dereference
2021-05-10 13:58:25 +02:00
Eugene Sandulenko
6dcf0939bf
SLUDGE: Fix potential buffer overrun
2021-05-10 13:58:25 +02:00