Commit Graph
137148 Commits
Author SHA1 Message Date
Thierry Crozat 468c0f0743 IOS7: Implement isConnectionLimited 2019-08-04 19:03:34 +01:00
Thierry Crozat cd7bf2b09f IOS7: Implement getSystemLanguage 2019-08-04 19:03:34 +01:00
Thierry Crozat 160070347f IOS7: Move non-video related functions to a separate file 2019-08-04 19:03:34 +01:00
Thierry Crozat c505a7b4bb IOS7: Implement opening a URL 2019-08-04 19:03:34 +01:00
Thierry Crozat 0ddcb9de7b IOS7: Implement copy to clipboard and paste from clipboard 2019-08-04 19:03:34 +01:00
Paul Gilbert 0448f5608f GLK: FROTZ: V6 window creation so Arthur intro now progresses further 2019-08-04 10:59:49 -07:00
Cameron Cawley d765440c1a OPENGL: Support RGBA8888 swapped textures when using OpenGL ES 2019-08-04 18:46:30 +01:00
Paul Gilbert b242abd029 GLK: FROTZ: Fix positioning of Arthur title screen 2019-08-04 09:56:37 -07:00
sluicebox 3bc1c80797 SCI: Fix CAMELOT sword sheathing during room change
Fixes bug #11042
2019-08-04 14:41:10 +03:00
Antoniou Athanasios e9623740f0 WIN32: Add a default application manifest
This fixes an OpenGL renderer issue for builds with MSYS2/Mingw64 or MSYS2/Mingw32

The issue pertains to MSYS2 adding a default manifest file (default-manifest.o) to the executable

The bug is for PC systems with GPU drivers that were not properly supported for Windows 10 
systems, like Intel HD Graphics series 1st and 2nd generations. In those systems, launching a 
game in ScummVM (built with MSYS2/Mingw) with the OpenGL renderer would cause the game 
screen to be a white blank image, and various warnings would be output to the console, eg.
"WARNING: GL ERROR: GL_INVALID_ENUM on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.gere.cpp:167)!"
This was due to MSYS2/Mingw builds trying to load the (poorly supported) GPU driver while advertising support for Windows 10 in their
embedded default Manifest file. Hence, the GPU driver DLL (eg ig4icd64.dll) would be unloaded, causing the bug.

More information is available in the following links:
https://github.com/pal1000/save-legacy-intel-graphics
https://github.com/LWJGL/lwjgl/issues/119
https://github.com/msys2/MSYS2-packages/issues/454
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69880

Credits to sluicebox for the VS GenerateManifest flag
2019-08-04 14:18:50 +03:00
Filippos Karapetis 913229f9db MADS: Implement V2 DynamicHotspots::add() 2019-08-04 14:05:09 +03:00
Filippos Karapetis 8940601413 MADS: Draw the portrait in V2 game dialogs 2019-08-04 14:05:08 +03:00
Alexander Tkachev 2c31e6cbe5 GUI: Fix Options' Cloud tab scrollbar issue
Calling reflowLayout() not only updates the layout (as setupCloudTab()
was already doing), but also recalculates scrollbar. The issue was that
old layout didn't need a scrollbar, but updated layout did. But,
ScrollContainer was not notified, and thus scrollbar didn't appear
(until user tried to reselect the Storage via popup).
2019-08-04 04:43:53 +07:00
Alexander Tkachev 1c0b697a59 CLOUD: Fix OneDriveTokenRefresher
If user doesn't have a "saves" folder, listing it as a first step of
syncing save files would result in 404 from OneDrive.
OneDriveTokenRefresher handles token-related errors (401), so when it
meets 404, it calls its finishError method. But because there was some
strange behaviour from OneDrive with sending invalid JSON, this method
tries fixing JSON and parsing it again. If it is valid, it calls
non-error method again, and in result we get stack overflow.

In order to fix that, I've added a non-JSON prefix "<irrecoverable>", so
finishError won't be able to parse JSON and thus won't call finishJson
again. Saves syncing callback does check string contents apart from
trying to parse JSON, so it still works and correctly handles the
situation when "saves" directory is missing. But, if needed, code can be
updated to search for the prefix I've added and remove it before parsing
original JSON.
2019-08-04 04:36:59 +07:00
D G Turner a769bace7f AUDIO: (FM-TOWNS) Fix GCC Compiler Warning with Copy Assignment 2019-08-03 16:09:17 +01:00
D G Turner 466b162996 CLOUD: Fix GCC Compilation Warning in Debug Code.
The warning emitted here was due to debug() call with an empty format
string, so this could have been fixed by replacing this with "%s", "".

However, this change should be better since it avoids the duplication
of the number of file check over several lines and reduces the string
duplication i.e. DRY improvements.
2019-08-03 14:52:57 +01:00
D G Turner d638c1d384 GUI: Fix GCC Compiler Warning in Cloud Tab
This comment for fall through to prevent the compiler warning about
this has to be at the point of fallthrough i.e. outside the grouping
brackets to be effective.
2019-08-03 14:27:57 +01:00
D G Turner f234a36a27 HOPKINS: Fix GCC Compilation Warning from memset usage 2019-08-03 13:56:06 +01:00
Alexander Tkachev 0a3d6d8054 GUI: Fix TabWidget's < and > buttons
These were incorrectly positioned (typos in code, missing value in one
expression).
2019-08-03 04:35:48 -04:00
Alexander Tkachev c47b204ac3 GUI: Minor offsets fixes in Tooltip and EditTextWidget 2019-08-03 04:35:48 -04:00
Alexander Tkachev 9ba3cd594d GUI: Tune ScrollContainerWidget offsets
Well, it ain't a fix, because it's not exactly correct for any of the
themes. Yet it's the best for all of them. If I put what seems to be
correct, "modern" theme gets ruined, because it has this mystical 2px
offset in tabs/scrollcontainers.
2019-08-03 04:35:48 -04:00
Alexander Tkachev c91bcbfb94 GUI: Fix scrollbars
- removed +1px in ListWidget, added in lordhoto's 2007 commit 68eb28a
(aka r29971 in svn) `Fix for bug #1670082 "GUI: Modern theme gfx glitch
in launcher".`, because it made clip this last line of scrollbar in all
themes, which doesn't look good. In 2007 theme was written in .ini,
which is not the case now. I don't see any glitches after removing this
"fix";

- fixed how scrollbar top and bottom scroll buttons are drawn in
ThemeEngine::drawScrollbar: there were these weird magic numbers, but in
reality extra space that buttons should occupy is hardcoded in
scrollbar.cpp (ScrollBarWidget) and is just +1px.
2019-08-03 04:35:48 -04:00
SupSuper 32a997d243 BUILD: Fix 8-bit Windows icon transparency
They were showing as black squares in Windows XP
2019-08-03 05:30:19 +01:00
Paul Gilbert 0ede777f55 GLK: FROTZ: Title screen for Arthur is partially showing 2019-08-02 20:29:51 -07:00
Paul Gilbert 2eb7479d91 GLK: Fix VS uninitialized field warnings 2019-08-02 19:45:14 -07:00
Paul Gilbert 7c15d0d232 GLK: GLULXE: Fix VS packing warnings 2019-08-02 19:04:10 -07:00
Paul Gilbert 7d4cbcd422 GLK: Remove unused _vm field of Debugger 2019-08-02 19:03:11 -07:00
Thanasis Antoniou 2c68c1a06c BLADERUNNER: Restore nu-sooch dumped comment 2019-08-02 14:56:07 +03:00
Cameron Cawley d4cc366334 ANDROID: Don't hide the virtual keyboard when the Enter key is pressed 2019-08-02 11:25:47 +01:00
Paul Gilbert efdf965170 GLK: Properly handle Blorb images that have an adaptive palette 2019-08-01 22:05:40 -07:00
Paul Gilbert 8a8ac63636 IMAGE: Add a paletted transparency mode flag to PNGDecoder
Previously, the PNGDecoder would always convert images that
have a palette with a transparent color(s) to a full RGBA
surface automatically. There needed to be a way to diable
this and keep the image paletted for the Glk engine, since
some Infocom V6 game Blorb files reuse the palettes from
previous images, so I couldn't have the decoder using the
dummy palette that comes with the image
2019-08-01 22:05:40 -07:00
Paul Gilbert d680b0b029 GLK: Added Blorb mapping to the optional adaptive palette list 2019-08-01 22:05:40 -07:00
sluicebox 0554ec8000 SCI: Fix LB2 coal message in room 720 2019-08-01 19:58:46 -07:00
Paul Gilbert ccf904d8ff SHERLOCK: SS: Add French version detection 2019-08-01 18:50:44 -07:00
Cameron Cawley 837ac7e7ec TEENAGENT: Add debug commands to play voices and sound effects 2019-08-02 00:08:58 +01:00
Thanasis Antoniou cd8816428e BLADERUNNER: Make use of new text wrapping functionality
Even width length for subtitle lines, but prioritize explicit new lines if present
2019-08-02 01:59:22 +03:00
Cameron Cawley c7307774ba TEENAGENT: Add the music directory to the search path
Needed by the GOG CD version.
2019-08-01 23:56:37 +01:00
Thanasis Antoniou 4630895ccc COMMON: Explain new params for wordWrapText() 2019-08-02 00:08:38 +02:00
Thanasis Antoniou 1bca3de594 COMMON: Support text wrapping with even width line segments
The new arguments are optional. The lines segments will be close to the same width.

The algorithm is similar to the one we had for Blade Runner but not exactly the same, since that one would wrap a line at a white space after the theoretical split point (quotient of full line text width divided by target lines number)
2019-08-02 00:08:38 +02:00
sluicebox 72c50d38ae SCI: Fix ICEMAN 'Climb down hatch'
Fixes bug #11039
2019-08-01 14:42:58 +03:00
sluicebox 487f616142 SCI: Fix LB1 fingerprint copy protection 2019-07-31 09:08:37 +03:00
Thierry Crozat 2cd224df60 I18N: Update translation (French)
Currently translated at 100.0% (1105 of 1105 strings)
2019-07-30 23:03:45 +02:00
Thierry Crozat 591ddf5b0b I18N: Update translations templates 2019-07-30 22:43:57 +02:00
Thierry Crozat 3e13bba28f GUI: Fix translation context for Cloud and LAN tabs 2019-07-30 21:43:08 +01:00
Thierry Crozat 74882eee54 I18N: Update translation (French)
Currently translated at 98.2% (1063 of 1083 strings)
2019-07-30 21:53:54 +02:00
Lothar Serra Mari 7ba0c446b5 I18N: Update translation (German)
Currently translated at 100.0% (1083 of 1083 strings)
2019-07-30 21:53:48 +02:00
Thierry Crozat 4b3e13e4bd I18N: Update translations templates 2019-07-30 21:42:06 +02:00
Lothar Serra Mari 0a1b8d8149 I18N: Remove obsolete POTFILES entry for storagewizarddialog.cpp 2019-07-30 21:41:28 +02:00
Niv Baehr 0377045f0e QUEEN: Skip talk on right click 2019-07-30 22:25:14 +03:00
Alexander Tkachev cffd6d79ab GUI: Fix a label in Cloud tab 2019-07-30 14:51:41 -04:00