Commit graph

230 commits

Author SHA1 Message Date
Daniel Nylander
8ffcf8229f I18N: Change SE_SWE to SV_SWE
Change the Swedish language code from SE to SV according to ISO 639
2025-03-30 22:19:13 +03:00
Torbjörn Andersson
267f399f94 SCUMM: Make Sega "shadow mode" its own option instead of an enhancement
I mean, technically it is an enhancement, but everyone tells me that
"normally I'm all for making the original behavior the default, but in
this particular case..." And I get their point. Now we just have to
figure out how to darken the colors correctly. Fortunately there are
plenty of emulators to refer to.
2025-02-25 01:38:38 +02:00
Torbjörn Andersson
33b065bfc5 SCUMM: Add option for gamma correction
This is currently only used for Macintosh games, but I kept the name of
the setting anonymous in case we ever need gamma correction for
something else.
2025-01-23 21:42:25 +02:00
Torbjörn Andersson
522662c9a7 SCUMM: Add music quality engine setting for Mac MI2 and Fate of Atlantis
This is the same setting as was previously used for Mac MI1 and Loom.
2024-11-25 20:03:09 +01:00
Eugene Sandulenko
3793a337fd
SCUMM: I18N: Added clarifying comment to Moonbase Console setting 2024-11-04 16:09:47 +01:00
AndywinXp
e264dc4e22 SCUMM: Fix uninit use of _generateRandomMaps
Fixes a GUI crash when trying to add Backyard Football 2002,
or try to access its game options.
2024-09-28 23:08:38 +02:00
Hubert Maier
370064f93f JANITORIAL: SCUMM: Fix typos 2024-09-16 01:55:26 +03:00
Torbjörn Andersson
370dbd5c6f SCUMM: Change prefix of game-specific options from GUIO_ to GAMEOPTION_
This is consistent with how the other engines do it, and help make them
stand out from the generic GUIO_ options.
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
Cameron Cawley
a6a369cdd3 GUI: Handle padding for the backend and engine options in the theme definitions 2024-06-14 01:15:12 +02:00
Little Cat
6e86d298d5 SCUMM HE: Use own network version number. 2024-05-12 15:08:27 +02:00
Little Cat
8a6dacc607 SCUMM HE: Add toggle setting for generated maps. 2024-05-12 15:08:27 +02:00
athrxx
41f11b8da9 SCUMM: fix/silence various coverity warnings 2024-03-11 20:44:18 +01:00
Torbjörn Andersson
58d70728e4 SCUMM: Attempt to fix the music quality label
It was overlapping the slider, making it hard to manipulate.
2024-03-09 10:02:20 +01:00
athrxx
14a7cc7c18 SCUMM: (MI1/Mac) - add music quality slider
The layout is not good and needs more work. I haven't
yet understood how the theme layout code has to be used.
I commit this nonetheless, since it is the only way to access
the music quality settings for MI1.
2024-03-08 03:59:22 +01:00
athrxx
c52bfe4f27 SCUMM: (Loom/Mac) - add music quality slider widget 2024-02-28 21:31:50 +01:00
athrxx
cc49587679 SCUMM: more coverity fixes 2024-01-30 00:35:49 +01:00
AndywinXp
8461f25218 SCUMM: Rename enhancementClassActive to enhancementEnabled 2023-11-08 11:46:06 +01:00
AndywinXp
c6872cdbbf SCUMM: Clean-up for enhancement groupings 2023-11-08 11:46:06 +01:00
AndywinXp
d5fa7aeb90 SCUMM: Mark all enhancements with their respective classes 2023-11-08 11:46:06 +01:00
AndywinXp
de0a096ff6 SCUMM: Set-up enhancement groups and add bit flags
This also removes the enhancement pop-up list which isn't
needed anymore.

For further information about enhancement groupings:
https://github.com/scummvm/scummvm/pull/5102#issuecomment-1608278733
2023-11-08 11:46:06 +01:00
Torbjörn Andersson
1b36ac06a6 SCUMM: Add I18N note to enhancements pop-up 2023-11-08 11:46:06 +01:00
Torbjörn Andersson
fe2bb48762 SCUMM: Make parts of ScummGameOptionsWidget private or protected 2023-11-08 11:46:06 +01:00
Torbjörn Andersson
a982378482 SCUMM: Initial work on more fine-grained enhancement setting
There was discussion a while back about how people may want to enable
some of the SCUMM enhancements, but not all since some of them affect
gameplay beyond simple bugfixing. This is an initial attempt at the GUI
part of it. The details are very much still up for discussion.
2023-11-08 11:46:06 +01:00
Torbjörn Andersson
1b0e110df3 GUI: Eliminate "WideSlider"
We currently have two widget types for sliders: "Slider" and
"WideSlider". This eliminates the latter, making all sliders use the
available space. This arguably makes them look better, and should make
them easier to manipulate on touch devices like phones.

Did I say "all"? Not quite. In the high resolution layout, the volume
sliders share space with the "Mute all" checkbox. The layout engine does
not cope well with two side-by-side layouts of indeterminate width,
apparently, so there we set a width, cross our fingers and hope that the
checkbox will still have enough space in all translations.
2023-07-29 08:10:13 +02:00
AndywinXp
e28b3f09b1 SCUMM: GUI: Use correct heap message for some v6 games 2023-03-19 19:26:15 +01:00
Donovan Watteau
18ab6803d6 JANITORIAL: Fix various "an" typos in comments 2023-03-16 14:47:28 +01:00
Donovan Watteau
7a7a1552b2 JANITORIAL: SCUMM: Fix some typos and extra semicolons 2023-03-07 13:52:18 +01:00
Little Cat
af06a58c18 SCUMM HE: Fix compile error. 2023-03-06 00:07:13 +01:00
Little Cat
af035e3535 SCUMM HE: Fix crash when loading options in-game. 2023-03-06 00:07:13 +01:00
Little Cat
653b1a19df SCUMM HE: Re-add audio override option if needed. 2023-03-06 00:07:13 +01:00
Little Cat
4aede052e3 SCUMM HE: Migrate competitive mods. 2023-03-06 00:07:13 +01:00
Little Cat
5b92f8fe97 SCUMM HE: Configurable lobby server and checking. 2023-03-06 00:07:13 +01:00
Little Cat
4f23fe5c1f SCUMM HE: Proper server reset button 2023-03-06 00:07:13 +01:00
Little Cat
cec2134a2d SCUMM HE: Network play options. 2023-03-06 00:07:13 +01:00
AndywinXp
7a10e3ea30 SCUMM: Update Original GUI checkbox description
This notifies the user that in order to get the quit confirmation
dialogs, the "Ask for confirmation on exit" toggle has to be active.
2023-01-20 10:03:37 +01:00
AndywinXp
4d6d76b60b SCUMM: GUI: Implement missing banners for v6 games 2022-12-20 22:38:26 +01:00
AndywinXp
b1eaf2ea0f SCUMM: GUI: Implement MI1 SegaCD menu 2022-12-13 18:40:11 +01:00
Donovan Watteau
79a6868067 SCUMM: Bring some untranslated DOTT menu strings from Sam & Max
Before the original SCUMM GUI and menus were implemented in ScummVM,
opening the F5 menu when playing DOTT would give localized strings to
(almost) any player.

Now that we can display the original F5 menu, a language accessibility
regression shows up, in that the original CD release of DOTT just
harcoded some of the menu strings in English (such as "Display Text",
"SFX", and so on).

This was fixed in Sam & Max CD (which uses the same menu but with
different colors) and all later games, so it appears to be fair to
bring the official Sam & Max menu translations to DOTT, as an
enhancement.

The seven-year-old me playing DOTT would have been happy to understand
what those settings meant, back then :)

Trac#13947.
2022-12-05 13:48:54 +01:00
Walter Agazzi
6e81c76e60 SCUMM: Enable original GUI checkbox for Loom EGA 2022-11-28 23:49:45 +01:00
AndywinXp
3f96b8980b SCUMM: GUI: Implement a v3 table for hardcoded quit prompts 2022-11-28 23:21:45 +01:00
AndywinXp
3bc9064278 SCUMM: GUI: Make the restart prompt more consistent
Also make it work for v3 Towns games, which have their own mapping for the F keys
2022-11-28 23:21:45 +01:00
AndywinXp
9cb7293de3 SCUMM: Clean-up and implement remaining messages for v0-1-2-3 2022-11-28 23:21:45 +01:00
AndywinXp
13e7c9d4d9 SCUMM: Implement basic support for v0-3 GUI 2022-11-28 23:21:45 +01:00
Walter Agazzi
a21f8c574f GUI: Add "use original gui" checkbox in Loom and MI CD
Add the "use original gui" checkbox to the custom Loom EGA/VGA
and Monkey 1 CD version game options window.
Also slightly change to layout for consistency with
the other games.
2022-11-18 17:11:51 +01:00
athrxx
af45365e4f SCUMM: make some vars const 2022-09-08 19:10:42 +02:00
AndywinXp
b19e8dd609 SCUMM: GUI: Fix COMI demo string regression 2022-09-08 19:10:42 +02:00
AndywinXp
eadacafd1b SCUMM: Fix warnings 2022-09-08 19:10:42 +02:00
AndywinXp
9bca06429f SCUMM: GUI: Implement v5 GUI and Menu 2022-09-08 19:10:42 +02:00
AndywinXp
194555c3a7 SCUMM: GUI: Implement v6 GUI and Menu 2022-09-08 19:10:42 +02:00