Commit Graph
86814 Commits
Author SHA1 Message Date
D G Turner d1d521c61c SLUDGE: Fix Unused Function Compiler Warnings. 2018-07-29 09:40:32 +01:00
Paolo Bossi 9ed69d42ba I18N: Update translation (Italian)
Currently translated at 100.0% (989 of 989 strings)
2018-07-29 10:06:55 +02:00
Torbjörn Andersson f6a0e197b1 ZVISION: Add workaround for ZGI bug #10605
It's possible to get the "Fire! Fire!" timer stuck after setting
the the inquisitor doll on fire. This should work around that.
2018-07-29 09:48:47 +02:00
Torbjörn Andersson 2982792eb1 ZVISION: Add workaround for bug #10604
It was possible to render the game unplayable simply by looking at
Jack's cigar box while waiting for him to return to examine the
lamp. Note that this bug is only present in the DVD version. For
whatever reason, it adds a dummy location for playing the cutscene.
Applying the bugfix in the CD version actually breaks the game.
2018-07-29 09:48:19 +02:00
Cameron Cawley 8120a22a40 ANDROID: Use the dedicated GUI option for enabling the touchpad mode 2018-07-29 09:47:15 +02:00
Cameron Cawley 7730fbb36e WINTERMUTE: Return Common::kUnsupportedColorMode if the required screen format is unavailable 2018-07-29 09:38:12 +02:00
Cameron Cawley d494d73c80 ANDROID: Replace getPixelFormatName function with PixelFormat::toString 2018-07-29 09:37:40 +02:00
D G Turner 51a2685e3f SUPERNOVA: Fix Unused Variable Compiler Warnings. 2018-07-29 08:25:37 +01:00
D G Turner 6ae2bff1c7 PINK: Fix Unused Const Variable Compiler Warning. 2018-07-29 08:08:03 +01:00
Thierry Crozat ae9f898a1d I18N: Update translations templates 2018-07-29 06:53:02 +02:00
D G Turner 1f3aaac12c MOHAWK: Silent Compiler Warning About Unused VM Pointer.
This can be restored if required at a later time.
2018-07-29 06:00:42 +01:00
D G Turner 8f1e1bdd8c LILLIPUT: Minor Sound Function Name Change For Consistency.
This has no functional change, but improves the consistency with the
renamed stopSound() function.

Also, minor fixes for formatting, removal of redundant comments and code
in sound class.
2018-07-29 05:30:37 +01:00
D G Turner dd8e003602 LILLIPUT: Fix Compiler Warning About Hiding Overloaded Virtual. 2018-07-29 05:20:55 +01:00
D G Turner bdb307634f LILLIPUT: Remove Unused Engine Pointer from Sound Class.
Since this was unused, it was causing various compiler warnings of the
set-but-not-used type. If it is needed later, this code can be restored.
2018-07-29 03:56:20 +01:00
D G Turner 733cb7dcc7 CRYO: Fix Debug Statement Format String Compiler Warnings.
Some of the debug statements in the engine compute values or sizes of
various items by pointer subtraction (which is probably not recommended;
I am not sure if this is why some of the structs were previous packed as
noted and removed by snover).

In any case, the subtractions should result in relatively small integer
values, but using these into debug() calls with printf style format
strings can cause warnings from the compiler with the format specifier
depending on the underlying pointer sizes.

To avoid these, have recast these to int. If this does cause any issues,
they should be limited to debug() value changes and thus not a
functional issue with the engine, which can be corrected by the engine
developers.
2018-07-29 03:32:40 +01:00
D G Turner 275fc30f27 ACCESS: MM: Fix Compiler Variable Shadowing Warning. 2018-07-29 03:19:53 +01:00
D G Turner f353e466df IOS: Fix Build due to Smartkeyboard on IPad Pro Patch.
The code provided for Smartkeyboard on IPad Pro seems to be broken, so
am making minor changes to try to fix this.

The following should still function, but this will need testing by an
IOS user with this hardware, if it compiles.
2018-07-29 02:55:48 +01:00
David Fioramonti 51351111d4 MOHAWK: RIVEN: Only use x mouse position to move dome sliders
Fixes Trac#10642.

The original engine will move the dome sliders whenever the player is
dragging a dome slider to the left or right regardless of y position.

In ScummVM the dome slider position would only change to the players x
mouse position when the y value was also in the slider hotspot. This
change removes the y check by making the point to be checked always
have a y value in the hotspot rect.

The x values are also bound to the max and min value that any of the
slider hotspots can have. This allows the slider to go all the way to
the left and right even if the user has gone past the slider area
to the left or right while still holding the slider.
2018-07-27 16:16:29 +02:00
Paul Gilbert 560f10c346 XEEN: Fix Coverity warnings 2018-07-26 18:54:17 -07:00
Andrei Prykhodko 877b4e5cf3 PINK: fixed engine destroying in pda state 2018-07-26 05:24:57 +03:00
Andrei Prykhodko f447ccb390 GRAPHICS: MACGUI: fixed restoring screen 2018-07-26 05:18:04 +03:00
Andrei Prykhodko cdd5717ce0 PINK: fixed entering pda through menu in a row 2018-07-26 05:10:57 +03:00
Andrei Prykhodko 6eee64e8fb GRAPHICS: MACGUI: added field initialization 2018-07-26 04:44:20 +03:00
Andrei Prykhodko c655e7fa54 PINK: fixed memory leak 2018-07-26 04:40:17 +03:00
Andrei Prykhodko a961427373 GRAPHICS: MACGUI: fixed memory leak 2018-07-26 04:37:00 +03:00
Bastien Bouclet 85a603fdff MOHAWK: MYST: Don't play the flyby movies when going back to Myst 2018-07-25 20:37:27 +02:00
David Fioramonti 650e26b6ab COMMON: Add at() index function to cosine/sine table
The cos/sin table class now has an at() function for indexing
safely into its internal array.

This allows the checking and computing of the correct
indexes to be done internally.

The indexing in allows cos/sine of 0 to 2pi to be
obtained.

The values returned by getTable are the same as before.

Comments that describe the values that the table
contains has been modified to line up with what
the code is doing.
2018-07-25 10:18:32 +02:00
D G Turner eee970df1f IOS: Add Keyboard and UI Fixes for Smartkeyboard on IPad Pro.
These have not been compiled or otherwise tested, but are cleaned up
version of code changes from forum user "dottostring" in thread:
http://forums.scummvm.org/viewtopic.php?t=14524

This should add Fake ESC key support replacing the '`' key and add full
support for the Arrow keys.
2018-07-25 10:17:40 +02:00
David Fioramonti 75587c3c66 LAB: Fix thumbnail issues
Fixes Trac#10619.

The thumbnail loading for the saved games was defaulting to
disabled so no thumbnail was being loaded and this caused trying
to show the thumbnail to crash scummvm.

So I have set the thumbnail pointer to be null if the thumbnail
doesn't get loaded and I've set the thumnail to not be skipped
so that thumbnails get shown when using the gui.
2018-07-25 10:15:32 +02:00
Thierry Crozat 7b0402fbb0 GUI: Fix scrollbar bottom arrow being displayed as up arrow after mouse up 2018-07-24 00:27:11 +01:00
Thierry Crozat bd98c6f045 GUI: Handle continous scrolling in ScrollContainer
When keeping the scrollbar up or down arrow pressed in a
ScrollContainer is now scrolls continously, as it was
already doing in the ListWidget.
2018-07-24 00:27:11 +01:00
Thierry Crozat 211ef61fdf GUI: Set ScrollContainer single step to kLineHeight instead of 1 pixel
The single step is the amount of scroll done when clicking once on
the scrollbar up or down arrow. It used to be 1 entry, but for the
ScrollContainer 1 entry is 1 pixel, which was too litle. Now the
single step can be set to a multiple entries.
2018-07-24 00:27:11 +01:00
Thierry Crozat f7a4b74130 GUI: Fix container widgets not receiving events 2018-07-24 00:27:11 +01:00
Eugene Sandulenko bb2f218fa1 ZVISION: Fix atan2() arguments order. CID 1394387 2018-07-23 23:46:06 +02:00
Lothar Serra Mari 0ec245b97b I18N: Update translation (German)
Currently translated at 97.9% (969 of 989 strings)
2018-07-23 23:28:36 +02:00
Eugene Sandulenko 5ceb3be771 ILLUSIONS: Fix copy/paste bug. CID 1394433 2018-07-23 23:27:50 +02:00
Eugene Sandulenko c48489f6d2 GRAPHICS: MACGUI: Restore screen on exiting from menu 2018-07-23 14:47:46 +02:00
Eugene Sandulenko 6fc6ce3ac4 PINK: Rely on MacWindoManager to restore screen after menu 2018-07-23 14:47:27 +02:00
Timo Mikkolainen 88ca3cd074 I18N: Update translation (Finnish)
Currently translated at 100.0% (989 of 989 strings)
2018-07-23 10:33:56 +02:00
Cameron Cawley c52addd001 RISCOS: Use a variable for the application name 2018-07-23 09:36:46 +02:00
Bastien Bouclet d2acf0cef1 GUI: Sync the embedded classic theme 2018-07-23 07:39:20 +02:00
Thierry Crozat e1e9d67e60 I18N: Regenerate translations data file 2018-07-23 05:05:03 +02:00
George Kormendi d0b7c1f218 I18N: Update translation (Hungarian)
Currently translated at 100.0% (989 of 989 strings)
2018-07-23 04:25:16 +02:00
Thierry Crozat ac0e0a56d8 I18N: Update translation (French)
Currently translated at 100.0% (989 of 989 strings)
2018-07-22 22:35:23 +02:00
Thierry Crozat 69e8667b73 I18N: Update translations templates 2018-07-22 22:30:02 +02:00
Thierry Crozat 0b6ef93b85 GUI: Use consistent capitalization for options
As discussed on the mailing list we should use title capitalization
only for push buttons and tabs and use sentence capitalization for
everything else.
2018-07-22 21:28:12 +01:00
Andrei Prykhodko 1832dd0bab PINK: fixed starting new game from menu in pda state 2018-07-22 21:33:48 +03:00
Andrei Prykhodko c06e2abfb0 PINK: added menu commands 2018-07-22 21:26:09 +03:00
Andrei Prykhodko f4eda44186 GRAPHICS: MACGUI: fixes for menu parser from win exe 2018-07-22 21:19:02 +03:00
Andrei Prykhodko 62c66bc67a GRAPHICS: MACGUI: added unicode submenu rendering 2018-07-22 20:37:44 +03:00