aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2018-10-12PINK: added missing sequencer update in Moving stateAndrei Prykhodko
2018-10-11AGI: Add Detection Entry for AGI Combat (Beta).D G Turner
This fixes bug Trac #10739.
2018-10-11AGI: Add Detection Entry for Sarien Test Demo.D G Turner
This fixes bug Trac #10740.
2018-10-11AGI: Clamp Graphics Blit into Screen Area.D G Turner
Some games, especially fangames appear to blit to co-ordinates outside the screen area, which caused an assertion in the graphics backend. To prevent this and allow further debugging in these cases, we clamp this to the screen area. Note that there are several other locations which do backend graphics calls, so this may need to be applied elsewhere in the general case. This fixes bug Trac #10736.
2018-10-11I18N: Update translations templatesThierry Crozat
2018-10-11GUI: Fix Mouse Wheel Input for Unknown Game Dialog.D G Turner
This should also fix this for other instances of ScrollContainer, though the dialogs / widgets may require the same change. This fixes bug Trac #10741.
2018-10-10I18N: Update translations templatesThierry Crozat
2018-10-10GUI: Disable Current View Selection Button in Save/Load Chooser.D G Turner
Switching between List and Grid views causes a nasty redraw flicker. This also occurs if you press the button for the current view type. This patch does not fix the underlying refresh issue, but it does disable the button for the current view type as pressing this is not useful in any case. This is a partial fix for bug Trac #10441.
2018-10-10I18N: Update translation (Italian)scootergrisen
Currently translated at 100.0% (1000 of 1000 strings)
2018-10-10I18N: Update translation (Galician)scootergrisen
Currently translated at 93.3% (933 of 1000 strings)
2018-10-10AGI: Fix ScummVM Quit if Return To Launcher from AGI Quit Dialog.D G Turner
This is bug Trac #10735.
2018-10-09CGE2: Allow Triggering of Carpet Workaround from Debug Console.D G Turner
This allows the recovery of saved games with the dead-end condition from bug Trac #6842.
2018-10-09CGE2: Add Script Workaround for Clothes Horse Carpet Bug.D G Turner
This now allows the Carpet to be placed and removed from the Clothes Horse repeatedly, thus avoiding the dead-end when you do not beat the Carpet with the Racket on first attempt. This is bug Trac #6842.
2018-10-08SCI: Add Detection Entry for Hoyles Classic Games for Laptops.D G Turner
This is basically Hoyle 5, but may be missing the main menu so might require separate entries for each game i.e. cfg files. This is from bug Trac #10676.
2018-10-08I18N: Update translation (Danish)scootergrisen
Currently translated at 93.3% (933 of 1000 strings)
2018-10-08I18N: Regenerate translations data fileThierry Crozat
2018-10-08SCI: Fix LB2CD Yvette/Tut murderless messagesluicebox
Fixes wrong message in cd versions, bug #10724
2018-10-08SCI: Fix LB2 Yvette/Tut premature murder messagesluicebox
Fixes wrong message in floppy versions, bug #10723
2018-10-08DS: Fix Compilation.D G Turner
2018-10-07I18N: Update translation (Danish)scootergrisen
Currently translated at 93.3% (933 of 1000 strings)
2018-10-07DS: Fix Out Of Bounds Array Access Errors.D G Turner
This is from bug Trac #10653.
2018-10-07PSP: Fix Minor Memory Access Error and Leaks in Backend Code.D G Turner
This is as per bug Trac #10654.
2018-10-07I18N: Rename danish translations fileThierry Crozat
2018-10-07MOHAWK: Show the closed gate on the 3rd channelwood levelBastien Bouclet
The original game scripts are missing a delay. Fixes #10727.
2018-10-07DEVTOOLS: Fix Performance Issue Warning in create_project.D G Turner
This is the last fix for bug Trac #10655.
2018-10-07DEVTOOLS: Fix Compiler Warnings in create_cryo tool.D G Turner
Have compared output dat files from the tool before and after this change and they are identical.
2018-10-07DEVTOOLS: Fix Compiler Warnings in create_access Tool.D G Turner
These were various shadowed variable and unsigned vs. signed comparison warnings.
2018-10-07DEVTOOLS: Fix Compiler Warning in extract_mort tool.D G Turner
2018-10-07DEVTOOLS: Fix Possible Resource Leak in create_hugo tool.D G Turner
This is part of the fix for bug Trac #10655.
2018-10-06DEVTOOLS: Fix Missing Delete call in KYRA datfile creation tool.D G Turner
This is part of the fix for bug Trac #10655.
2018-10-06DEVTOOLS: Fix Missing Free in SCUMM fontdata tool.D G Turner
This is part of the fix for bug Trac #10655.
2018-10-06IOS: Correct Compilation Breakage From Last Commit.D G Turner
2018-10-06IOS: Fix Closing Standard Output & Error Log File.D G Turner
This is as per bug Trac #10656.
2018-10-06SCI: Add Detection Entry for Space Quest 3 Variant.D G Turner
2018-10-05SCI: Add Detection Entry for Codename ICEMAN Variant.D G Turner
This is from bug Trac #10678.
2018-10-05MOHAWK: Add Detection Entries For Two LB Game Variants.D G Turner
These are from bug Trac #6745 "MOHAWK: Two unknown Living Book game variants..."
2018-10-05ANDROID: Implement clipboard supportCameron Cawley
2018-10-04MOHAWK: Add Detection Entry for Spanish Variant of Arthurs Birthday.D G Turner
This is from Bug Trac #10705.
2018-10-03COMPOSER: Add Detection Entry For Darby French Mac Variant.D G Turner
This is from Trac #10399.