Commit Graph

82929 Commits

Author SHA1 Message Date
Bastien Bouclet
3f42f212d4 NEWS: Add important Myst bug fixes 2017-11-02 19:49:43 +01:00
Bastien Bouclet
f4a0566e37 MOHAWK: RIVEN: Remove the testing flag 2017-11-02 19:49:43 +01:00
Bastien Bouclet
2f733c812a BASE: Minor command line detection cleanup 2017-11-02 19:49:43 +01:00
Bastien Bouclet
9b9600a50f VIDEO: Express VideoDecoder::endOfVideo using easier to understand logic 2017-11-02 19:49:43 +01:00
Thierry Crozat
174276455f I18N: Update translations templates 2017-10-31 11:04:09 +01:00
Ben Castricum
a8faf239a1 SCUMM: Prevent false detection of Steam games 2017-10-31 11:03:53 +01:00
Paul Gilbert
91d79769cc XEEN: Enable starting game from startup menu 2017-10-29 17:06:58 -04:00
rootfather
8258bca063 DOC: Remove reference to SF for the Bug Tracker; improve wording 2017-10-29 19:37:22 +01:00
rootfather
4e026e7275 DOC: Remove reference to Sourceforge for the Bug Tracker 2017-10-29 19:37:22 +01:00
Colin Snover
37459bc6c1 SCI: Fix UB in SegManager memcpy/strcpy operations
Passing overlapping buffers to C standard library memcpy, strcpy,
and strncpy is undefined behavior. In SSCI these operations would
perform a forward copy, and most stdlib implementations do the
same, but at least newer Linux glibc on x86 copies bytes in
reverse, so just using the standard library on this platform
results in broken output.

Because SSCI used a blind forward copy instead of memmove for
overlapping copy operations, this patch implements an explicit
forward copy to ensure that overlapping copies continue to operate
the same as in SSCI.

This fixes the Island of Dr. Brain v1.1 flamingo puzzle
(script 185, flamingos::init, localCall 4c3) on platforms that do
not perform forward copy in memcpy/strcpy/strncpy.

Thanks to @moralrecordings for research on this bug and an initial
patch using memmove.

Closes gh-1034.
2017-10-29 13:18:37 -05:00
Willem Jan Palenstijn
4233156505 TESTBED: Only build cloud tests if libcurl is available too
This matches the module.mk checks for backends/cloud
2017-10-29 00:05:51 +02:00
Willem Jan Palenstijn
a416c98980 CONFIGURE: Handle freetype-config SYSROOT duplication in prefix
Since version 2.3.12, freetype-config adds SYSROOT to all paths.
If we pass a --prefix that already includes SYSROOT, this will return
a duplicate SYSROOT. This patch detects that and adjusts prefix
accordingly.
2017-10-29 00:05:51 +02:00
Willem Jan Palenstijn
0bcaf623aa CONFIGURE: Add missing --with-libcurl-prefix option 2017-10-29 00:05:51 +02:00
Willem Jan Palenstijn
bef5629519 CONFIGURE: Improve configure help formatting consistency 2017-10-29 00:05:51 +02:00
Thierry Crozat
56a1dd9b2f
Merge pull request #1046 from digitall/saga_ite_french
SAGA: Add Code to Support French Fan Translation.
2017-10-28 12:23:59 -07:00
D G Turner
d59690424c SAGA: Replace Remaining French Accented Characters with Escape Codes. 2017-10-28 11:28:42 +01:00
D G Turner
0416249765 SAGA: Add Define for French Language for clarity. 2017-10-28 11:24:58 +01:00
Paul Gilbert
ba7e50edec TITANIC: Hopefully fix AmigaOS compilation 2017-10-27 17:37:44 -04:00
D G Turner
913aae6155 SAGA: Correct Tenses in French Fan Translation of ITE.
These changes were suggested by bgK.
2017-10-27 10:51:47 +01:00
D G Turner
d50c13a7c7 SAGA: Add Code to Support French Fan Translation.
This code was supplied by Darknior (hugues.fabien@gmail.com).
2017-10-26 18:16:11 +01:00
Bastien Bouclet
bd82345f0b Merge pull request #1035 from bgK/require-64bits-integers
BUILD: Require 64bits integers
2017-10-25 19:17:11 +02:00
Bastien Bouclet
2ded98b482 MOHAWK: MYST: Add detection for a Russian version 2017-10-25 19:14:46 +02:00
Colin Snover
3a95213905 SDL: Automatically grab mouse upon entering fullscreen
Folks are confused about the new behaviour where the mouse is not
restricted to the game area in fullscreen, which is understandable.

This changes mouseIsGrabbed to use SDL directly in order to avoid
making changes to the user preference in the _inputGrabState.
Otherwise we'd either clobber the user's previous windowed mouse
grab preference, or require maintaining a second variable just to
track the original state, when we can have SDL do that for us.
2017-10-23 22:36:04 -05:00
Thierry Crozat
f638f1453c I18N: Regenerate translations data file 2017-10-23 05:05:03 +02:00
Willem Jan Palenstijn
9030b09ecc SCI: Allow lofsa string printing in disasm for all SCI versions 2017-10-21 19:13:38 +02:00
Willem Jan Palenstijn
fab43f0f71 SCI: Fix offsets in disasm for multi-param opcodes
This code was assuming that retval points to the start of the next
instruction, which is only true if the current parameter is the last
one. This fixes op_call printing.
2017-10-21 18:55:40 +02:00
Tarek Soliman
2fea095fc7 SDL: Fix SDL1 cursor position when using a touchscreen
I noticed that in Maemo the cursor was offset after the SDL refactoring
in de2bbe3b97

In Maemo when entering fullscreen, ScummVM receives a SDL_VIDEORESIZE
event with the native touchscreen resolution rather than the current
window size. This causes a call to notifyResize.

Before that refactoring, notifyResize did nothing (in SDL1).
Now it calls handleResize but doesn't actually set a new video mode.
This messes up the coordinate mapping, causing an overcorrection for
the cursor position.
2017-10-19 17:51:01 -05:00
Thierry Crozat
0e44feadb0 I18N: Update translations templates 2017-10-18 01:42:49 +02:00
Colin Snover
752f4e4f04 SDL: Fix missing scaled cursors in SDL 2.0.4 on Windows
This may be a problem with SDL 2.0.4 generally, not just on
Windows, but it doesn't really matter much since it can't be
broken on *any* platform.
2017-10-17 18:41:34 -05:00
Paul Gilbert
8057d888a6 TITANIC: Remove redundant room check in CEarSweetBowl 2017-10-16 20:42:00 -04:00
David Fioramonti
ce052fbef4 SCI32: Fix cursor color when quitting for phant1
When quitting the game at the main menu and hitting no
or quitting the game while playing the cursor color
over the buttons will be tan the first time rather
than red. This fix makes it so it will be red.

This was done by removing a check in HotSpot::doit()
which checks the global193 value. Removing this check
fixes the problem.

Fixes Trac#9977.

Thanks snover and wjp for your help.
2017-10-16 19:37:36 -05:00
Ben Castricum
f42889d432 I18N: Update translation (Dutch)
Currently translated at 100.0% (959 of 959 strings)
2017-10-16 07:46:26 +02:00
Thierry Crozat
f2fa1adb80 I18N: Update translations templates 2017-10-16 07:28:41 +02:00
Colin Snover
4307156e1c SDL: Fix 32bpp cursor scaling in SDL1
The SDL1 loop is not very optimal. Unfortunately all our existing
scalers only work in 16bpp and I don't have time to fix that right
now, so this is fine.
2017-10-16 00:27:34 -05:00
Thierry Crozat
2e96e4d3df I18N: Regenerate translations data file 2017-10-16 05:05:02 +02:00
Thierry Crozat
8234dadee7 I18N: Update translations templates 2017-10-16 04:39:27 +02:00
Colin Snover
4466738885 SDL: Fix scaled 32bpp cursor rendering 2017-10-15 21:38:58 -05:00
Paul Gilbert
1947d310df TITANIC: New titanic.dat with fixed German chevron strings 2017-10-15 21:39:48 -04:00
Paul Gilbert
11a72a5e0e TITANIC: Add missing strings for Floor & Room # to titanic.dat 2017-10-15 21:20:09 -04:00
Paul Gilbert
ff9c0a9a89 TITANIC: Fix crash exiting game when music room music is active 2017-10-15 21:14:33 -04:00
Paul Gilbert
3e52288a2d TITANIC: Music room handler field renames & better anim sync to music 2017-10-15 20:57:09 -04:00
Colin Snover
e26a677f62 SCI32: Tell OSystem to show/hide cursors as appropriate
This is needed so that the system cursor can be appropriately
hidden outside the game's draw area, to match the normal behaviour
of ScummVM.
2017-10-15 19:03:09 -05:00
Paul Gilbert
17606700c4 TITANIC: Fix use after free and remove IFDEF code from mouse cursors 2017-10-15 19:03:09 -05:00
Paul Gilbert
db5676fec2 TITANIC: Simplify cursors to build up as RGBA during loading 2017-10-15 19:03:09 -05:00
Colin Snover
ef44cc55ee DINGUX: Really constify getFeatureState 2017-10-15 16:54:24 -05:00
Colin Snover
7aef79c421 DINGUX: Fix missing const on hasFeature/getFeatureState implementation 2017-10-15 16:41:04 -05:00
Colin Snover
1f8eeb5920 DINGUX: Replace usage of old SurfaceSdlGraphicsManager APIs 2017-10-15 16:32:58 -05:00
Colin Snover
4263a78aa0 GPH: Replace usage of old SurfaceSdlGraphicsManager APIs 2017-10-15 16:18:10 -05:00
Colin Snover
ea2fa9093d PSP: Improve const-correctness 2017-10-15 16:11:47 -05:00
Colin Snover
2ef10faa1e PSP2: Replace usage of old SurfaceSdlGraphicsManager APIs 2017-10-15 16:00:00 -05:00