116469 Commits

Author SHA1 Message Date
Eugene Sandulenko
7d61637afd
SLUDGE: Renamed debug channels and disabled the pre-enabled ones 2021-05-12 23:19:19 +02:00
Mathias Parnaudeau
deefffd983 GRAPHICS: Fix leak in managed surface
In the case of the ManagedSurface constructor from a Surface object,
_disposeAfterUse is not initialized. But more, copyFrom() sets
_disposeAfterUse to YES after allocation of buffer. And then,
after the call to copyFrom, _disposeAfterUse was set to NO, what
made the pixels buffer not freed.
2021-05-12 14:10:26 +03:00
Mathias Parnaudeau
032d030060 GUI: Fix leak of ManagedSurface in PicButtonWidget
Opening the load dialog, to display thumbnails into PicButtonWidget objects,
a call to setGfx creates a temporary ManagedSurface from a Surface but is
not instantiated, so not freed.

Same fix applied in GraphicsWidget which code is the same and reported
as potential memory leak by clang-tidy.
2021-05-12 10:40:56 +02:00
Paul Gilbert
59c9d26963 AGS: Fix Kathy Rain demo detection entry 2021-05-11 22:10:01 -07:00
Paul Gilbert
f13617f3e3 NUVIE: Add back missing check for skip_intro 2021-05-11 21:41:10 -07:00
Thierry Crozat
43e4991a97 AGS: Move Kathy Rain detections to commercial games section 2021-05-11 12:42:52 +01:00
Thierry Crozat
cc5d78b957 AGS: Use modified agsspritefont plugin for the Kathy Rain demo 2021-05-11 12:42:52 +01:00
Eugene Sandulenko
991b579fce
PINK: Switch whole engine to MemoryReadStream 2021-05-10 18:30:33 +02:00
Eugene Sandulenko
a2b1164fe9
PINK: Preload sounds to avoid race condition.
Since we were reading directly from the ORB file, during video playback
we were reading both sound and video which often was leading to
the incorrect reads
2021-05-10 16:01:23 +02:00
Eugene Sandulenko
dc94b96a95
GRAPHICS: MACGUI: Fixed other cases of off-screen rendering 2021-05-10 14:08:30 +02:00
Eugene Sandulenko
6d82d40db6
GRAPHICS: MACGUI: Fix out-of-screen rendering when submenus are wider than screen 2021-05-10 13:58:26 +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
ScummVM-Translations
8321efe0ed I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2021-05-10 08:23:57 +00:00
Matthew Duggan
f7e07c0eb0 ULTIMA8: Fix uninitialized members identified by Coverity 2021-05-10 14:54:16 +09:00
Matthew Duggan
ebbfb88174 ULTIMA8: Fix array size, thanks Coverity. 2021-05-10 14:51:37 +09:00
Matthew Duggan
b73d04844e ULTIMA8: Avoid small leak on invalid data 2021-05-10 14:51:05 +09:00
Matthew Duggan
f456e268ec ULTIMA8: Avoid potential null reference 2021-05-10 14:50:36 +09:00
Matthew Duggan
927e7ca3b0 ULTIMA8: Add comments about some Remorse intrinsics 2021-05-10 11:47:51 +09:00
Matthew Duggan
4cb6c0a087 ULTIMA8: Add a TODO for No Regret 2021-05-10 11:47:51 +09:00
ScummVM-Translations
d60abf0cc2 I18N: Update translations templates 2021-05-09 23:27:04 +00:00
ScummVM-Translations
8ce8cc1307 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2021-05-09 23:27:03 +00:00
Eugene Sandulenko
ef4f019125
SAGA: Added support for Russian ITE fan-translation 2021-05-10 01:26:21 +02:00
VAN-Gluon
f95d30daec I18N: Update translation (Japanese)
Currently translated at 100.0% (1637 of 1637 strings)
2021-05-09 16:25:12 +00:00
Kaloyan Chehlarski
aa2b2d4178 GRAPHICS: Compile SJIS code when building AGOS
SJIS code only gets built when it's needed by an engine, but AGOS
wasn't marked as one of the engines that requires it, breaking static
engine builds.
2021-05-09 15:13:37 +03:00
Eugene Sandulenko
19512b261a
CONFIGURE: Improve endianness check. Courtesy of Fedora 2021-05-09 12:58:11 +02:00
ScummVM-Translations
964fd7722a I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2021-05-09 08:43:40 +00:00
Matthew Duggan
3febff9639 ULTIMA8: Fix off-by-one glob egg calculation for Crusader
This caused elevator doors to not close properly as the poles either side were
off by 1 pixel and blocked the creation of the door objects.
2021-05-09 17:41:31 +09:00
Matthew Duggan
47d8b281c7 ULTIMA8: Only move Crusader camera if position is valid.
This avoids strange results if you try to move the camera while the avatar has
temporarily been moved to 0,0,0.
2021-05-09 17:41:05 +09:00
ScummVM-Translations
68351f10db I18N: Update translations templates 2021-05-09 04:11:39 +00:00
Matthew Duggan
cf7ae46475 ULTIMA8: Adjust Crusader step tests to match original 2021-05-09 13:09:08 +09:00
Matthew Duggan
6f5538ab4d ULTIMA8: Fix actor anim speed in Crusader 2021-05-09 12:04:25 +09:00
Matthew Duggan
26f936510f ULTIMA8: Implement "cruStasis", stops some key events
The main bugs that this fixes are when using a remote camera:
* Z should not recenter camera on avatar
* Escape should close remote viewing, not open menu
2021-05-09 09:08:31 +09:00
Matthew Duggan
bda1466e0a ULTIMA8: Fix Crusader items reappearing after exploding 2021-05-09 08:17:01 +09:00
Matthew Duggan
137fa8ea29 ULTIMA8: Implement 'grab' operation for Crusader games
Since it only works on loose items and not for searching boxes etc, it's
actually not so useful, but implemented for completeness.
2021-05-09 07:48:26 +09:00
Matthew Duggan
cf085788c2 ULTIMA8: Add Crusader key for using energy cube
Had to reassign the "paint editor items" debug key because it was using 'e',
which we need.
2021-05-09 07:31:43 +09:00
Matthew Duggan
d83ccb7e9b ULTIMA8: Default to no mouse cursor in Crusader 2021-05-09 07:31:43 +09:00
Matthew Duggan
f5c4374888 ULTIMA8: Refactor so all Crusader movies get subtitles
Previously there was a bit of duplication, and Weasel and the intro movies
didn't get subtitles.  Cleaned up the code a bit and now all are treated
consistently.
2021-05-09 07:31:43 +09:00
Matthew Duggan
531ed6865b ULTIMA8: Add comment about iteration order
This function looks tempting to "optimize", by changing the order, so add a
warning for new adventurers.
2021-05-09 07:31:43 +09:00
ScummVM-Translations
cbb3346210 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2021-05-08 22:22:16 +00:00
Le Philousophe
8a67d8913e BASE: Fix segmentation fault when detection plugin cannot be found
This could happen if some engine plugin is placed in a build where
detection was not compiled in
2021-05-08 23:45:57 +02:00
Le Philousophe
1ac759abdc BASE: Load all plugins linked inside detection plugin
This was done in UncachedPluginManager but not in PluginManager
2021-05-08 23:45:39 +02:00
ScummVM-Translations
471cf9624c I18N: Update translations templates 2021-05-08 20:58:42 +00:00
Thierry Crozat
bf406f66c0 BACKENDS: SDL: Do not allocate memory in SurfaceSdlGraphicsManager::getSupportedGraphicsModes 2021-05-08 21:58:30 +01:00
Mathias Parnaudeau
800c673b62 BACKENDS: SDL: Fix memory leak in supported graphics modes
Supported graphics modes are grouped in an merged array in which
the first part contains modes from the non-OpenGL SDL manager,
obtained by a copy dynamically allocated.

When the array was rebuilt or aimed to be destroyed, it was only
cleared (removing elements) but not freeing duplicated fields
name and description.

An additional leak came from the temporary array (srcModes)
not freed.
2021-05-08 21:58:30 +01:00
ScummVM-Translations
2fb55a1505 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2021-05-08 11:43:53 +00:00
Eugene Sandulenko
62dc0ff8bd
SLUDGE: Fix zbuffer ordering 2021-05-08 13:43:29 +02:00
Eugene Sandulenko
8880eceaa7
SLUDGE: Reduce header dependency 2021-05-08 13:43:29 +02:00
Eugene Sandulenko
9759e9d131
SLUDGE: Dump zbuffer data 2021-05-08 13:43:29 +02:00