Commit Graph

86024 Commits

Author SHA1 Message Date
Matthew Stewart
a5a45fdae1 SDL: Clip mouse range in convertVirtualToWindow 2018-07-08 22:30:31 +01:00
Matthew Stewart
a382a6dd30 SDL: Clip mouse range in convertWindowToVirtual
When the graphics scale was 2x or higher, it was possible for the mouse
to pass the size of the screen specified by "initSize".
2018-07-08 22:30:31 +01:00
Thierry Crozat
8c2f9dec26 I18N: Update translations templates 2018-07-08 23:20:41 +02:00
Cameron Cawley
d93fe85994 BACKENDS: Fix compilation with SDL 1.2 2018-07-08 22:20:28 +01:00
Bastien Bouclet
5cff361f04 MOHAWK: MYST: Add delays at each step of Achenar's torture switch anim
Fixes Trac#10606.
2018-07-08 21:55:09 +02:00
Bastien Bouclet
5dd38b8660 MOHAWK: MYST: Play complete audio clip when changing the boiler pressure
Fixes Trac#10607.
2018-07-08 21:55:09 +02:00
Thierry Crozat
0114e43cfe I18N: Update translation (French)
Currently translated at 100.0% (989 of 989 strings)
2018-07-08 19:31:17 +02:00
Lothar Serra Mari
8348701c2d I18N: Update translation (German)
Currently translated at 100.0% (989 of 989 strings)
2018-07-08 19:28:53 +02:00
Lothar Serra Mari
a221721c25 I18N: Update translation (German)
Currently translated at 100.0% (989 of 989 strings)
2018-07-08 19:27:18 +02:00
George Kormendi
f7179ae436 I18N: Update translation (Hungarian)
Currently translated at 100.0% (989 of 989 strings)
2018-07-08 19:21:05 +02:00
Lothar Serra Mari
55d898f7d8 I18N: Update translation (German)
Currently translated at 99.1% (981 of 989 strings)
2018-07-08 19:21:05 +02:00
Andrei Prykhodko
973e1e5667 GRAPHICS: fixed creating cursor group from some old executables 2018-07-08 20:20:54 +03:00
George Kormendi
c053ad3636 I18N: Update translation (Hungarian)
Currently translated at 100.0% (989 of 989 strings)
2018-07-08 19:05:08 +02:00
Thierry Crozat
787b51020d I18N: Update translations templates 2018-07-08 17:55:06 +02:00
Thierry Crozat
89f1b1c96e GUI: Add Stretch Mode selection in Options dialog 2018-07-08 16:54:51 +01:00
Thierry Crozat
adacb4fcfd BASE: Add command line stretch mode arg 2018-07-08 16:54:51 +01:00
Thierry Crozat
812ce59ee4 SDL: Implement stretch mode API
Four modes are supported:
 - Use original size with no scaling
 - Scale by an integral amount as much as possible but not bigger
   than the window.
 - Scale to fit the window while respecting the aspect ratio. There
   may be black bars on the left and right, or on the top and bottom,
   but not both. This is the default, and the old behaviour.
 - Scale and stretch to fit the window. In this mode the aspecy ratio
   is not respected and there is no black bars.
The mode is controled by the "scaling_mode" value (between 0 and 3) in
the config file.

Also add Crtl-Alt-s hotkey to cycle through scaling modes
2018-07-08 16:54:51 +01:00
Thierry Crozat
8526c2c31a OSYSTEM: Add Stretch Mode API 2018-07-08 16:54:51 +01:00
Adrian Frühwirth
ff220fffa5 CONFIGURE: Use -Wno-pragma-pack only when available 2018-07-08 11:57:39 +02:00
Adrian Frühwirth
fd612a537d CONFIGURE: Reword compiler flag checks 2018-07-08 11:46:03 +02:00
Eugene Sandulenko
ca8b79fa75 NEWS: Mention xeen games as supported 2018-07-07 21:49:35 +02:00
Eugene Sandulenko
31e8cb168e CONFIGURE: Do not add -Wno-pragma-pack on macOS
macOS' clang does not support this directive (yet), which
leads to tons of useless warnings
2018-07-07 16:41:38 +02:00
Thierry Crozat
a07f6dcf36 I18N: Update translations templates 2018-07-07 05:38:34 +02:00
David Fioramonti
c47dc11c9a TINSEL: Show saved game creation time in load/save gui
Saved games inspected via the ScummVM load or save
gui will now show the year, month, day, hour, and minute
of its creation. This was already being saved in the
saved game header so no version bump is necessary.

This required adding kSavesSupportMetaInfo and
kSavesSupportCreationDate features. I also had to
add kSavesSupportThumbnail or the saved date is not
shown.

It was necessary to write querySaveMetaInfos.
2018-07-06 20:38:14 -07:00
Andrei Prykhodko
69f96a311f PINK: removed updating screen on setting cursor because it produces too much drawing calls 2018-07-06 11:41:14 +03:00
Adrian Frühwirth
42c8212713 CONFIGURE: Disable -Wpragma-pack for >=clang-6.0
Clang 6 enables -Wpragma-pack which warns when leaving an included file
which changes the current alignment.
Our common/pack-{start,end}.h trigger this and it cannot easily and portably
be disabled inside pack-{start,end}.h so we disable it globally for now.
2018-07-06 09:54:39 +02:00
Eugene Sandulenko
d516f57561 QUEEN: Added detection for Russian interview demo 2018-07-05 22:18:44 +02:00
Andrei Prykhodko
95f46e3892 PINK: fixed loading games after recent changes 2018-07-05 12:06:57 +03:00
Paul Gilbert
c2854a8318 XEEN: Fix using mouse click to close message dialogs 2018-07-04 21:58:15 -07:00
Paul Gilbert
52f110325c XEEN: Call audio cd manager open/close in engine init/deinit 2018-07-04 21:48:53 -07:00
Paul Gilbert
3128e5294e XEEN: Properly handle SFX & Music volume control 2018-07-04 19:28:04 -07:00
Adrian Frühwirth
bdd98756ca TUCKER: Make _updateScreenPicture bool 2018-07-04 13:10:24 +02:00
Adrian Frühwirth
931113789b TUCKER: Use empty() instead of comparing against empty string literal 2018-07-04 13:09:06 +02:00
Adrian Frühwirth
cf0f0122e4 TUCKER: Make _compressedSoundFlags uint16 2018-07-04 13:04:59 +02:00
Adrian Frühwirth
aadaf0ce50 TUCKER: Fix unnecessary conversion from int to bool 2018-07-04 12:53:29 +02:00
Adrian Frühwirth
d56d97c83e TUCKER: Fix parameter name inconsistency in setCursorStyle() 2018-07-04 12:50:18 +02:00
Adrian Frühwirth
dd431526be TUCKER: Use nullptr 2018-07-04 12:42:34 +02:00
Paul Gilbert
6c8ef2309d XEEN: Fix crash using mirrors in standalone Clouds of Xeen
Thanks to HenneNWH for identifying the problem
2018-07-03 20:26:50 -07:00
David Fioramonti
ad15747c6d ZVISION: Use degree conversion common math funcs 2018-07-03 23:08:48 +01:00
David Fioramonti
503f0c8f0b AVALANCHE: Use degree conversion common math funcs
Noted an atan maybe should be an atan2.

For the atan call I casted the numerator and denominator
separately instead of after they are divided.
2018-07-03 23:08:48 +01:00
David Fioramonti
e00881804f GFX: Use degree conversion common math funcs 2018-07-03 23:08:48 +01:00
David Fioramonti
8e1f712327 WINTERMUTE: Use degree conversion common math funcs 2018-07-03 23:08:48 +01:00
David Fioramonti
a01babbd38 MOHAWK: MYST: Use degree conversion common math funcs 2018-07-03 23:08:48 +01:00
David Fioramonti
fb3dcb9ee0 TITANIC: Use degree conversion common math funcs
I tested the star puzzle and it is still good.
2018-07-03 23:08:48 +01:00
David Fioramonti
ccd46b7db9 FULLPIPE: Use degree conversion common math funcs
Swapped out the #define ANGLE(X) function that did degrees
to radians.

I have made everything doubles in the angle calculation.
2018-07-03 23:08:48 +01:00
Eugene Sandulenko
efced47369 QUEEN: Added detection for Russian version 2018-07-03 21:47:23 +02:00
Eugene Sandulenko
db955ab295 PINK: Sort detection entries alphabetically 2018-07-03 20:12:51 +02:00
Eugene Sandulenko
6068ed547f PINK: Simplify game detection entries 2018-07-03 20:12:25 +02:00
Torbjörn Andersson
0ffb057b66 SKY: Show full 320x200px in intro where possible
This commit adds a workaround to unlock existing fullscreen images in
the intro of Beneath a Steel Sky.
The original engine clips the whole intro to 320x192 (the common game
format) even though some images exist as 320x200 in the game data files.
This workaround whitelists all images which actually are 320x200px and
displays them as must have originally been intended.

Fixes Trac#7559.
2018-07-03 10:13:34 +00:00
Andrei Prykhodko
68e020ee92 PINK: added detection for Deutsch version of Peril 2018-07-03 11:00:46 +03:00