Commit Graph

149953 Commits

Author SHA1 Message Date
scemino
70b4b442e0 TWP: Add stats and fix performance issues 2024-03-21 20:46:10 +01:00
scemino
c40c59845f TWP: Don't allow to point object when over HUD 2024-03-21 20:46:10 +01:00
Orgad Shaneh
4fa89cd73d CREATE_PROJECT: Move resource embeds from MSVC to general project
It is also needed for CMake project.

Amends commit 4dc9ef2771.
2024-03-21 18:06:01 +02:00
sluicebox
c5995d64e7 AGI: Refactor away agiDetectGame 2024-03-21 07:37:27 -07:00
Walter Agazzi
2ae4cb8acb MM: Add detection entry for spanish Xeen
TRAC #14976
2024-03-21 13:03:09 +01:00
scemino
6924e2e924 TWP: Disallow to exec verb/walk when clicking in HUD 2024-03-21 12:52:26 +01:00
scemino
f2eea8952e TWP: Fix calling the 'Finalize' virtual function in the destructor in SQVM. PVS-Studio V1053 2024-03-21 12:52:26 +01:00
neuromancer
e8550f040c FREESCAPE: initial eclipse support for cpc 2024-03-21 09:18:49 +01:00
neuromancer
bbb35a5ed7 FREESCAPE: play the intro in eclipse 2 for zx 2024-03-21 09:18:49 +01:00
neuromancer
03cb4e1789 FREESCAPE: initial support for eclipse 2 in zx 2024-03-21 09:18:49 +01:00
neuromancer
64627cb38e FREESCAPE: added full release of eclipse for zx 2024-03-21 09:18:49 +01:00
neuromancer
d88e762063 FREESCAPE: improved zx sound emulation using pc speaker 2024-03-21 09:18:49 +01:00
neuromancer
80d4e71d7f FREESCAPE: fixes for end game in dark and eclipse 2024-03-21 09:18:49 +01:00
sluicebox
9795144183 AGI: Implement motion/cycler overwrite behavior
- Fixes Black Cauldron witches not disappearing at end of game
- Properly fixes Donald Duck's Playground intro, bug #14170
- Continues to fix KQ1 eagle jump, bug #7046

Big thanks to @AGKorson for providing detailed information on this
interpreter behavior, script analysis, and maintaining excellent
AGI documentation in WinAGI.

See also:
8a595e7771
5484f0bc58
cc7cbfe626
2024-03-21 10:02:02 +02:00
Robert Crossfield
1c73db207e AUDIO: Fix integer sign extension issue in RJP1 envelope scaling
Resolve an issue where the value was incorrectly treated as a signed integer during multiplication/division. This was causing fluctuations in volume, with levels varying up and down.

The original code reads the envelopeEnd(1 and 2) value as a byte, extends it to a word then ANDs it with 0x00FF before multiplying/dividing.
2024-03-21 08:58:13 +02:00
Xaviu
ac49f5925c I18N: Update translation (Catalan)
Currently translated at 82.3% (1753 of 2130 strings)
2024-03-21 05:42:32 +00:00
sluicebox
52df57691a SLUDGE: Remove delete nullptr. PVS-Studio V575 2024-03-20 17:31:03 -07:00
sluicebox
a74857e957 PRINCE: Remove delete nullptr. PVS-Studio V575 2024-03-20 17:31:03 -07:00
sluicebox
754632401f PINK: Remove delete nullptr. PVS-Studio V575 2024-03-20 17:31:03 -07:00
sluicebox
98db6aa402 KYRA: Remove delete nullptr. PVS-Studio V575
`releaseShpArr` deletes the pointer and sets it to nullptr
2024-03-20 17:26:47 -07:00
sluicebox
969cb1e426 HDB: Remove delete nullptr. PVS-Studio V575 2024-03-20 17:24:33 -07:00
sluicebox
19ba917d5a CGE: Remove delete nullptr. PVS-Studio V575 2024-03-20 17:24:33 -07:00
sluicebox
de6c73a2ee BURIED: Remove delete nullptr. PVS-Studio V575 2024-03-20 17:24:33 -07:00
athrxx
6857eb56ba SCUMM: (LOOM/EGA/AMIGA) - add missing shadow mode
(bug no. 15030)

I have verified that neither the FM-Towns versions nor
INDY3 VGA have that mode. I don't know about Indy 3 EGA
(I presume not, but it would be worth checking).

I have verified (as can be seen in the ticket) that the original
seems to glitch on that new shadow mode in varying ways.
I haven't found the cause of it yet (current state of guessing:
glitchy text mask). And I am not sure if we need to replicate
the glitch, anyway...
2024-03-20 23:26:09 +01:00
D G Turner
0d68f7d39a GRAPHICS: Fix Signed vs. Unsigned Comparison GCC Warnings 2024-03-20 22:16:45 +00:00
Timo Mikkolainen
a3f84ddbb0 I18N: Update translation (Finnish)
Currently translated at 100.0% (2130 of 2130 strings)
2024-03-20 21:32:13 +00:00
scemino
eba7f620f6 TWP: Fix unchecked return value in drawThreads.
Coverity CID 1540549
2024-03-20 22:31:04 +01:00
scemino
9eaeb40184 TWP: Fix uninitialized scalar field _useFlag in TwpEngine.
Coverity CID 1540545
2024-03-20 22:31:04 +01:00
scemino
0982630cb6 TWP: Fix various unchecked return value.
Coverity CID 1540595
2024-03-20 22:31:04 +01:00
scemino
d2b9ab6555 TWP: Fix unchecked return value in playSound.
Coverity CID 1540599
2024-03-20 22:31:04 +01:00
scemino
245a9be961 I18N: Fix some translations (French) 2024-03-20 22:31:03 +01:00
scemino
04dc33b870 TWP: Fix calling the 'Finalize' virtual function in the destructor in SQClass. PVS-Studio V1053 2024-03-20 22:31:03 +01:00
D G Turner
6d7e929197 GRIM: Fix GCC Unused Variable Warnings 2024-03-20 18:50:57 +00:00
scemino
60f9ee404b TWP: Fix unchecked return value in sqcallfunc
Coverity CID 1540601
2024-03-19 21:54:41 +01:00
scemino
36ea5f1e13 TWP: Fix loadStream return value in ResManager
Coverity CID 1540625
2024-03-19 21:49:56 +01:00
scemino
0be050ff9d TWP: Fix uninitialized field in GGFont
Coverity CID 1540630
2024-03-19 21:46:42 +01:00
scemino
a08e11aedf TWP: Fix big parameter passed by value in TextNode
Coverity CID 1540556
2024-03-19 21:42:41 +01:00
scemino
7604305b88 TWP: Fix memory leak in savegame
Coverity CID 1540629
2024-03-19 21:37:50 +01:00
scemino
0b574ab76b TWP: Fix memory leak in capture
Coverity CID 1540483
2024-03-19 21:31:57 +01:00
scemino
cdc8d16fd5 TWP: Fix '_sharedstate' overwrites field in base class in squirrel. PVS-Studio V703 2024-03-19 21:01:14 +01:00
scemino
2cc5615042 TWP: Fix 'sqvector' constructor contains potentially uninitialized members in squirrel. PVS-Studio V1077 2024-03-19 21:01:14 +01:00
scemino
827b7ae5a8 TWP: Fix 'sqvector' lacks the copy assignment operator in squirrel. PVS-Studio V690 2024-03-19 21:01:14 +01:00
scemino
aeee6ccc17 TWP: Fix array underrun is possible. The value of 'fpos' index could reach -1 in squirrel. PVS-Studio V557 2024-03-19 21:01:14 +01:00
scemino
d4b3907d84 TWP: Fix variables were assigned the same value. in squirrel. PVS-Studio V1048 2024-03-19 21:01:14 +01:00
scemino
df0d1cb8d4 TWP: Fix not all members of a class are initialized in squirrel. PVS-Studio V730 2024-03-19 21:01:14 +01:00
scemino
2e823bc6f6 TWP: Fix excessive checks can be simplified in squirrel. PVS-Studio V728 2024-03-19 21:01:14 +01:00
scemino
3f80e4a24b TWP: Fix calling the 'Finalize' virtual function in the destructor in SQVM. PVS-Studio V1053 2024-03-19 21:01:14 +01:00
scemino
f461e4bdca TWP: Fix the 'ci' pointer was utilized before it was verified against nullptr in squirrel. PVS-Studio V595 2024-03-19 21:01:14 +01:00
scemino
6d84bf32a7 TWP: Fix unreachable code detected in squirrel. PVS-Studio V779 2024-03-19 21:01:14 +01:00
scemino
4c3e77e568 TWP: Fix a variable is assigned to itself in squirrel. PVS-Studio V560 2024-03-19 21:01:14 +01:00