Commit Graph
137148 Commits
Author SHA1 Message Date
ScummVM-Translations 058640dbf6 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-06-12 12:01:43 +00:00
antoniou79 7cb8dc53d6 BLADERUNNER: Fix clearing loop value of queued track
This is an original bug. The loaded queued track becomes _current.

The new _current's loop value should not be forcedly cleared there.
2021-06-12 14:58:07 +03:00
antoniou79 d11765138c BLADERUNNER: Fix bugs for adjustpan, adjustvolume.
This is based in the original code. The bugs were ScummVM Engine specific, probably due to mistyping.
2021-06-12 14:58:07 +03:00
antoniou79 5ab6c92f99 BLADERUNNER: Add a reset() method for Music
Similar to the original source code
2021-06-12 14:58:07 +03:00
antoniou79 1a25c2b69a BLADERUNNER: Remove timerprocs for next track and fadeout
The timers are replaced with "application" timers, which are checked in AudioMixer::tick()

The timerprocs for next and fadeout could potentially cause a game freeze.
This is because they could, under certain race conditions, come to a deadend
while trying to lock the mutexes for access to AudioMixer and Music methods.
The particular use case (non-deterministic) for this was loading a save game
while playing a game that had a music track playing (eg. at MA05, McCoy's balcony).
Here's a rough explanation of a possible lock situation (others could also be possible)
The "Main Thread" and "SDLTimer" threads (as reported from MSVC debug) could become hardlocked.
::Main Thread::
	A. LoadGame() calls _music->stop(0u);
		A1. Locks a Music::_mutex
		A2. Calls vm->_audioMixer->stop()
		A3. AudioMixer::stop() locks AudioMixer::_mutex [THIS DONE]
		A4. calls the endCallback for the music which is Music::ended()
			at Music::ended,
			A41. lock a Music::_mutex (presumably this is ok, even though it's a second lock, because it's the same thread(?))
			A42. call installTimerProc()
				A421. which tries to lock DefaultTimerManager::_mutex from default-timer [THIS FREEZES] - conflict with B11
::SDLTimer::
	B. calls timer_handler,
		B1. calls DefaultTimerManager::handler()
			B11. locks the DefaultTimerManager::_mutex from default-timer [THIS IS DONE]
			B12. we try to service the callbacks from TimerProcs that are currently entered in the TimerSlots queue
				B121. Such a slot is the AudioMixer BladeRunnerAudioMixerTimer, which has the AudioMixer::timerCallback()
				B1211. which calls the at AudioMixer::tick().
						tick() tries to lock the AudioMixer::_mutex [THIS FREEZES] conflict with A3
2021-06-12 14:58:07 +03:00
antoniou79 346fe3722d BLADERUNNER: Fix transition to MA05 for act 5
Pending some testing on slow devices
2021-06-12 14:58:07 +03:00
antoniou79 4e32ee564f BLADERUNNER: Rename two flags and add some comments
Related to Guzza's dialogue in PS4
2021-06-12 14:58:07 +03:00
antoniou79 54ecf13bdd BLADERUNNER: Another minor possible optimization
Really minor, but maybe there's gain in low performing devices since the function is called very often
2021-06-12 14:58:07 +03:00
antoniou79 61d66fca74 JANITORIAL: BLADERUNNER: Fix indendation for switch clause 2021-06-12 14:58:07 +03:00
ScummVM-Translations dbb6f26226 I18N: Update translations templates 2021-06-12 11:15:41 +00:00
Torbjörn Andersson f7b96c57f7 MT32: Don't show LCD messages on-screen if they contain only spaces
E.g. the first message in Operation Stealth. It just looks like
something went wrong.
2021-06-12 13:14:51 +02:00
Annick Ecuyer 8c0c91fe94 AGS: Add ags_fire and ags_agi plugin stubs (AGS_Fire.dll + ags_agi.dll)
* AGS_Fire: Doesn't do anything, but allows games using plasma fire
   effects to load and run.

   All methods return 0

 * AGS_AGI: Allows games who use AGI lowres effects to load and run.

   Games using scaling mode 0 will be squashed on the screen, but others
   should be playable without the screen effect.
2021-06-11 18:54:48 -07:00
Filippos Karapetis 9ec9b287a6 TRECISION: Fix alt room initialization
A regression from 9052efb497, which ended
up initializing the rooms all the time
2021-06-12 02:29:17 +03:00
Filippos Karapetis 2b308727ee TRECISION: Rename the filedump dumpfile, add a dumpanim command 2021-06-12 01:19:48 +03:00
SupSuper 2caa965b30 TRECISION: Fix subtitle crash
SDText::calcHeight uses _rect so we have to reset it one at a time
2021-06-11 23:15:31 +01:00
ScummVM-Translations 8936c4b55e 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-06-11 21:05:55 +00:00
Filippos Karapetis 0effa2f103 TRECISION: Make _sortTableReplay private 2021-06-12 00:05:28 +03:00
Filippos Karapetis 271ee6ab89 TRECISION: Change _inventorySpeed into a static const 2021-06-12 00:05:28 +03:00
Filippos Karapetis ff97b24f09 TRECISION: Remove the now redundant maskMouse variable 2021-06-12 00:05:27 +03:00
ScummVM-Translations ae991474d9 I18N: Update translations templates 2021-06-11 20:20:16 +00:00
Filippos Karapetis 24d791ba76 TRECISION: Remove superfluous inventory state variables 2021-06-11 23:19:12 +03:00
Filippos Karapetis a8882c9478 TRECISION: Fix Joshua's action after combining inventory items
A regression from d334bb3cb8
2021-06-11 23:19:11 +03:00
ScummVM-Translations 434452dc81 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-06-11 17:55:53 +00:00
Lothar Serra Mari 28b835f0bf NEWS: Update German NEWS file 2021-06-11 19:55:31 +02:00
ScummVM-Translations ac276c35b8 I18N: Update translations templates 2021-06-11 15:54:21 +00:00
athrxx 4a6dbc73db AGOS: attempt to fix bug no. 12617 ("AGOS: Deadlock when shutting down game")
I have also made the necessary changes to the PC-98 audio drivers which were written to work around the current situation, but now also need a different order in the destructors.
2021-06-11 17:49:33 +02:00
Walter Agazzi dda5f4e98b I18N: Update translation (Italian)
Currently translated at 100.0% (1643 of 1643 strings)
2021-06-11 14:42:51 +00:00
SupSuper 03fae0e5d1 TRECISION: Enable Nightlong testing 2021-06-11 14:47:31 +01:00
SupSuper 2f59326ab9 NEWS: Added Nightlong 2021-06-11 14:47:31 +01:00
Matthew Duggan a8e83a86b0 ULTIMA8: Call full code for enterFastArea from intrinsic
Previously we just spawned the usecode event, but to be faithful to the
original the intrinsic should do everything in Item::enterFastArea.

This also adds a workaround for a bug that was occasionally triggered when
returning to the rebel base in Crusader: No Remorse, and fixes an original game
bug in the process.
2021-06-11 22:12:11 +09:00
Eugene Sandulenko 96c5f721db NEWS: Mention Jap Mac Dig support 2021-06-11 12:31:32 +02:00
Eugene Sandulenko 44fbf427ef SCUMM: Added support for Japanese Mac Dig 2021-06-11 12:31:32 +02:00
alxpnv 71f3d82c81 ASYLUM: rename Scene::pointIntersectsRect() to pointBelowLine() 2021-06-11 13:29:31 +03:00
alxpnv 75c1b820ea ASYLUM: rename two ActorStatus values and related opcodes
kActorStatusPickupItem -> kActorStatusStoppedInteracting
kActorStatus20 -> kActorStatusStoppedHitting

Interact -> WalkToActor
UpdateActor -> Interact
2021-06-11 13:29:30 +03:00
Torbjörn Andersson b09968768a TITANIC: Make Esc at the start-up dialog quit the game
I.e. the dialog you get if you have saved games, where the game asks you
if you want to load or start a new game. Before, it would just make the
dialog unresponsive if you pressed Esc.
2021-06-11 08:18:49 +02:00
Daniel Kamil Kozar e12c0f3f4e STARTREK: Fix format-security warnings 2021-06-11 06:22:47 +01:00
Paul Gilbert 49e8ae92c1 AGS: Added detection entries 2021-06-10 18:27:18 -07:00
Annick Ecuyer 1fe46a61f2 BASE: Added --engine=ID for --list-all-games and --list-games
For the command line, lists games only for the specified engine.
(optional)
2021-06-10 22:42:39 +01:00
sluicebox 816f65cd68 SCI: Remove AIFF handling from SCI16 code
Only SCI32 Mac games use AIFF audio. This should have been
removed when SCI32 code was moved into its own classes.
2021-06-10 14:28:15 -06:00
sluicebox 77cfab947a BASE: Fix debug levels parameter name 2021-06-10 10:47:42 -06:00
sluicebox 90f836a342 GUI: Revert clearing debug flags on save/load dialog
Fixes clearing all debug flags set on the command line
whenever the ScummVM save/load dialog is displayed from
within a game.

This reverts commit 1c4e15599f
2021-06-10 10:43:22 -06:00
djsrv dc95314c1a DIRECTOR: LINGO: Add delete tests 2021-06-10 11:52:52 -04:00
djsrv a2d35bbdf3 DIRECTOR: LINGO: Temporarily disable evaluation in c_eval 2021-06-10 11:52:36 -04:00
djsrv e3f75a9bc4 DIRECTOR: LINGO: Implement b_delete/cb_delete 2021-06-10 11:51:50 -04:00
djsrv b5767a793c DIRECTOR: LINGO: Ignore non-existent chunks in b_hilite 2021-06-10 10:58:27 -04:00
djsrv 5e1a0d5ddc DIRECTOR: LINGO: Use Common::isSpace to detect word boundaries 2021-06-10 10:58:27 -04:00
djsrv 85a2bf6d7d DIRECTOR: LINGO: Implement b_hilite/c_hilite 2021-06-10 10:58:27 -04:00
djsrv 7baac7da4d GRAPHICS: MACGUI: Fix out of bounds array access 2021-06-10 10:58:27 -04:00
djsrv 8ac995cf8a GRAPHICS: MACGUI: Allow selection to be drawn on inactive text
Hilite can select text on an inactive text field
2021-06-10 10:57:19 -04:00
djsrv eee17da97a DIRECTOR: Add Score::getSpriteIdByMemberId 2021-06-10 10:57:19 -04:00