Commit Graph

82473 Commits

Author SHA1 Message Date
Thierry Crozat
5d419c2b58 AUDIO: Rename two functions in ModuleModXmS3m
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-11 21:38:58 +01:00
Lothar Serra Mari
a2bafbbe76 I18N: Update translation (German)
Currently translated at 100.0% (967 of 967 strings)
2017-09-11 20:50:44 +02:00
wreednumero2
8c407b5c70 I18N: Update translation (German)
Currently translated at 99.7% (965 of 967 strings)
2017-09-11 20:50:16 +02:00
Lothar Serra Mari
60f7f8df78 I18N: Update translation (German)
Currently translated at 99.7% (965 of 967 strings)
2017-09-11 20:49:57 +02:00
Ben Castricum
042776cade I18N: Update translation (Dutch)
Currently translated at 100.0% (967 of 967 strings)
2017-09-11 08:41:47 +02:00
Colin Snover
58105982ad AGOS: Fix value truncation in AGOSEngine::animateSprites
In commit f0581bab4a 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-11 08:14:55 +02:00
Colin Snover
cc12c878b7 BBVS: Fix UB shifting negative signed integers
These shifted values are replaced with their literal equivalents
as would be calculated on an x86.
2017-09-11 08:13:58 +02:00
Cameron Cawley
e9aa47f55c GRAPHICS: Compare all fields in a PixelFormat individually instead of using memcmp. 2017-09-11 08:13:09 +02:00
Simei Yin
6558578f54 AUDIO: Import micromod code, xm/s3m/mod decoder 2017-09-11 08:10:09 +02:00
Torbjörn Andersson
59f8e62adf JANITORIAL: Silence GCC 7 warnings
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-11 06:48:34 +02:00
Colin Snover
b8f89a772e MACOS: Fix builds on case-sensitive filesystems 2017-09-10 23:30:25 -05:00
Colin Snover
96d87a821f GUI: Fix non-macOS/iOS builds 2017-09-10 22:35:02 -05:00
Thierry Crozat
1c7ba60925 I18N: Update translations templates 2017-09-11 05:19:43 +02:00
Colin Snover
4706a8486e GRAPHICS: Remove dead code in BDF loadCharacter code 2017-09-10 22:17:17 -05:00
Colin Snover
200c8c442b SCI: Remove dead code 2017-09-10 22:17:17 -05:00
Colin Snover
6e2f18c498 MACOS: Fix warnings about undeclared selectors
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-10 22:17:16 -05:00
Colin Snover
56810b5598 MACOS: Fix deprecation warnings in macOS 10.12 2017-09-10 22:17:16 -05:00
Colin Snover
b91a48f279 CREATE_PROJECT: Fix typo in unused macro 2017-09-10 22:17:16 -05:00
Colin Snover
16b76d22a1 CREATE_PROJECT: Add LastUpgradeCheck to generated project file
This prevents the recommended updates warning appearing when
opening the project in Xcode for the first time.
2017-09-10 22:17:15 -05:00
Colin Snover
2191533d4f CREATE_PROJECT: Update Xcode generator to use most Xcode-recommended warnings 2017-09-10 22:17:15 -05:00
Colin Snover
d282e5c3f3 CREATE_PROJECT: Increment default iOS build target in Xcode generator
Xcode 8/macOS 10.12 minimum target for iOS is now iOS 8.
2017-09-10 22:17:14 -05:00
Colin Snover
dbcde0c414 CREATE_PROJECT: Ignore undefined-var-template warnings by default
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
eefa72afa1 but it was backed out in
940b2a20f1.

See https://github.com/scummvm/scummvm/pull/967 and
https://github.com/scummvm/scummvm/pull/994.
2017-09-10 22:17:14 -05:00
Colin Snover
3c5440add7 CREATE_PROJECT: Move browser_osx.mm hack to Xcode generator
c19c10d548 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-10 22:17:14 -05:00
Colin Snover
9db0c9c607 CREATE_PROJECT: Allow FluidSynth on macOS
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-10 22:17:13 -05:00
Colin Snover
0185c6cffd CREATE_PROJECT: Fix Xcode builder library includes
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-10 22:17:13 -05:00
Colin Snover
2f32eeab9d CREATE_PROJECT: Fix typo in Xcode generator interface 2017-09-10 22:17:12 -05:00
Thierry Crozat
400ff0459c I18N: Regenerate translations data file 2017-09-11 05:05:08 +02:00
Paul Gilbert
25ae67b870 TITANIC: Created custom stream reader to fix bad y222.avi header 2017-09-10 19:32:26 -04:00
Paul Gilbert
66150ee064 TITANIC: Remove redundant flag clearing in star control 2017-09-10 16:52:13 -04:00
Peter Kohaut
f79d8cc1fe BLADERUNNER: Added music support & added Maggie
added async walking
named some of the game flags & variables
renamed aesc to screen effects
2017-09-10 20:55:30 +02:00
Colin Snover
e0aa906804 SCI32: Fix bad audio looping
Fixes Trac#10182.
2017-09-10 02:08:22 -05:00
Colin Snover
dbf2f0c266 AUDIO: Fix compilation on AmigaOS 4 2017-09-10 02:08:21 -05:00
Thierry Crozat
6df5e4c372 I18N: Update translations templates 2017-09-10 06:38:23 +02:00
Colin Snover
10db6e9a44 AUDIO: Mark SCI engine as using ADPCM 2017-09-09 23:29:58 -05:00
Colin Snover
41506201b9 AUDIO: Fix incorrect reading of DK3 ADPCM audio data
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-09 23:29:58 -05:00
Colin Snover
393c0d1f62 SCI32: Fix whitespace errors 2017-09-09 23:29:57 -05:00
Colin Snover
f200cc110f SCI32: Send correct color depth to Phant2
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-09 23:29:57 -05:00
Colin Snover
e137d01967 SCI32: Fix Phant2 movie-vs-game playback volumes
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.
2017-09-09 23:29:57 -05:00
Paul Gilbert
29465fd116 TITANIC: Disable input during Bellbot intro to prevent moving away 2017-09-09 21:18:16 -04:00
Paul Gilbert
030b1d369d TITANIC: Fix nav helmet glitch from leaving view when it's animating 2017-09-09 20:24:18 -04:00
Paul Gilbert
c9a92c3c16 TITANIC: Fix locking/unlocking starfield markers multiple times 2017-09-09 19:26:54 -04:00
Paul Gilbert
00b4e509a0 TITANIC: Various whitespace fixes in star control classes 2017-09-09 18:46:10 -04:00
Paul Gilbert
04dabb0cd2 Merge pull request #1017 from dafioram/star-control-changes
TITANIC: Star control changes
2017-09-09 18:21:08 -04:00
Paul Gilbert
74c401c926 TITANIC: Cleanup and fixes for clicking on Starfield marker LEDs 2017-09-09 18:18:25 -04:00
David Fioramonti
3b579178d4 TITANIC: Hitting go on captain wheel resets it
In the original once you have hit the go button
on the steering wheel it won't let you use it again
until you have solved the puzzle so that is how
ScummVM does it now.
2017-09-09 14:24:26 -07:00
David Fioramonti
d5fb1170d7 TITANIC: Prevent locking/unlocking sounds in photoview
In scummvm and the original engine if you try to
unlock/lock stars in photoview/skyview then the
stars will not unlock/lock, but the sounds
associated with unlocking and locking were playing.
Giving a false impression that the
locking/unlocking was happening.

The sounds no longer play when in photoview.
2017-09-09 14:24:26 -07:00
David Fioramonti
b2dd72adbd TITANIC: Improved naming for Helmet On/Off flag 2017-09-09 14:24:26 -07:00
Paul Gilbert
1e0a22db5c TITANIC: Fix occassional PET mixup when toggling nav helmet on & off 2017-09-09 17:05:53 -04:00
Paul Gilbert
635f189b9c TITANIC: Fix parrot freezing after multiple chicken drags 2017-09-09 15:58:59 -04:00
Colin Snover
41ee6431a9 BUILD: Remove macOS build target from Travis CI
The macOS build machines on Travis CI are failing constantly, and
for the time they've been enabled, they haven't really proven to
give any benefit. So, turning them off now, at least until Travis
CI gets more reliable so we are not contantly notified about their
broken build machines.
2017-09-09 11:22:48 -05:00