Commit Graph

152782 Commits

Author SHA1 Message Date
Torbjörn Andersson
be92f29104 SAGA: Add "Enable copy protection" engine checkbox for ITE
I have not actually tested that the copy protection works, but the
engine does seem to implement it.
2024-06-30 18:01:32 +02:00
Torbjörn Andersson
c05e9c9ae0 MADS: Add "Enable copy protection" engine checkbox for Rex Nebular 2024-06-30 18:01:32 +02:00
Torbjörn Andersson
00aa2cdde1 VOYEUR: Add "Enable lockout system" engine checkbox
This isn't a copy protection, it's more of a parental control thing. But
it piggybacks on the "copy_protection" config setting so let's add it
anyway.
2024-06-30 18:01:32 +02:00
Torbjörn Andersson
569fbb9e34 LURE: Add "Enable copy protection" engine checkbox
Note that the copy protection dialog is not displayed correctly in EGA
mode. Probably easy to fix, but I don't know how.
2024-06-30 18:01:32 +02:00
Torbjörn Andersson
ab991fa2f8 SCUMM: Add "Enable copy protection" engine checkbox
The exposes the --copy-protection command line option to the engine
settings dialog. This affects the following games:

* Maniac Mansion v1 (DOS) and v2, but not NES or the demos
* Zak McKracken v1 and v2
* Loom EGA (DOS)
* Monkey Island 1, VGA floppy and Macintosh
* Monkey Island 2, but not demos, FM Towns, or the Ultimate Talkie
* Fate of Atlantis, Amiga and other floppy versions

I don't have all of these versions myself, so I can't verify that it
works. And in some cases, the checkbox will appear for games that don't
have the copy protection in the scripts, e.g. the Mac CD Game Pack
version of Fate of Atlantis. (Anyone want to re-insert that script like
we do for that release of Monkey Island 2?)
2024-06-30 18:01:32 +02:00
ScummVM-Translations
009c090277 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/
2024-06-30 16:00:11 +00:00
Le Philousophe
c1b94c5d4c CONFIGURE: Match FLAC defines with the ones used in source code
Newer FLAC versions also need this define for Mingw.
Adding this define makes FLAC properly detected and builds works.
This doesn't work with a DLL based FLAC but, because of the define in
flac.cpp it couldn't work anyway.

A proper fix would be to switch to pkg-config for FLAC.
2024-06-30 17:57:23 +02:00
ScummVM-Translations
af299ed3fa I18N: Update translations templates 2024-06-30 13:57:48 +00:00
Le Philousophe
17a1b37dda BACKENDS: SDL: Refactor ImGui processing
This unifies the ImGui processing for both 2D and 3D engine.
This also make sure we don't destroy ImGui if init failed (like on older
OpenGL).
The destroy callback is also called whenever we destroy the context.
2024-06-30 15:57:03 +02:00
Le Philousophe
2587fa53c3 DIRECTOR: Don't free the font which will be freed by ImGui on destroy 2024-06-30 15:57:03 +02:00
Le Philousophe
81196ec6c6 OPENGL: Don't use glBlendColor when it's not available
Bare Windows XP only has OpenGL 1.1 implementation where the function
is not here.
Fallback on no blending at all: this is like it was before.
2024-06-30 15:57:03 +02:00
AndywinXp
bdc364b238 SCUMM: HE: Fix endianness issues in dwCreateRawWiz()
I really wonder how this managed to not crash up until now...

This fixes bug #15237:
"SCUMM: HE: System message box not
being centered in Backyard Football"
2024-06-30 15:55:08 +02:00
athrxx
ade03ca071 SCI: minor cleanup of cga/hercules code
(Turn all usages of 'uint8' into 'byte'. I somehow made a wild mix here)
2024-06-30 15:49:43 +02:00
Cameron Cawley
86f9731bae GRAPHICS: Only invalidate the updated area of the screen in ManagedSurface::blitFrom 2024-06-30 16:35:41 +03:00
scummvmuser
3f9b256552 NANCY: Highlight Done button in Game Setup 2024-06-30 14:08:20 +02:00
Benjamin Funke
1e721a3a51 GOB: add polish version of GOB2
reported in 5365 by pykman
2024-06-30 14:33:14 +03:00
Benjamin Funke
43e5af7281 GOB: add Amiga versions of GOB1 2024-06-30 14:33:14 +03:00
Benjamin Funke
fea2471d19 GOB: add filesizes to GOB3 variants 2024-06-30 14:33:14 +03:00
Benjamin Funke
14fddc13ce GOB: add filesize for GOB1 ega version 2024-06-30 14:33:14 +03:00
ScummVM-Translations
57fbe292eb 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/
2024-06-30 11:19:36 +00:00
mausimus
f9f1a3cbab AGS: Parser fixes from upstream
Compilation of three bug fixes to text parser I recently made in the AGS project, around alternatives syntax:
1. Stop parsing when reaching end during alternatives skipping (causing an out-of-bounds memory read)
2. Correctly skip over multi-word alternatives (incorrect parsing of alternative lists)
3. Use dedicated function to identify word boundaries (affecting dash and apostrophe containing alternatives)

Upstream commits (release-3.6.1 branch):
1. 17f8ea2f0efadec7b3696d4ba51733f1cddc0772 (check for end of input not to go beyond)
2. e98315393a34629b8935fdee7bd725a8299f941c (fix multi-word alternative skipping)
3. 9b0ccbd04e36e757392b1fc744919c785310c57b (consistently check for word boundaries)
2024-06-30 14:19:21 +03:00
ScummVM-Translations
fc7adede0c I18N: Update translations templates 2024-06-30 10:05:15 +00:00
athrxx
614ae2c8c9 SCI: formatting 2024-06-30 13:05:01 +03:00
athrxx
a1e6ac6811 SCI: fix undithering option and disable it for CGA/Hercules 2024-06-30 13:05:01 +03:00
athrxx
478cd8925a SCI: (SCI0) - add support for CGA and Hercules render modes
(as per usual, each target has to be run once to upgrade the launcher
options, so that the new render modes can actually be selected)
2024-06-30 13:05:01 +03:00
IlDucci
a03deca60f I18N: Update translation (Spanish)
Currently translated at 100.0% (2254 of 2254 strings)
2024-06-30 09:03:21 +00:00
sluicebox
cf842571c2 SCI: Fix SCI0 MIDI filtering when multiple stop events
SCI0 MIDI filtering creates a new event stream, but it was generating
malformed events when there were multiple stop events (status byte FC).
This caused MidiParser_SCI::parseEvent to miss the stop event written by
the filter code. The parser would continue reading and parsing out of
bounds heap memory until crashing seemingly randomly.

Now the filter always stops on the first stop event and always writes
out its own stop event correctly.

Fixes PQ2 airport music, bug #15233

Thanks to @antoniou79 for triaging the bug report
2024-06-30 00:49:20 -07:00
Marcel Souza Lemes
80855aadbe I18N: Update translation (Portuguese (Brazil))
Currently translated at 100.0% (2254 of 2254 strings)
2024-06-30 06:43:17 +00:00
Xaviu
e9b92e579e I18N: Update translation (Catalan)
Currently translated at 81.0% (1826 of 2254 strings)
2024-06-30 06:43:16 +00:00
AndywinXp
59f752c083 SCUMM: HE/FREDDI3: Provide better solution for bug #13532
"SCUMM/HE: Flashing line at bottom of screen in Freddi 3"

This solves #13532 in a better way: instead of moving the
animation down by one pixel, we simply avoid marking that
line of stray pixels as part of the dirty rectangle.

We remove two pixels since AkosRenderer::paintCelByleRLE()
is going to add one pixel to the rect during the clipping part.
2024-06-29 23:21:47 +02:00
AndywinXp
b3882595c6 SCUMM: HE100: Fix unimplemented chore redirect frames
This fixes disappearing actors in Backyard Football 2002.
2024-06-29 22:43:08 +02:00
scummvmuser
acc5d24fa3 NANCY: Add sound to toggles in Game Setup 2024-06-29 18:59:37 +02:00
Cameron Cawley
ff9da88582 STARTREK: Better names for some of the MidiTracks values 2024-06-29 16:37:30 +03:00
Cameron Cawley
a7c304148f STARTREK: Always use enum values for MIDI tracks 2024-06-29 16:37:30 +03:00
Cameron Cawley
5336245f27 STARTREK: Always use enum values for sound effects 2024-06-29 16:37:30 +03:00
ScummVM-Translations
7fabd0c71e 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/
2024-06-29 09:21:56 +00:00
Vissery
f4d53008c9 SCUMM: HE: Edit Baseball2001 Online Mode Balance 2024-06-29 11:21:41 +02:00
Xaviu
b6dfd2a362 I18N: Update translation (Catalan)
Currently translated at 80.6% (1818 of 2254 strings)
2024-06-28 23:43:15 +00:00
Purple T
606593a6a0 I18N: Update translation (French)
Currently translated at 100.0% (2254 of 2254 strings)
2024-06-28 16:15:16 +00:00
ScummVM-Translations
2d4d6f7db7 I18N: Update translations templates 2024-06-28 12:40:39 +00:00
ScummVM-Translations
c8384882a8 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/
2024-06-28 12:40:37 +00:00
Roland van Laar
7ef013bde5 DIRECTOR: LINGO: XTRAS: Safecracker can boot intro
Implement enough of the Xtra's to get Safecracker to pass the
initGlobals and continue onto its next movie file.
That is, the introduction movie will now play.

Changes:
- directsound is know as Dsound_r on disk
- Leverage XOBJSTUB to return Datum(1) for dsOpen
- QTVR is known as Qtvrw32 on disk
- Add QTVREnter to the methodProto, it wasn't added automatically by the
  stub generation
2024-06-28 14:38:18 +02:00
Roland van Laar
6fca66f442 JANITORIAL: DIRECTOR: XTRAS: indentation fixes 2024-06-28 14:38:18 +02:00
Roland van Laar
ddda6e8f96 DIRECTOR: LINGO: getXtrasNum: only show openXtras
Fetching the number of Xtras should only show the open Xtras.
2024-06-28 14:38:18 +02:00
Roland van Laar
b780db73e2 DIRECTOR: LINGO: XTRAS: update with gen-xobj-stub
Rerun the director-generate-xobj-stub.py for
- directsound
- keypoll
- qtvrxtra
- timextra

Includes new registration for XTRAs by name and
D5 XTRAs property name.

According to D5 lingo dictionary
this property is settable and gettable. Testing in D5-win show
that the poperty is only gettable.

Implement these items also for:
- fileio
2024-06-28 14:38:18 +02:00
Roland van Laar
2ef049b509 DEVTOOLS: DIRECTOR: Update XTRA generation
In D5 XTRAs have the property "name".
Adds the code generation for XTRAs to have this property.

According to Director 5 Lingo Dictionary the name
is gettable and settable. Occording to my tests in D5-win,
it's only gettable.

When opening the XTRA, register the XTRA on the _openXtras array.
There's a check if the object is an XTRA when registering.
This way the generated code works when generation Xobj's as well.
2024-06-28 14:38:18 +02:00
Roland van Laar
ff35717ec7 DIRECTOR: Add code when xtra is called with int
The D5 function `xtra` can be called with an int.
In that case it returns the xtra that was n-th in the list.

- The list of xtras is stable between opening and closing D5. Tested with
2 XTRAs,
- XTRA function can only take ints > 0. Throws an error when its < 1 and
- XTRA function doesn't take floats.
- XTRA function does take strings, this was already implemented.
2024-06-28 14:38:17 +02:00
Walter Agazzi
2ef8454123 I18N: Update translation (Italian)
Currently translated at 100.0% (2249 of 2249 strings)
2024-06-28 12:23:54 +00:00
NorwayFun
28c7045c37 I18N: Update translation (Georgian)
Currently translated at 56.4% (1270 of 2249 strings)
2024-06-28 08:08:39 +00:00
IlDucci
73f9d1ad99 I18N: Update translation (Spanish)
Currently translated at 100.0% (2249 of 2249 strings)
2024-06-28 08:08:32 +00:00