aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-09-12GUI: Remove mostly-broken audio output sample rate controlColin Snover
Removing this GUI control was suggested as far back as 2011 at <http://lists.scummvm.org/pipermail/scummvm-devel/2011-November/010416.html>. There were no objections, but it was never removed. When working on audio latency bugs, I independently rediscovered that the GUI option was broken: the per-game options would *never* work, and the option would not take effect until ScummVM was restarted because there is no API for interacting with the backend audio mixer. So now, it is finally gone. Primarily for the sake of future troubleshooting, configurability of the audio sample frequency within SdlMixerManager is maintained for the moment, but now users will need to edit their ScummVM configuration file manually to change it.
2017-09-12SDL: Fix compilation on PSP2Colin Snover
2017-09-12I18N: Update translations templatesThierry Crozat
2017-09-12SCI32: Improve chance of rendering non-8bpp AVIsColin Snover
OpenGL backends don't always support the pixel format that is returned by the Indeo 3 decoder when playing the GK2A.AVI from the GK2 demo. If this happens, use the backend's preferred pixel format and convert in software. If a backend doesn't support any 16-bit or 32-bit format, the playback code will error out. This is probably fine, since there are not really any of those any more. Fixes Trac#9994.
2017-09-12SDL: List supported 32bpp pixel formats when using SDL2Colin Snover
_hwscreen is always initialized to 16bpp so the supported 32bpp pixel formats would never be put into the list of supported pixel formats, making it useless for engines to query for usable 32bpp pixel formats. This patch changes things so that the native desktop pixel format is at the top of the supported formats list, and all pixel formats <= the default desktop pixel format will now show up in the list of supported formats. ("Supported" is somewhat of a misnomer here since there is no hardware querying beyond checking the default desktop pixel format. SDL generally accepts a wide variety of pixel formats and tries to convert them to whatever the hardware supports.)
2017-09-12SLUDGE: Use Mod/Xm/S3m decoder in SludgeSimei Yin
2017-09-12SCI32: Fix wrong open folder/doc icons in Phant2 computer on first renderColin Snover
This fixes flickering icons during the word hallucinations.
2017-09-12SCI32: Fix bad positioning of text in Phant2 computer on first renderColin Snover
This fixes the glitchy positioning during the word hallucinations. Fixes Trac#10036.
2017-09-12SCI32: Fix janky document scrolling in Phant2 computer interfaceColin Snover
2017-09-12SCI32: Replace spin loop with kWait in Phant2 alien password screenColin Snover
2017-09-11TITANIC: Fix freeze panning away from Parrot cagePaul Gilbert
2017-09-11TITANIC: The hasAudioTiming code was just an isActive flagPaul Gilbert
2017-09-11AUDIO: Rename two functions in ModuleModXmS3mThierry Crozat
This is an attempt to fix a compilation error on some platforms. The error message seems to indicate that log2 might be a define on thos platforms. Note that the log2 implementation in ModuleModXmS3m is not the binary logarithm, and we cannot use Common::intLog2.
2017-09-11I18N: Update translation (German)Lothar Serra Mari
Currently translated at 100.0% (967 of 967 strings)
2017-09-11I18N: Update translation (German)wreednumero2
Currently translated at 99.7% (965 of 967 strings)
2017-09-11I18N: Update translation (German)Lothar Serra Mari
Currently translated at 99.7% (965 of 967 strings)
2017-09-11I18N: Update translation (Dutch)Ben Castricum
Currently translated at 100.0% (967 of 967 strings)
2017-09-11AGOS: Fix value truncation in AGOSEngine::animateSpritesColin Snover
In commit f0581bab4a4b1b4102a7fbdd4a3d54d4397e00e9 the index value for the array was changed from a constant to a variable, but uint8 is too small to contain 293, so this value was ending up as 37.
2017-09-11BBVS: Fix UB shifting negative signed integersColin Snover
These shifted values are replaced with their literal equivalents as would be calculated on an x86.
2017-09-11GRAPHICS: Compare all fields in a PixelFormat individually instead of using ↵Cameron Cawley
memcmp.
2017-09-11AUDIO: Import micromod code, xm/s3m/mod decoderSimei Yin
2017-09-11JANITORIAL: Silence GCC 7 warningsTorbjörn Andersson
These fall throughs have to be deliberate, or they wouldn't have to check if mode equals 2 in the mode == 2 cases.
2017-09-10MACOS: Fix builds on case-sensitive filesystemsColin Snover
2017-09-10GUI: Fix non-macOS/iOS buildsColin Snover
2017-09-11I18N: Update translations templatesThierry Crozat
2017-09-10GRAPHICS: Remove dead code in BDF loadCharacter codeColin Snover
2017-09-10SCI: Remove dead codeColin Snover
2017-09-10MACOS: Fix warnings about undeclared selectorsColin Snover
When -Wundeclared-selector is enabled (recommended by Apple), the calls to the setBadgeLabel selector in MacOSXTaskbarManager are warned on because NSDockTile declarations are not included because they do not exist in macOS 10.4 and earlier. While I don't know that we are even supporting such old macOS versions these days, it is simple enough to fix this problem when compiling to modern macOS versions by conditionally including the necessary header.
2017-09-10MACOS: Fix deprecation warnings in macOS 10.12Colin Snover
2017-09-10CREATE_PROJECT: Fix typo in unused macroColin Snover
2017-09-10CREATE_PROJECT: Add LastUpgradeCheck to generated project fileColin Snover
This prevents the recommended updates warning appearing when opening the project in Xcode for the first time.
2017-09-10CREATE_PROJECT: Update Xcode generator to use most Xcode-recommended warningsColin Snover
2017-09-10CREATE_PROJECT: Increment default iOS build target in Xcode generatorColin Snover
Xcode 8/macOS 10.12 minimum target for iOS is now iOS 8.
2017-09-10CREATE_PROJECT: Ignore undefined-var-template warnings by defaultColin Snover
Starting in Xcode 8, clang reports warnings about singleton instantiation which are noisy, so suppress these warnings for the moment. An attempt to fix this properly was added in eefa72afa1978a9dea10f5b1833fcc8f58a3468e but it was backed out in 940b2a20f1cd490afb6e541a3cd26f0d3bdd1687. See https://github.com/scummvm/scummvm/pull/967 and https://github.com/scummvm/scummvm/pull/994.
2017-09-10CREATE_PROJECT: Move browser_osx.mm hack to Xcode generatorColin Snover
c19c10d548b2867bc4fd003fb29ac0017b2bd29d fixed the bad parsing of module.mk which meant the Xcode generator broke. For the moment, just move the hack for browser_osx.mm into the generator, until there is a more elegant solution to this problem (if ever).
2017-09-10CREATE_PROJECT: Allow FluidSynth on macOSColin Snover
FluidSynth does build and run successfully, but it is necessary to get the correct static libraries. It can be manually built against dylib, if desired, by manually adding the fluidsynth.dylib to the Frameworks. Since this will result in a runtime dependency, this is not set up by default.
2017-09-10CREATE_PROJECT: Fix Xcode builder library includesColin Snover
Libraries were being included unconditionally regardless of the arguments passed to create_project, and in the case of macOS were being added using manual linker flags and other such hacks instead of using the Frameworks list.
2017-09-10CREATE_PROJECT: Fix typo in Xcode generator interfaceColin Snover
2017-09-11I18N: Regenerate translations data fileThierry Crozat
2017-09-10TITANIC: Created custom stream reader to fix bad y222.avi headerPaul Gilbert
2017-09-10TITANIC: Remove redundant flag clearing in star controlPaul Gilbert
2017-09-10BLADERUNNER: Added music support & added MaggiePeter Kohaut
added async walking named some of the game flags & variables renamed aesc to screen effects
2017-09-10SCI32: Fix bad audio loopingColin Snover
Fixes Trac#10182.
2017-09-10AUDIO: Fix compilation on AmigaOS 4Colin Snover
2017-09-10I18N: Update translations templatesThierry Crozat
2017-09-09AUDIO: Mark SCI engine as using ADPCMColin Snover
2017-09-09AUDIO: Fix incorrect reading of DK3 ADPCM audio dataColin Snover
Previously, _topNibble was not reset at the beginning of a new audio block, and the alignment byte at the end of odd blocks was being read as audio data, which caused audible clicks and out-of-bounds sample generation. There may have also been read errors related to the use of continue/break keywords inside of a macro wrapped with do-while(0). The introduction of partial block reads in this code when it was converted from ffmpeg to a ReadStream interface was also confusing and somewhat inefficient (calling SeekableReadStream::pos frequently), so this code has been refactored for clarity and to improve efficiency by reducing the number of virtual calls. Error detection has also been improved somewhat by ensuring that there are enough bytes to read a block header, and that the step indexes in the header are within the valid range.
2017-09-09SCI32: Fix whitespace errorsColin Snover
2017-09-09SCI32: Send correct color depth to Phant2Colin Snover
This is not known to fix any particular issue, but the game does set some flags internally if it's running in 256-color Windows, which is possibly undesirable since we do run 16-bit videos regardless.
2017-09-09SCI32: Fix Phant2 movie-vs-game playback volumesColin Snover
This update should give the game the default mix it receives in Windows. If necessary, the half-volume audio bug in the DOS interpreter can be added as an additional hack for this game, since there are still some sub-par audio mixes that might need additional correction (like Curtis talking to Blob when taking her out of the cage in his apartment at the start of the game) which were also bad in the Windows version of the game. Fixes Trac#10165.