aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-25SCI32: Add a game option to upscale videos in PQ:SWATFilippos Karapetis
Requested in enhancement #10713
2018-10-25SCI32: Add support for upscaling VMD videosFilippos Karapetis
This feature can be used for the Windows version of KQ7, as well as PQ:SWAT
2018-10-25I18N: Update translations templatesThierry Crozat
2018-10-24SURFACESDL: Respect filtering setting when performing aspect ratio correctionThierry Crozat
2018-10-24SCI32: Fix GK1 honfour keycard lockup (#1363)sluicebox
Fixes lockup in original game, bug #10767
2018-10-24SCI32: Fix GK1 missing points for Mosely/veve (#1362)sluicebox
Fixes missing points in english pc floppy version, bug #10763
2018-10-24SCI32: Fix an array initialization in the floppy version of QFG4Filippos Karapetis
The array used for the trap machine's messages outside Dr. Cranium's lab is set correctly now. Fixes bug #10766.
2018-10-23SCI: Script patch for LB1 input/collision lockups (#1353)sluicebox
Fixes 20+ lockups in the original game, bug #10733
2018-10-23SCI32: Promote Hoyle 5 game variants to ADGF_TESTINGFilippos Karapetis
2018-10-23SCI32: Disable the Poker game in Hoyle 5Filippos Karapetis
This game uses an external DLL, PENGIN16.DLL, which is invoked via kWinDLL. We need to reverse the logic in PENGIN16.DLL and call it directly, in order to get this game to work properly. Until then, this game entry will be disabled.
2018-10-23SCI32: Fix a script bug (typo) in Hoyle 5 - Old MaidFilippos Karapetis
2018-10-23SCI32: Always start in the Bridge room in Hoyle 5 BridgeFilippos Karapetis
It's the only game included, so there's no point showing the game selection menu in this case. This follows the behavior of the original
2018-10-23SCI: Fix spacingFilippos Karapetis
2018-10-23SCI: Script patch for LB1 candles, bug #10743 (#1355)sluicebox
Fixes a persistence bug in original game
2018-10-23SCI: GK1 workaround for iconbar uninit param readsluicebox
Uninitialized param1 read when showing iconbar with inventory item
2018-10-22GUI: Unset stretch-mode in game settings not overriding global settingsThierry Crozat
2018-10-22ENGINE: Allow stretch mode on a per-game basisTorbjörn Andersson
It was already possible to override the stretch mode per game in the options dialog, but this was ignored when starting the game from the launcher due to this bug.
2018-10-23SCI: Disable LB2 speed testsluicebox
Fixes bug #10761
2018-10-21SCI: Script patch for LB1 Lillian/bed, bug #10742sluicebox
Fixes wrong and missing messages in DOS version
2018-10-20LASTEXPRESS: save/load sound stateEvgeny Grechnikov
Warning: breaks compatibility with previous savefiles. They were mostly broken anyway, locking any NPC who waited for kActionEndSound when savefile was created.
2018-10-20LASTEXPRESS: loud train noise when NPC exits carEvgeny Grechnikov
If Cath stands near the beginning or the end of a car, looks at a door, and a NPC opens this door, the volume of train noise is temporarily raised. Controlled by variables SoundManager::_data{0,1,2}, renamed to be not so mysterious.
2018-10-19LASTEXPRESS: case-insensitive lookup in sound queueEvgeny Grechnikov
2018-10-19SCI32: Remove Invalid Windows Variant of Spanish GK1CD.D G Turner
The English version has both DOS and Windows datafile versions, but localized variants of GK1 are DOS only, so this is not a valid entry. This entry has duplicate detection checksums to the equivalent DOS entry and was originally added as a workaround which should now not be necessary.
2018-10-18HOPKINS: Add Graphics Screen Update Debugging Code.D G Turner
This is mainly to aid investigation of bug Trac #6310.
2018-10-18SCI: Fix Segfault When Using Console "show_map" Command on SCI32 games.D G Turner
The _gfxScreen instance is nullptr for SCI32 games, thus this console command previously caused a segfault.
2018-10-18I18N: Regenerate translations data fileThierry Crozat
2018-10-18IOS: Hide keyboard when rotating to landscapeJozef Legény
On iOS12 at least, the rotation did not force the keyboard to hide. This fix will force it to be retracted in landscape and restored when rotating back to the portrait position.
2018-10-17SHERLOCK: RT: Disable Loading from GMM During Prolog or Credits.D G Turner
Loading from the GMM during the prolog resulted in the mouse cursor getting stuck hidden and possibly other game state issues, so best to disable loading in these cases as already was done for saving. This fixes bug Trac #10746.
2018-10-18LASTEXPRESS: rnd() should not return a constantEvgeny Grechnikov
2018-10-18LASTEXPRESS: better names in sound codeEvgeny Grechnikov
Refactoring, no changes in behaviour.
2018-10-17LASTEXPRESS: support for looped soundsEvgeny Grechnikov
2018-10-17SWORD25: Fix Debug Console Activation via CTRL-d.D G Turner
2018-10-16I18N: Update translation (Danish)scootergrisen
Currently translated at 100.0% (1000 of 1000 strings)
2018-10-16LASTEXPRESS: dynamic adjusting of sound volumeEvgeny Grechnikov
Now it works just like in the original game, including fading where it is applicable (e.g. in a passengers list if closing the list while a sound is playing). By the way, p2s sequence is known as http://oeis.org/A000265 , p1s is 4 - A007814, and p2s[i]/2**p1s[i] is just i/16. It is time to get rid of these arrays.
2018-10-16I18N: Update translation (Danish)scootergrisen
Currently translated at 100.0% (1000 of 1000 strings)
2018-10-16LASTEXPRESS: support for delay-activated soundsEvgeny Grechnikov
Not very obvious, but noticeable e.g. when knocking on harem doors. I suppose this is the problem that wiki describes as "improper triggering of actions on sound end".
2018-10-16LASTEXPRESS: Remove Engine Specific All Debug Level.D G Turner
This is replaced by the global "all" option for debugflags and defining this triggers a warning about the conflict at runtime.
2018-10-16LASTEXPRESS: Fix Compiler Warning in Sound Code.D G Turner
The SoundFlag type is an enumeration which have a default underlying type of unsigned int in most case. Thus comparing this to -1 causes a compiler warning. Since the default entity sound flag type is 0xFFFF... which is equivalent to -1, then replacing this with the correct enum symbol fixes the issue and should result in the correct behaviour. Examination of the resulting code line seems to confirm that this is the correct expected logic.
2018-10-16LASTEXPRESS: drop sound threadEvgeny Grechnikov
The backend runs its own sound thread anyway, with the corresponding bookkeeping that we use. We don't need yet another sound thread, and it is always nice to not have something that could change our structures from underneath us.
2018-10-16LASTEXPRESS: fix race condition in sound codeEvgeny Grechnikov
SoundEntry::play() calls StreamedSound::setFilterId(), StreamSound::setFilterId() requires the underlying reference to be alive. SoundQueue::handleTimer() checks that the stream is still alive by calling SoundEntry::isFinished(). However, if the stream is finalized just between calls to SoundEntry::isFinished() and SoundEntry::play(), the sound mixer frees the stream leading to use-after-free in setFilterId(). Turn off the automatical disposing, delete the stream in SoundEntry::~SoundEntry().
2018-10-15I18N: Regenerate translations data fileThierry Crozat
2018-10-15SCI: Fix LB2 back rub east entrance bug #10729sluicebox
Fixes a lockup in the original game
2018-10-14LASTEXPRESS: Fix compilation with some compilersThierry Crozat
2018-10-14BACKENDS: Use OSystem::destroy() instead of deleting directly the g_system ↵Thierry Crozat
instance
2018-10-14COMMON: Add mutex to protect access to the String memory poolThierry Crozat
This fixes a crash due to concurrent access to the global MemoryPool used by the String class when String objects are used simultaneously from several threads (as is for example the case when enabling the cloud features). See bug #10524: Thread safety issue with MemoryPool
2018-10-14OSYSTEM: Add backendInitialized() functionThierry Crozat
Some feature, such as mutexes, are only available once the backend has been initialized. This new function can be used to avoid using those feature too early or too late.
2018-10-14LASTEXPRESS: refactor sound flagsEvgeny Grechnikov
Merge SoundFlag and SoundStatus into a single enum; SoundEntry::setupStatus just casts one to another. Keep only definitions of bits in SoundFlag; drop compound flags like kFlagSteam = kSoundTypeAmbient | kSoundFlagLooped | kVolume7, use ORed simple flags in calls; change the signature of SoundManager::playSoundWithSubtitles to use uint32 instead of SoundFlag to avoid excess casting. Add meaningful names to flags; add some comments. Get rid of endian-unsafe SoundStatusUnion. Fixes an issue with big-endian hosts. No changes in behaviour on little-endian hosts.
2018-10-14SCI: Fix LB2 'Bugs With Meat' lockup, bug #10730sluicebox
Fixes a lockup in the original game
2018-10-14LASTEXPRESS: fix constants in sound serializerEvgeny Grechnikov
Wrong enum member used: (status & 0x7000000) should be checked against 0x3000000, not against 3 (this is a check of sound type to skip menu sounds in savefiles). Activate delay should not be compared with sound volume; comparison with 0x8000000 is just a sanity check against overflow.
2018-10-12PINK: removed unnecessary G keyAndrei Prykhodko