Commit Graph

144648 Commits

Author SHA1 Message Date
Cameron Cawley
9c86add634 ENGINES: Remove MetaEngineDetection::parseAndCustomizeGuiOptions() 2023-08-28 22:59:50 +02:00
Cameron Cawley
c4a0d2210f AGI: Replace use of MetaEngineDetection::parseAndCustomizeGuiOptions() 2023-08-28 22:59:50 +02:00
Cameron Cawley
10e432f9aa SCUMM: Replace use of MetaEngineDetection::parseAndCustomizeGuiOptions() 2023-08-28 22:59:50 +02:00
Silke Hofstra
7798ab4ccc CONFIGURE: Ignore --runstatedir
Silently ignore `--runstatedir` flag, which was introduced in Autoconf 2.70.
2023-08-28 22:32:53 +02:00
Eugene Sandulenko
e24ae7f334
BUILD: Simplify CPU checks as suggested by lman 2023-08-28 22:31:37 +02:00
Ralph Caraveo
f2c2453b80
SCI: Improve debugger disassembly selector name context
Show additional selector name context when push0, push1, push2 opcodes are used.

Possible matching selector names are always shown for the debugger disassembly when a `pushi` opcode is encountered. This is great as it gives additional context when push is used for call/send related invocations.

It would be nice to additionally show *possible* matching `selector` methods/properties when `push0`, `push1` or `push2` is encountered because selector names start at 0 so the dissassembly never shows selectors 0 through 2 inclusive.
2023-08-28 23:15:20 +03:00
PushmePullyu
dccb48e086 SHERLOCK: Fix incorrect talk history
Increase talkHistoryEntry._data[] size from 16 to 32.

Prevents out-of-bounds access to talkHistoryEntry._data if
a talk file has more than 16 statements.

Warning: This bumps the save version to 6.

Fixes #14578
2023-08-28 22:08:59 +02:00
ScummVM-Translations
447c4bede8 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/
2023-08-28 20:07:57 +00:00
Eugene Sandulenko
95562d2853
NEWS: Mention new default "auto" for GM device 2023-08-28 22:07:11 +02:00
ScummVM-Translations
3de7a7386b I18N: Update translations templates 2023-08-28 20:06:35 +00:00
elasota
8bb2afd217 AUDIO: Change default GM device to "auto" 2023-08-28 22:06:19 +02:00
ScummVM-Translations
075f7fd3c8 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/
2023-08-28 20:04:44 +00:00
elasota
4f83f8f625 COMMON: Use standard library strlen for char string lengths. 2023-08-28 22:04:26 +02:00
elasota
20c91ae391 COMMON: Move string length calculation to a separate function so it's easier to get through string constructors with just Step Over while debugging (vs. Step Out which has a 2-key default keybind in VS and can behave badly with optimizations enabled). 2023-08-28 22:04:26 +02:00
ScummVM-Translations
73dc339f9c I18N: Update translations templates 2023-08-28 19:59:50 +00:00
ScummVM-Translations
78ebd3c5bb 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/
2023-08-28 19:59:48 +00:00
antoniou79
d2865e7dc6 GUI: Add allowKdbRepeats() to up/down/left/right actions in launcher
This matches also the behavior as set in engines/metaengine.cpp MetaEngine::initKeymaps()

This change is needed at least to avoid a hack on Android. Setting the "kdbRepeat" flag
for events of keeping the arrow keys pressed (on the touch virtual keyboard), as Android supports,
would not work to eg. keep going through a list upwards or downwards with the respective
arrow key pressed. Instead we had to hack the behavior of a physical keyboard which
sents multiple keypresses (keydown and keyup events), without setting the kbdRepeat flag.
However, this hack would work poorly in some game engines (eg. in LBA while rotating Twinsen,
the movement becomes "stuttering"). In-games the kbdRepeat flags is respected already due
to the setting in engines/metaengine.cpp (as far as I can tell) and resulting movement is
more fluid.
2023-08-28 21:59:30 +02:00
ScummVM-Translations
caf5cae277 I18N: Update translations templates 2023-08-28 19:52:54 +00:00
ScummVM-Translations
b1c0896c67 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/
2023-08-28 19:52:52 +00:00
Simon Delamarre
da64e44f88 GOB: Remove ArchiveMember to FSNode dynamic_casts
This fixes the Read/Count application selection in Adibou2
2023-08-28 21:52:38 +02:00
Simon Delamarre
c097a43a1f COMMON: Allow to know the archive name of matching members in SearchSet 2023-08-28 21:52:38 +02:00
ScummVM-Translations
f6b1b474eb I18N: Update translations templates 2023-08-28 19:51:34 +00:00
ScummVM-Translations
9fbc8fa89f 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/
2023-08-28 19:51:32 +00:00
Cameron Cawley
16af74a40e ULTIMA: Regenerate ultima8.dat 2023-08-28 21:51:17 +02:00
Cameron Cawley
a7c8056d73 ULTIMA: Split Ultima 8 resources into a separate archive 2023-08-28 21:51:17 +02:00
ScummVM-Translations
67038b4030 I18N: Update translations templates 2023-08-28 19:49:19 +00:00
ScummVM-Translations
491ac800c8 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/
2023-08-28 19:49:17 +00:00
Le Philousophe
2f7c2149e5 COMMON: Remove useless inflateZlib function
To write on stream it's simpler to use wrapCompressedReadStream and
writeStream function.
2023-08-28 21:49:03 +02:00
Le Philousophe
7c9df6c2bf GLK: ADRIFT: Use wrapCompressedReadStream instead of specific function 2023-08-28 21:49:03 +02:00
Le Philousophe
5bdd9e6f50 ALL: Unify zlib and gzio API
zlib is used when available and falls back on gzio.
This allows performance improvements as our CRC32 and gzio
implementations are slower than base zlib.
As zlib is available when libpng is present, this is sensible to
benefit from it.
2023-08-28 21:49:03 +02:00
Le Philousophe
be3eb09753 COMMON: Allow GZipReadStream to work on data in the middle of stream 2023-08-28 21:49:03 +02:00
Le Philousophe
191bde03ad COMMON: Use memcpy instead of memmove
memove was used although the buffers were not overlapping.
Using memcpy allows for better optimizations by compiler.
2023-08-28 21:49:03 +02:00
Le Philousophe
5edf74d8a6 COMMON: Cleanup flags defines
In addition, use flags from RFC and not from (really) old gzip
implementations.
2023-08-28 21:49:03 +02:00
Le Philousophe
b5e3173b10 COMMON: Fix inflateZlibHeaderless name
The function takes a stream beginning with zlib header unlike the name
suggests.
inflateInit expects to parse a zlib header.
2023-08-28 21:49:03 +02:00
Le Philousophe
ead4171bbd COMMON: Rewrite writeStream to work with any ReadStream
This let it work with stream without a known size and avoids allocating
big buffers when file is big.
2023-08-28 21:49:03 +02:00
ScummVM-Translations
0db796bd98 I18N: Update translations templates 2023-08-28 19:34:39 +00:00
antoniou79
74e521d8f8 PINK: Disable the Songs entry from the demo menu
This is aimed at and tested for the German Demo menu of Passport to Peril

In the original demo, the menu item for Songs is missing from the menu. In this fix we disable it (greyed out)
because the code for removing an item from the menu causes shifting of the subsequent menu items which
leads to unreliable code and potential future bugs if it's not accounted for.
2023-08-28 22:34:28 +03:00
Eugene Sandulenko
3bf4795c20
AGS: Added missing license headers 2023-08-28 21:22:18 +02:00
Eugene Sandulenko
8f5a157b84
NEWS: Fix indentation 2023-08-28 21:22:04 +02:00
Eugene Sandulenko
ace85f1cac
NEWS: Mention new CPU blending routinnes in ManagedSurface and in AGS. 2023-08-28 21:21:06 +02:00
Wyatt Radkiewicz
742f1f296d AGS: Fixed code formatting 2023-08-28 21:16:42 +02:00
wyatt-radkiewicz
b22e073e35 AGS: Added AVX2 support for blending functions 2023-08-28 21:16:42 +02:00
wyatt-radkiewicz
e416492a06 AGS: Now engine can detect AVX2 2023-08-28 21:16:42 +02:00
Wyatt Radkiewicz
1cf3c7832a AGS: GRAPHICS: SIMD blending refactoring
Here I moved the simd paths to their own translation units and removed
their unessesary header files. I also made it so that less of the
translation units have template forward declarations.

I made it so that surface.cpp now chooses at runtime what simd path it
should take.
2023-08-28 21:16:42 +02:00
Wyatt Radkiewicz
1dfbaa35c5 AGS: GRAPHICS: Moved duplicate code to DrawInnerArgs 2023-08-28 21:16:42 +02:00
Wyatt Radkiewicz
bc20c0185d AGS: GRAPHICS: Changed bending functions templates 2023-08-28 21:16:42 +02:00
Wyatt Radkiewicz
153afb1081 AGS: Cleaned up blending funcs argument passing 2023-08-28 21:16:42 +02:00
Wyatt Radkiewicz
cf358fbc4e BUILD: AGS removed PPC blending files 2023-08-28 21:16:42 +02:00
Wyatt Radkiewicz
a1858e31f0 AGS: JANITORIAL: Cleaned up old bliting files 2023-08-28 21:16:42 +02:00
Wyatt Radkiewicz
6c353ba72b AGS: Use main SIMD detection features 2023-08-28 21:16:42 +02:00