Commit Graph

142392 Commits

Author SHA1 Message Date
Harishankar Kumar
608beef745 DIRECTOR: Fix memory leak due to bad flag
ProjectorArchive was giving memory leak and build failures due to not deleting unwrapped stream after use
2023-05-29 19:36:15 +02:00
Harishankar Kumar
9955c95806 DIRECTOR: Add multiple resources in exe using ProjectorArchive
This patch uses ProjectorArchive to extract multiple resources embedded into executable files, additionally a new function getRawExe is defined which gets raw exe file name without --start-movie overriding it.
Solves the problem for finding multiple resource files like `ModTB.DXR` in 'mcluhan', uses 'mcluhan.exe' to extract resources and add them to SearchMan.
2023-05-29 19:36:15 +02:00
elasota
20ea82174f VCRUISE: Add more Schizm dubs 2023-05-29 11:20:58 -04:00
Antoniou Athanasios
76b12496b4 I18N: Update translation (Greek)
Currently translated at 100.0% (1932 of 1932 strings)
2023-05-29 10:06:18 +00:00
IlDucci
9e7d40d87c I18N: Update translation (Spanish)
Currently translated at 100.0% (1932 of 1932 strings)
2023-05-29 09:44:40 +00:00
ScummVM-Translations
1f2820a220 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/
2023-05-29 04:18:26 +00:00
Paul Gilbert
13e91fd29e MM: MM1: Capitalization fixes in text strings 2023-05-28 21:18:07 -07:00
ScummVM-Translations
82d54700a3 I18N: Update translations templates 2023-05-29 03:48:41 +00:00
Paul Gilbert
15d94ab08a MM: MM1: Add sound for bumping into walls 2023-05-28 20:48:28 -07:00
Paul Gilbert
aef18e3a25 MM: MM1: Add Clouds title music to Enhanced title screen 2023-05-28 20:48:28 -07:00
Paul Gilbert
7b4312311c MM: MM1: Clean up Enhanced requirements message 2023-05-28 20:48:28 -07:00
elasota
d3e2297fb1 VCRUISE: Adjust detection of English Schizm 2023-05-28 22:25:06 -04:00
PushmePullyu
bad85b3c9c SAGA: Fix use-after-free on handling actor action
On switching scenes:
Reset _actor->_lastZone in Actor::updateActorsScene().

Actors can store a pointer to a HitZone in _lastZone
(see Actor::handleActions()).

The HitZone pointed to is held by ObjectMap vm->_scene->_objectMap
in array _hitZoneList.

When changing scenes the array elements are cleared via
ObjectMap::clear() and _lastZone can become stale since
only some code paths reset it (e.g. Actor::takeExit()).

The stale pointer is then passed to Actor::stepZoneAction()
from Actor::handleActions() and dereferenced.

Fixes #13661
2023-05-28 23:32:20 +03:00
neuromancer
034df5c465 FREESCAPE: added better detection of driller releases for atari 2023-05-28 19:33:43 +02:00
neuromancer
415efcc2c9 FREESCAPE: added code to decrypt some driller releases for atari 2023-05-28 19:33:43 +02:00
neuromancer
70c94e3a71 FREESCAPE: added code to decrypt dark for amiga/atari 2023-05-28 19:33:43 +02:00
elasota
c7b2b9c332 VCRUISE: Fix incorrect volume sliders when the sound volume has never been changed 2023-05-28 09:52:21 -04:00
elasota
0ae6fb3354 VCRUISE: Fix wrong music mute setting handling, flush config changes to disk when quitting 2023-05-28 09:44:22 -04:00
elasota
b8e4beafc5 VCRUISE: Fix wrong animation speed in rotate-to-play animations 2023-05-28 09:44:22 -04:00
Scott Percival
4bf4e4a4a0 DIRECTOR: Fixes based on feedback 2023-05-28 14:44:09 +02:00
Scott Percival
cf886b17e7 DIRECTOR: Fix regression in sprite dragging
Sprites with the movable attribute set do not need to be a puppet.
2023-05-28 14:44:09 +02:00
Scott Percival
4090a22782 DIRECTOR: Fix divide by zero 2023-05-28 14:44:09 +02:00
Scott Percival
96c33ca4e8 DIRECTOR: Fix D5 palette fade times 2023-05-28 14:44:09 +02:00
Scott Percival
9ec6722b6a DIRECTOR: Remove inkBlitStretchSurface()
No longer needed, the scaling should happen when updating the widget.

Fixes adjusting sprites with Lingo, such as in DEVO Presents:
Adventures of the Smart Patrol.
2023-05-28 14:44:09 +02:00
Scott Percival
bcb502d634 DIRECTOR: Move getRegistrationOffset and getBbox to CastMember 2023-05-28 14:44:09 +02:00
Scott Percival
9188159114 DIRECTOR: Move draw debugger to Window::render() 2023-05-28 14:44:09 +02:00
Scott Percival
4a85392dd9 DIRECTOR: Skip palette fades when the source and destination match
Fixes menu interactions in The Cute machine.
2023-05-28 14:44:09 +02:00
Harishankar Kumar
76d1590ccc GRAPHICS: Implement smartmenu for macpopups
Smartmenu implementation using offsetY to displace popup such that the previous selected item will fall onto cursor, includes checked item and highlighted.

For `Popup Menu` in theapartment, without this patch the second popmenu was not remembering the last selected item and was opening it from scratch, after this patch popupmenu will open from the last selected item already selected with checkbox.
2023-05-28 13:50:18 +02:00
Harishankar Kumar
fd5977b911 GRAPHICS: Add blinking animation when selecting item
Additional logic for drawing blinks when closing popup menu is added, closeMenu is overriden because it is called inside eventLoop and therefore need to be captured when closingMenu.

Add blinking animation support for macpopups, affects `Popup Menu` in theapartment, before this there was no animation when selecting item and the menu just used to immediately close, now however there is proper animation for item selection.
2023-05-28 13:50:18 +02:00
Harishankar Kumar
8aa6ed2110 DIRECTOR: Implement popupmenuxobj for macpopmenu
Implements xlib methods for popupmenu creation/item selection, uses macpopmenu internally.

Used for implementing 'Popup Menu'  in theapartment, with this popupmenu are working.
2023-05-28 13:50:18 +02:00
Harishankar Kumar
e12d3053cc GRAPHICS: Implement macpopupmenu while reusing macmenu
Added functions for menu drawing/selections, this uses the base functions of macmenu to implement mac-styled popupmenu's, also return selected item index/text.

Used by 'Popup Menu' in theapartment: With this changes the popupmenu is working with both item selectors, doesn't implement the icon selector.
2023-05-28 13:50:18 +02:00
Harishankar Kumar
014712bbc5 GRAPHICS: Add menu by id and support custom menu
Adds new function addMenu/getMenu with menu id to add custom menus.

Used when implementing macpopupmenu which reuses macmenu for theapartment.
2023-05-28 13:50:18 +02:00
Harishankar Kumar
5bb6e06624 GRAPHICS: Expose internal macmenu structs for reusing in popmenu
Exposed MacMenuItem, MacMenuSubMenu, MacMenuItem and MacMenuData to headers and changed visibility of needed functions to protected.

These structs and functions is used in popupmenu for reusing macmenu code.
2023-05-28 13:50:18 +02:00
Walter Agazzi
9f802a181e AUDIO: Skip JUNK padding in WAV files
Some wave files may contain a JUNK chunk before the
'fmt ' chunk, used for padding. This should be skipped when reading the header.
2023-05-28 13:56:59 +03:00
Eugene Sandulenko
70b1a4432a
GRAPHICS: MACGUI: Use proper check symbol in MacMenu 2023-05-28 12:54:06 +02:00
Eugene Sandulenko
e683f9e8d3
DIRECTOR: Fix text rendering test colors 2023-05-28 12:54:06 +02:00
Paul Gilbert
1ee13fc19f MM: MM1: Fix using items in original version 2023-05-27 21:50:23 -07:00
Paul Gilbert
8061e0bf5d MM: MM1: Fix displaying spell failures 2023-05-27 21:14:40 -07:00
Paul Gilbert
bf7171064a MM: MM1: Removed deprecated comment 2023-05-27 20:59:30 -07:00
Paul Gilbert
348951bfc2 MM: MM1: Fix selling items at blacksmith 2023-05-27 20:51:48 -07:00
Paul Gilbert
3f17e6daff MM: MM1: Fix char highlighting when switching in blacksmith items 2023-05-27 20:43:15 -07:00
elasota
468ac071db VCRUISE: Fix pointer cursor not showing if the mouse is moved over an open link while a barrier is animating 2023-05-27 20:26:27 -04:00
elasota
1477cb8f4c VCRUISE: Fix circuit puzzle highlights showing up after failing 2023-05-27 20:26:27 -04:00
D G Turner
501f5418ee WATCHMAKER: Further GCC Compiler Warning Fixes 2023-05-28 01:06:31 +01:00
elasota
d7509e6df6 VCRUISE: Add comment confirming that the existing behavior for handling duplicated functions correct 2023-05-27 19:16:40 -04:00
elasota
e6d86501c4 VCRUISE: Fix static animations playing at the wrong framerate 2023-05-27 18:41:49 -04:00
elasota
d4702c8c5a VCRUISE: Fix allowedSave opcode (actual behavior is that it permits saves on screens with no rotation animation) 2023-05-27 18:41:05 -04:00
D G Turner
c32aa4e4c6 WATCHMAKER: Fix Redundant Null Pointer Test GCC Compiler Warnings 2023-05-27 23:24:28 +01:00
elasota
e829070ba5 VCRUISE: Fix missing runScript function 2023-05-27 14:17:10 -04:00
elasota
d7b2fee0c2 NEWS: Add Schizm: Mysterious Journey support 2023-05-27 13:50:10 -04:00