Commit Graph
137148 Commits
Author SHA1 Message Date
Thierry Crozat 93e8e2a8c5 COMMON: Fix regression on String thread safety
The string memory pool mutex lock/unlock were lost during the
merge of String and U32String. This caused the cloud feature
to randomly crash for example when synchronizing savegames or
downloading game data.
2021-03-31 22:50:11 +01:00
Thierry Crozat bbff87e74e NETWORKING: Fix unknow key error when using local server 2021-03-31 22:01:23 +01:00
Thierry Crozat 3d36f38221 AGS: Allow showing fps using config file
To show the fps in ags games you can now add display_fps=true
in the ScummVM config file.
2021-03-31 22:01:23 +01:00
antoniou79 eada332807 BLADERUNNER: Fix crash when given folder to load legacy save
If the debugger load command was given a folder path instead of a path to a file, the game would crash

Also, legacy save (debugger) command should not accept a folder path. The code supports only a full path to a filename. It will not provide an automatically generated name for the legacy save when given a folder -- maybe a tweak to consider for the future, but probably not a thing to bother with.
2021-03-31 09:39:58 +03:00
Orgad Shaneh e7a9bf203f BACKENDS: Fix MinGW warnings on GetProcAddress usages
Example:
../scummvm/backends/platform/sdl/win32/win32_wrapper.cpp:39:52: warning: cast between incompatible function types from 'FARPROC' {aka 'long long int (*)()'} to 'VerSetConditionMaskFunction' {aka 'long long unsigned int (*)(long long unsigned int, long unsigned int, unsigned char)'} [-Wcast-function-type]
   39 |  VerSetConditionMaskFunction verSetConditionMask = (VerSetConditionMaskFunction)GetProcAddress(GetModuleHandle(TEXT("kernel32.dll")), "VerSetConditionMask");
      |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-03-31 02:13:07 +03:00
Orgad Shaneh 1f6f82361f COMMON: Use __gnu_printf__ instead of __printf__ for gcc on MinGW
With __printf__, MinGW prefers the portable old ms-style printf, and
warns if formats like %lld and %hhd are used.

In practice, if __USE_MINGW_ANSI_STDIO is not defined, it defaults to 1
on C++11, and these formats are supported. Using __gnu_printf__
suppresses bad format warnings.
2021-03-31 02:09:45 +03:00
Orgad Shaneh 3dac89a267 BACKENDS: Sprinkle some overrides 2021-03-31 02:04:47 +03:00
Orgad Shaneh 3e27d24994 SCUMM: Fix calculation of arrow position on Hebrew
The text buffer starts on the i offset. This was overlooked in the original
patch.

This amends commit 89c5cd5e5d.
2021-03-31 02:03:21 +03:00
Eugene Sandulenko e8c3dc9bfc I18N: Update translation (Ukrainian)
Currently translated at 100.0% (1616 of 1616 strings)
2021-03-30 15:11:11 +00:00
Eugene Sandulenko 2868c94eaa I18N: Update translation (Russian)
Currently translated at 100.0% (1616 of 1616 strings)
2021-03-30 15:11:01 +00:00
Eugene Sandulenko 1c327e0c70 IMAGE: Added not on BMP format conversion 2021-03-30 16:57:06 +02:00
Eugene Sandulenko f1b6740b88 DEVTOOLS: WAGE: Added borders with title 2021-03-30 16:57:05 +02:00
Matthew Duggan 48f5fafa02 ULTIMA8: Fixes for Crusader large weapons by resolving some TODOs 2021-03-30 20:52:20 +09:00
Timo Mikkolainen 605a3b8da5 I18N: Update translation (Finnish)
Currently translated at 100.0% (1616 of 1616 strings)
2021-03-30 01:24:50 +00:00
Mataniko 8802184bd5 PLUGINS: Remove CoreMidi hack 2021-03-29 19:39:22 -04:00
Thierry Crozat 81cddd4e77 AGS: Remove obsolete loopTimer argument from gfx renderers
Cherry-picked from adventuregamestudio/ags 7005bd21bc
2021-03-29 20:50:06 +01:00
Thierry Crozat e31734bfaa AGS: Remove waitingForNextTick() because it's no longer used
Cherry-picked from adventuregamestudio/ags c3bd303d88
2021-03-29 20:41:35 +01:00
Thierry Crozat 8baf920e73 AGS: Fix custom dialog options dropped fps twice
This is because game was making TWO time breaks between frames
instead of one.
Cherry picked from adventuregamestudio/ags bac258cac2.
2021-03-29 20:15:31 +01:00
Walter Agazzi 6ec04a4233 I18N: Update translation (Italian)
Currently translated at 100.0% (1616 of 1616 strings)
2021-03-29 19:08:48 +00:00
Eugene Sandulenko e844981cd0 BACKENDS: MACOS: Query number of MIDI devices at the start of ScummVM in a thread
The call to MIDIGetNumberOfDestinations() starts the MIDI server which takes
3-4l seconds even on the modern hardware. We are querying this in the GUI Options
which then lags on the first launch.

Thus, we are creating a separate thread and make this call at the start of
ScummVM, so by the time the user gets to the GUI, the server is already launched
and there is no lag.

Of course, that would mean that we will launch MIDI even for the games which are
not using it, so this is a tradeoff for the better UX.
2021-03-29 20:25:37 +02:00
Martin Gerhardy 8647a9541e TWINE: fixed invalid textid for processFoundItem 2021-03-29 20:20:58 +02:00
Matthew Duggan f042700056 ULTIMA8: Wire up more No Regret intrinsics 2021-03-29 19:49:31 +09:00
Matthew Duggan 3d1fa4b6eb ULTIMA8: Wire up I_shoot intrinsic for Crusader 2021-03-29 19:49:31 +09:00
Matthew Duggan 3b618a0f1c ULTIMA8: Implement I_setTarget and I_isFalling for Crusader 2021-03-29 19:49:31 +09:00
D G Turner 0657fdbd93 TWINE: Fix Mismatched Tags GCC Compiler Warning
This is emitted if -Wmismatched-tags is set.
2021-03-29 07:25:19 +01:00
Paul Gilbert 66dc734cb4 AGS: Added detection entries 2021-03-28 16:42:12 -07:00
Paweł Kołodziejski 3d84e3eb75 MATH: Extend matrix operators. Added getXYZ() for vector4. 2021-03-29 00:04:46 +02:00
mataniko 28a1a0d3f1 TTS: Fix builds when cross compiling 2021-03-28 17:17:55 -04:00
Martin Gerhardy bb618d3b5c TWINE: fixed vox and tts playback and aborting 2021-03-28 23:08:01 +02:00
Martin Gerhardy db0db6c0c1 TWINE: return value of initVoxToPlay now indicates whether there is speech 2021-03-28 22:46:45 +02:00
Martin Gerhardy 7c8bceee81 TWINE: debug output 2021-03-28 22:46:45 +02:00
Martin Gerhardy c91f547bf5 TWINE: reduced debug output on lower debug levels 2021-03-28 22:46:45 +02:00
ScummVM-Translations 51c5847435 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2021-03-28 19:42:44 +00:00
Orgad Shaneh b813d1ca0d CONFIGURE: Avoid needless overwrite of header and mk files
They trigger extensive rebuild of source files without a reason every time
the configure script changes, even if the result is exactly the same.
2021-03-28 21:42:31 +02:00
ScummVM-Translations eae8a30c09 I18N: Update translations templates 2021-03-28 18:36:24 +00:00
Cameron Cawley ea7a6ec27c ENGINES: Mark Engine::getDebugger() as final 2021-03-28 21:36:15 +03:00
Cameron Cawley 4b5eefb731 NANCY: Update the console code 2021-03-28 21:36:15 +03:00
mataniko c67fd1b63a TTS: Fix UI lag when TTS is turned on in Windows
Without specifying the XML format, SAPI throws a hidden exception that stalls the GUI every time we use TTS
2021-03-28 14:07:36 -04:00
ScummVM-Translations 0d604fbf84 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2021-03-28 17:59:54 +00:00
antoniou e69e149bd0 ANDROID: Support multiple right click with one finger down
If the user keeps one finger down they can still generate new right click events

Previously in multitouch events, we supported only one right click event starting from one finger down.
The user subsequently had to restart the multitouch mode for another right click; hence lift all fingers
from the surface and start again.
New behavior allows user to generate a new right click while holding one finger down and putting down and lifting a second finger.
I think this is more intuitive and user friendly, although it might require some getting used to, if one was accustomed to the old behavior
2021-03-28 20:59:39 +03:00
ScummVM-Translations 607f1ca967 I18N: Update translations templates 2021-03-28 16:58:33 +00:00
Martin Gerhardy 612c55f53f TWINE: reduced warnings output to debug 2021-03-28 18:56:33 +02:00
Martin Gerhardy a144b88b5c TWINE: added text-to-speech for the floppy disc version
this version doesn't include any vox files for speech
2021-03-28 18:56:32 +02:00
Martin Gerhardy df11ff82b9 TWINE: access to the current text bank id 2021-03-28 18:56:32 +02:00
Martin Gerhardy 772368b6dc TWINE: use TextData parser 2021-03-28 18:56:32 +02:00
Martin Gerhardy e9b72e2d7e TWINE: debug output for text handling 2021-03-28 18:56:32 +02:00
Martin Gerhardy f98eead34f TWINE: format 2021-03-28 18:56:32 +02:00
Martin Gerhardy a108866b7d TWINE: added text parser 2021-03-28 18:56:32 +02:00
Martin Gerhardy 698861bba6 TWINE: init the configuration values earlier
this allows us to load localized resources to the data cache
2021-03-28 18:56:32 +02:00
Lothar Serra Mari 395948ddfd I18N: Update translation (German)
Currently translated at 99.0% (1601 of 1616 strings)
2021-03-28 14:52:00 +00:00