Commit Graph

434 Commits

Author SHA1 Message Date
sluicebox
52df57691a SLUDGE: Remove delete nullptr. PVS-Studio V575 2024-03-20 17:31:03 -07:00
polyesterswing
4da1a93e3a SLUDGE: Add support for MO3 files using libopenmpt 2024-02-21 18:45:25 +01:00
polyesterswing
ea03d64b62 AUDIO: Rename impulsetracker to universaltracker 2024-02-21 18:45:25 +01:00
Le Philousophe
6ad766f8d8 SLUDGE: Migrate engine to Path 2023-12-24 13:19:25 +01:00
Walter Agazzi
49c17570ce SLUDGE: Add detection entry for older Out Of Order 2023-12-21 15:23:49 +01:00
polyesterswing
da6122fdec SLUDGE: Fix drawModeDark colourmix values by swapping them
In Out of Order, if you visit the alley that goes to the surgery you
will notice a jarring transition between colours on Hurford.
2023-12-14 18:24:56 +01:00
sluicebox
cfdcfe80a7 SLUDGE: use delete[] in blurScreen 2023-12-09 21:47:57 -08:00
sluicebox
a58ec73e66 SLUDGE: Fix memory leaks on error. PVS-Studio V773 2023-12-05 09:24:32 -08:00
sluicebox
fb3873e9be SLUDGE: Fix memory leak in transition
Coverity CID 1453184
2023-11-29 06:54:30 -08:00
polyesterswing
ab096190e6 SLUDGE: Fix bug caused by getTextFromAnyVar in a debug context
In Out of Order, you could not walk/talk to "Urban Leopard".
2023-11-25 00:32:06 +01:00
Eugene Sandulenko
347189b3c0
SLUDGE: Added Parallax demo to detection tables 2023-11-23 22:54:41 +01:00
Eugene Sandulenko
be99814474
SLUDGE: Added alt version of cubert. Bug #13468 2023-11-23 22:54:41 +01:00
Eugene Sandulenko
ab59f3a70d
SLUDGE: Replace detection entries with macros 2023-11-23 22:54:41 +01:00
Eugene Sandulenko
fad953b088
SLUDGE: Sort saves alphabetically, matching the original behaviour 2023-11-22 18:42:41 +01:00
D G Turner
01146be02a SLUDGE: Fix Signed vs. Unsigned Comparison GCC Compiler Warning 2023-11-19 23:57:21 +00:00
Eugene Sandulenko
3af9cc0bf8
SLUDGE: Fix out-of-bounds read when redering ZBuffer
Fixed crash at the end credits in outoforder. Bug #13708
2023-11-19 17:36:19 +01:00
polyesterswing
fa57a73704 SLUDGE: Fix bug in logic for removing objects
In frasse 1.03, if you go up then right and try to pick up the box, the
game would sometimes crash.
2023-11-19 17:17:12 +01:00
polyesterswing
2b7b405ad9 SLUDGE: Fix out of bounds read in Z-Buffer code
When window dimensions and scene dimensions are not equal, an out of
bounds read occurred.

In frasse, if you were to go up, left and then left again, you will
arrive on a scene with a mountain. This scene uses a z-buffer wider
than the screen width. This caused issues with the existing z-buffer
code.
2023-11-18 19:18:17 +01:00
polyesterswing
cc714bd989 SLUDGE: Fix shadow flickering in frasse
Opening the action menu would cause frasse's shadow to flicker. It would
go on top and below the sprite.
2023-11-18 19:17:47 +01:00
polyesterswing
f4cb7056b2 SLUDGE: Fix bg_effects by using ARGB instead of RGBA 2023-11-18 00:54:08 +01:00
polyesterswing
4715ba368b SLUDGE: Fix greeting saving and loading in Mandy 2023-11-15 23:56:58 +01:00
polyesterswing
00e72a1700 SLUDGE: Use a byte array instead of a double array for the Z-Buffer 2023-11-15 16:15:18 +01:00
polyesterswing
e774d8ba96 SLUDGE: Add Z-Buffers
This commit removes the "SpriteLayer" logic previously used in favour of
a Z-Buffer implementation
2023-11-15 16:15:18 +01:00
Eugene Sandulenko
e3409e8cb3
SLUDGE: Add function number to the trace output 2023-11-08 12:26:00 +01:00
Eugene Sandulenko
70446d752d
SLUDGE: Hid stack debug stack printing behind debugflag 2023-11-05 20:30:18 +01:00
Eugene Sandulenko
30bf80bfe6
SLUDGE: Fix crash on function exiting
We were deleting the current function in finishFunction() and
referred to it after for debug printing
2023-11-05 20:25:30 +01:00
Eugene Sandulenko
2e549c3692
SLUDGE: Fix warnings 2023-11-05 19:39:37 +01:00
Eugene Sandulenko
76523083ff
SLUDGE: More execution debug output 2023-11-05 19:32:09 +01:00
Eugene Sandulenko
20281859fa
SLUDGE: Print more of execution state 2023-11-05 19:18:10 +01:00
Eugene Sandulenko
d3adb6329b
SLUDGE: Print out stack during execution 2023-11-05 19:00:28 +01:00
sluicebox
fc32df7533 SLUDGE: Fix memory leak on error. PVS-Studio V773 2023-10-30 11:28:14 -07:00
Eugene Sandulenko
23a87e9f2d
SLUDGE: Include managed_surface.h instead of transparent_surface.h 2023-10-29 01:12:06 +02:00
Eugene Sandulenko
7fa7f68308
SLUDGE: Fixes to ManagedSurface switch. Courtesy of ccawley2011 2023-10-24 19:48:24 +02:00
polyesterswing
b292e202ce SLUDGE: Replace TransparentSurfaces with ManagedSurfaces 2023-10-24 18:31:31 +02:00
Kaloyan Chehlarski
23e58fc250 SLUDGE: Fix another crash when drawing text
This is a more complete fix for the crash that happens
when attempting to draw a sprite with a dimension of
size 0 (e.g. the space character in Out of Order's font). This
fix targets the other two functions that can draw text,
pasteSpriteToBackDrop() and burnSpriteToBackDrop().
2023-10-22 00:25:56 +03:00
Kaloyan Chehlarski
0622b3c341 SLUDGE: Fix crash when drawing text
The space character in Out of Order has a height of 0,
which caused a divide by zero error further down the chain
in the blitting code.  Instead of attempting to draw,
fontSprite() now simply skips them.
2023-10-21 20:36:01 +03:00
Eugene Sandulenko
e1870d6efc
SLUDGE: Improved execution logs 2023-10-02 00:13:55 +02:00
Wyatt Radkiewicz
41a942c5ce ALL: Renamed TS_ARGB to MS_ARGB 2023-08-13 00:22:10 +02:00
Sebastian Krzyszkowiak
4b15de35f7 SLUDGE: movie: Allocate substream on heap
MKVDecoder takes ownership of the passed stream, it can't be allocated
on the stack. This fixes a crash in MKVDecoder destructor.
2023-07-22 12:51:21 +02:00
iced coke
195e54f929 SLUDGE: Add versions and platform to v 1.0 outoforder detection 2023-05-14 22:48:07 +02:00
iced coke
6a8d3452ab SLUDGE: Add game to detection table. 2023-05-14 22:48:07 +02:00
Eugene Sandulenko
934487e231
SLUDGE: Small improvements to debug messages and cleanup 2023-03-29 23:56:36 +02:00
iced coke
681f8f2e40
SLUDGE: Implement .ogg sounds playback 2023-03-29 23:52:46 +02:00
Eugene Sandulenko
d71f363b20
SLUDGE: Probe MOD files before attempt to play 2023-03-25 01:55:23 +01:00
Harishankar Kumar
68bae81aff SLUDGE: Add support for impulse tracker mod files in sound 2023-03-24 23:59:53 +01:00
Donovan Watteau
be32da39cd SLUDGE: Fix "an" typo 2023-03-16 14:47:28 +01:00
hax0kartik
234e1cac49 SLUDGE: Skip movie incase scummvm isn't built with libvpx as a dependancy 2023-03-05 21:29:03 +01:00
hax0kartik
5351c8b33d SLUDGE: Convert unnecessary warnings to debugs 2023-03-05 21:29:03 +01:00
hax0kartik
a121c1034a SLUDGE: Close resources properly in stopMovie() 2023-03-05 21:29:03 +01:00
hax0kartik
434d82a9bb SLUDGE: Only scale if required 2023-03-05 21:29:03 +01:00