Commit Graph
137148 Commits
Author SHA1 Message Date
David Fioramonti 3922370275 BLADERUNNER: Add cos/sine table
This uses the one in Common.

The engine now contains a 10-bit cosine and sine table.
It used mostly for vector math.

This also allows two vector functions to be removed from vector.h.
2018-08-03 14:50:45 +02:00
Bastien Bouclet 66171c554d GUI: Fix missing xml theme markup
Was mistakenly not copied over when syncing with ScummVM

Fixes #1486.
2018-08-03 13:19:04 +02:00
lolbot-iichan d91307e401 COMMON: Added Ukrainian language
Common::UA_UKR is needed for FoxTail game at WinterMute engine
2018-08-03 00:43:33 +02:00
whiterandrek e9fde87cf2 PINK: fixed bug when in walking state you choose another location 2018-08-02 21:09:27 +03:00
Ľubomír Remák d9b3853dec COMMON: Fix kerning issue in wordWrapText. 2018-08-02 18:54:13 +02:00
Eugene Sandulenko d79667015a NEWS: Formatting fixes 2018-08-02 11:04:45 +02:00
orangeforest11 7dab9f6174 STARK: Check the validity of the parameter for the changechapter console command 2018-08-02 06:41:04 +02:00
Colin Snover 8da86418bf PARALLACTION: Fix use-after-free on quit
Parallaction::_gfx is referenced by objects destroyed when
Parallaction::_input is destroyed so it cannot be destroyed first.
2018-08-01 16:44:51 +01:00
Colin Snover 69df2e2d0e PARALLACTION: Fix null pointer dereference on quit 2018-08-01 16:44:51 +01:00
Colin Snover 8f7f7a9c2b PARALLACTION: Fix invalid array access at dialogue selection
Also removes an unnecessary second condition check for oldAnswer
by moving that closer to its point of use.
2018-08-01 16:44:51 +01:00
Thierry Crozat 65b108b4cf NEWS: Mention new display stretch mode 2018-08-01 16:30:56 +01:00
Eugene Sandulenko 926f2e3cab NEWS: Formatting fixes 2018-08-01 10:54:45 +02:00
Bastien Bouclet de886a8b58 AUDIO: Fix broken physical audio CD playback on non-win32
The play method did not override the base class due to the addition of
the soundType parameter.
2018-07-31 21:44:26 +02:00
Bastien Bouclet 53759fe53a ALL: Sync with ScummVM - rev. 2586ca2345 2018-07-31 21:09:37 +02:00
Thierry Crozat 2586ca2345 I18N: Update translations templates 2018-07-31 14:31:19 +02:00
D G Turner 574318c052 MOHAWK: Fix Unused Variable Compiler Warning.
This occurs when FreeType2 is not enabled and thus fontHeight variable
is unused.
2018-07-31 13:38:33 +01:00
D G Turner 2a4fa26d52 CRUISE: Fix Possible Invalid Thumbnail Pointer Access. 2018-07-31 09:22:26 +01:00
Lothar Serra Mari 388f16d3bc I18N: Update translation (German)
Currently translated at 100.0% (989 of 989 strings)
2018-07-30 21:07:48 +02:00
Thierry Crozat 53d0fe22d9 COMMON: Fix HashMap never reusing erased items storage
When erasing and inserting many items this caused the hashmap capacity
to grow more than it should which resulted in performances issues (and
possibly memory issues as well). The issue was reported on IRC today
with the wintermute engine.
2018-07-30 19:32:02 +01:00
Thierry Crozat cb6d3b575c I18N: Update translations templates 2018-07-30 20:12:26 +02:00
Bastien Bouclet 3a7f85971f MOHAWK: MYST: Add support for the localized 25th games 2018-07-30 20:13:16 +02:00
D G Turner 3f91accbd7 DM: Fix Possible Uninitialized Variable Usage Compiler Warnings. 2018-07-30 14:07:23 +01:00
D G Turner 941fe1dd7e AUDIO: Fix Compiler Shadowing Warnings. 2018-07-30 09:27:31 +01:00
Andrei Prykhodko ed384a0deb GRAPHICS: MACGUI: fixed memory leaks in MacTextWindow 2018-07-30 07:03:00 +03:00
Thierry Crozat 459f26fcaf I18N: Regenerate translations data file 2018-07-30 05:05:07 +02:00
Andrei Prykhodko f79eceda10 PINK: force cursor updating when entering to pda page 2018-07-29 22:54:05 +03:00
Andrei Prykhodko 8530d9fbc5 PINK: fixed Coverity warnings 2018-07-29 21:34:20 +03:00
Andrei Prykhodko bb732cd9c8 PINK: add partial implementation of ActionText 2018-07-29 21:23:04 +03:00
Andrei Prykhodko 75eceedfa5 GRAPHICS: MACGUI: add additional arg to MacTextWindow's constructor to disable cursor handler 2018-07-29 21:23:04 +03:00
Andrei Prykhodko 841e0c11d8 GRAPHICS: MACGUI: fixed SIGSEGV when ptr to menu in MacTextWindow is NULL 2018-07-29 21:23:04 +03:00
Thierry Crozat 8ce7175ab7 I18N: Update translations templates 2018-07-29 14:58:41 +02:00
Thierry Crozat f337c90618 GUI: Fix graphics options visibility depending on supported featuress 2018-07-29 13:57:20 +01:00
Paolo Bossi 95fb46049e I18N: Update translation (Italian)
Currently translated at 100.0% (989 of 989 strings)
2018-07-29 10:32:26 +02:00
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