Commit Graph

142712 Commits

Author SHA1 Message Date
ScummVM-Translations
2c364f0da5 I18N: Update translations templates 2023-06-10 21:37:06 +00:00
ScummVM-Translations
a1e8c1f974 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-06-10 21:37:05 +00:00
Miro Kropacek
3ab147259b GRAPHICS: Add support for dithering from 3bpp into 1bpp
This allows using "ScummVM Modern" theme in 8-bit resolutions.
2023-06-10 23:27:57 +02:00
Miro Kropacek
e4dcd46b43 GUI: Don't parse all available engines and games on startup
When statically linked, this makes about 8000 variants.

This change takes only engines and games present in a domain into
account. This speeds up loading time on slower backends quite
noticeably.
2023-06-10 23:27:57 +02:00
Miro Kropacek
09a5e47636 GUI: Add debug outputs for easier profiling 2023-06-10 23:27:57 +02:00
Miro Kropacek
3294b20653 GRAPHICS: Support Floyd dithering for RGB121
RGB121 is a special case of CLUT8 similar to RGB332 but with pixels
taking only the low nibble of a byte.
2023-06-10 23:27:57 +02:00
Miro Kropacek
650ccb6ded GUI: Don't assume ManagedSurface's pitch
This caused corruption with small scale's cursor (18px) if
ManagedSurface's inner surface used a different pitch than w *
format.bytesPerPixel.
2023-06-10 23:27:57 +02:00
Miro Kropacek
62d3a3c16e BACKENDS: ATARI: work around engines with unaligned pitch
Too complex to investigate so don't align every 8-bit surface on a
16-byte boundary there.
2023-06-10 23:27:57 +02:00
ScummVM-Translations
aafed3746b I18N: Update translations templates 2023-06-10 16:21:02 +00:00
Paul Gilbert
32bcd55d6c MM: MM1: Add direct detection for the Graphics Overhauld Mod.
We don't support running the game directly from it, since doing
so would bypass the need for the original game. But at least
this way, it will be recognised, and users will be given an
informative message of why the game won't run.
2023-06-10 09:20:45 -07:00
Matthew Jimenez
f7e7bfaa4a ULTIMA8: Use system configurable double-click time 2023-06-10 09:35:27 -05:00
ScummVM-Translations
c1373121ee 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-06-10 14:18:46 +00:00
Harishankar Kumar
5a5e205e0d DIRECTOR: Add _autoPuppet flag, initial work for D6 auto-puppeting
[Based on Director in a Nutshell, page 15]
The following properties of a sprite are auto-puppeted whenever
the property is set: backColor, blend, editable, foreColor, height,
ink, loc, locH, locV, member, moveable, rect and width. Auto-puppeting
of individual properties has no effect on the puppet of sprite property

['Lingo Dictionary' 601 Fixes]
Sprites now have a duration as specified in the (new) score view.
When lingo modifies any of the sprite properties that property
will be auto-puppeted, i.e. the value set will stick for the
duration of that sprite despite any values recorded in the score.
This can cause existing lingo which relied on setting the property
of a sprite without the use of 'puppet' to behave differently.
Calling 'puppetSprite spriteNumber, FALSE' will also clear any
currently auto-puppeted properties.
2023-06-10 16:18:34 +02:00
Harishankar Kumar
bcd4a82075 DIRECTOR: remove puppet checks when setting sprite properties
In original engine it is possible to set non-puppted sprite properties
like position, backcolor etc and then call updatestage to update the
screen according to property. This is undocumented behaviour
which is not present depicted in any books however with rigorous testing
it is found to be true. This change only persist for the current frame
and once the playback head is moving the change is lost.

`ATD\HD\bdDREAMA.DXR` of 'totaldistortion' used some of this quirk to
display moving bullets.
2023-06-10 16:18:34 +02:00
Lothar Serra Mari
f9cb46132d I18N: Update translation (German)
Currently translated at 100.0% (1932 of 1932 strings)
2023-06-10 07:39:47 +00:00
Xaviu
8127dc1ba9 I18N: Update translation (Catalan)
Currently translated at 81.9% (1584 of 1932 strings)
2023-06-10 06:40:30 +00:00
Paul Gilbert
dfec6b497d CREATE_ENGINE: Remove duplicate files from new events style 2023-06-09 19:55:14 -07:00
elasota
3f4425fa9e MTROPOLIS: Terminate message propagation if the message target was deleted. Fixes infinite loop when exiting MTI piano scene. 2023-06-09 20:08:42 -04:00
elasota
b7b09f58d5 VCRUISE: Attempt to fix English DVD version 2023-06-09 17:50:32 -04:00
elasota
f218c6169d MTROPOLIS: Fix mToon transparency regression. Fix mToon out-of-range cel wraparound behavior. 2023-06-09 17:44:57 -04:00
ScummVM-Translations
5a75fd3963 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-06-09 16:22:04 +00:00
Thierry Crozat
ef53dc058a BASE: Add number of game variants to --stats option 2023-06-09 18:21:47 +02:00
Thierry Crozat
ede44360b7 ENGINES: Add function in MetaEngineDection to get the number of game variants 2023-06-09 18:21:47 +02:00
Thierry Crozat
1ba7b12102 BASE: Include target count in --stats option 2023-06-09 18:21:47 +02:00
Thierry Crozat
b742c2e7f9 BASE: Allow specifying engines for --list-targets option 2023-06-09 18:21:47 +02:00
Thierry Crozat
46f0e28624 BASE: Support listing games for multiple engines 2023-06-09 18:21:47 +02:00
Thierry Crozat
8ce91026fe BASE: Add --stats command line option 2023-06-09 18:21:47 +02:00
ScummVM-Translations
3c4244df1e I18N: Update translations templates 2023-06-09 05:48:33 +00:00
Misty De Meo
d814ddda90 DIRECTOR: revert changes to openResFile
In 6e47994fc793f122768565185b1d6c6052aca2d9, openResFile was changed
to use the new `openArchive` method. However, that method tries to
treat the file as a Director archive and it may not be. This broke,
for example, loading external cursors via `openResFile`. This reverts
to the previous behaviour.
2023-06-08 22:48:21 -07:00
elasota
a4856ca1ba MTROPOLIS: Show object RTID in debug info 2023-06-09 01:03:33 -04:00
elasota
cfae4f935e MTROPOLIS: Fix paletted mToon color keying not working. Replicate mTropolis 1.0 bug to fix MTI piano buttons playing 2 hints at once. 2023-06-09 01:03:05 -04:00
Paul Gilbert
d4ec8c5815 CREATE_ENGINE: Add new -events option for events-based project
This gives an option for creating a project where the event
handling is centralized in a single processing loop, and is
then dispatched to 'views' that contain the game logic.
Like the original skeleton engine, the created events-based
engine contains a single default view showing a palette cycle.
2023-06-08 20:16:36 -07:00
Eugene Sandulenko
450bd74fad
DIRECTOR: Attempt to fix memory leaks on unsuccessful projector open attempts 2023-06-08 16:08:09 +02:00
ScummVM-Translations
c995719693 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-06-08 13:37:15 +00:00
Walter Agazzi
a7d69a40cb AGS: Restore screenshot creation workaround on save
This commit restores the old workaround to force screenshot creation on save,
which was lost among the upstream commits
Fixes bug #14477
2023-06-08 14:40:05 +02:00
ScummVM-Translations
330aab7602 I18N: Update translations templates 2023-06-08 07:16:42 +00:00
Scott Percival
354abe0cc7 DIRECTOR: Fix ProjectorArchive path lookup 2023-06-08 09:16:30 +02:00
Scott Percival
c94f2de321 DIRECTOR: Add font quirks for two Star Trek games 2023-06-08 09:16:30 +02:00
Scott Percival
507a4431a8 DIRECTOR: Fix b_getAt to support POINT 2023-06-08 09:16:30 +02:00
Scott Percival
07608d13ec DIRECTOR: Add stub for Color XObj 2023-06-08 09:16:30 +02:00
Scott Percival
9b29fff76c DIRECTOR: Make b_sort behaviour more accurate
Fixes the constants init loading section of Star Trek TNG
Episode Guide.
2023-06-08 09:16:30 +02:00
Scott Percival
993c473bb6 DIRECTOR: b_objectp should return 1 for ARRAY and PARRAY
Fixes the constants init loading section of Star Trek TNG
Episode Guide.
2023-06-08 09:16:30 +02:00
Scott Percival
14474ce129 DIRECTOR: Fix "the number of castMembers"
This figure is supposed to be the highest member ID for a cast member in
the current movie, not the actual count of cast members.

In addition, Lingo only throws an error when querying cast member IDs that
are higher than this figure. If the member ID is lower and the cast
member doesn't exist, "the" queries return a VOID.

Fixes the verify cast table check in Star Trek TNG Episode Guide.
2023-06-08 09:16:30 +02:00
Scott Percival
871c1d0907 DIRECTOR: Fix leak in Window::runTests() 2023-06-08 09:16:30 +02:00
Scott Percival
d69dac6016 COMMON: Fix file handle leak in generateZipSet() 2023-06-08 09:16:30 +02:00
Scott Percival
dcd897e5c6 DIRECTOR: Add Object::incRefCount() and Object::decRefCount() helpers 2023-06-08 09:16:30 +02:00
Scott Percival
458e97933d DIRECTOR: Refactor archive loading code
Make DirectorEngine::_allOpenResFiles the de-facto owner of Archive *
objects, move all of the various loadEXE/loadMac methods off Window and
onto DirectorEngine, and replace inline Archive loading with
openArchive().
2023-06-08 09:16:30 +02:00
Le Philousophe
538ebaa920 MTROPOLIS: Fix build 2023-06-08 08:46:49 +02:00
elasota
f3ff05e658 VCRUISE: Properly fix EOS flag handling in Gentee Installer unpacker 2023-06-07 23:55:33 -04:00
elasota
55d578078b MTROPOLIS: Add basic support for image effect modifiers, which should fix most object highlights in MTI 2023-06-07 23:48:36 -04:00