Commit Graph
33 Commits
Author SHA1 Message Date
AndywinXp 2811c64142 SCUMM: DOTT: Fix quit prompt appearing when using the PC in Ed's room Pt.2
This fixes the same bug, this time when not using the original GUI
2023-01-28 10:25:44 +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 e8dfcb42f6 SCUMM: GUI: Implement ScummVM quit confirmation override
Now, the original GUI will ask you for confirmation only if the "confirm_exit" config
flag is active.
2023-01-20 10:03:37 +01:00
AndywinXp 825a13df96 SCUMM: Clarify tooltip description of low latency audio mode 2023-01-20 01:27:56 +01:00
AndywinXp a41b1174ed SCUMM: v7-8: Add GUI option for toggling low latency audio mode 2023-01-10 21:17:23 +01:00
Cameron Cawley 2c8a7d3900 ENGINES: Remove support for GUI options in MetaEngineDetection subclasses 2022-11-16 23:58:54 +01:00
Cameron Cawley 7a7ba38f3c SCUMM: Move the engine options into the MetaEngine subclass 2022-11-16 23:58:54 +01:00
Walter Agazzi ab93a22db7 SCUMM: Also filter demo entries if detector reports multiple hits
When the gamedir contains multiple valid entries, narrow selection
by platform and also demo status. Fixes bug #10117 when using C64
images of both the full version and demo of ManiaC Mansion in the
same folder.
2022-11-09 01:54:15 +02:00
Eugene Sandulenko 78135f8dfa SCUMM: Improved workding for unknonw game variants message 2022-10-10 12:03:36 +02:00
Henrik "Henke37" Andersson f668e4a612 SCUMM: This engine provides custom help 2022-08-07 22:45:07 +03:00
YYxsCnnPP 088115f468 SCUMM: Implement dedicated option for hifi audio 2022-06-28 19:13:51 +03:00
Torbjörn Andersson 682330f8bd SCUMM: Remove adjustment setting from MI1 SE Talkie
The tracks built for the SE Talkie already have little to no silence at
the beginning, and the outlook has its own separate track instead of a
continuation of the first one.

That means the settings are of limited use here, and removing them
simplifies the code.
2022-06-03 21:03:58 +02:00
Torbjörn Andersson 6a040e3ea2 SCUMM: Add adjustment sliders for VGA Loom (CD) and MI1 (CD)
When ripping the audio tracks from CD, you may not get quite what the
game expects, e.g. my copy of Loom has less silence at the start of the
track than the CDDA.SOU file from the Steam version. And the MI1 intro
appears to be timed with the assumption that there is no silence at all
at the start of that track.

This makes it possible to compensate for that without having to edit the
audio file. It may also be of some help with fan soundtrack replacements
for MI1, though I have little experience with that.
2022-06-03 21:03:58 +02:00
Torbjörn Andersson 4d468fb005 SCUMM: Update the game's "extra" setting, if necessary
This would have been done at detection, but if the game entry is really
old it may still be empty. We sometimes need it to tell versions apart.
2022-03-23 15:23:10 +01:00
Torbjörn Andersson 51867690c4 SCUMM: Fix EGA Loom options in RTL mode
There is a special case for adjusting the padding in Widget::draw() that
is applied, among other things, to widgets whose name contains
"GameOptions". We want that special case to apply to the EGA Loom
options as well, so this is simply another renaming.

At some point, it would probably be a good idea for this special case to
go away.
2022-03-09 08:53:14 +01:00
Torbjörn Andersson 1212930938 SCUMM: Rename EgaLoomOptionsiWidget to LoomEgaOptionsWidget
This is ito be more consistent with LoomTownsDifficultyDialog.
2022-03-08 18:21:04 +01:00
Torbjörn Andersson b3ca4b2151 SCUMM: Don't show the Overture setting for VGA Loom
Though this only works if the game was added recently enough. My old
entry for VGA Loom doesn't have an "extra" field, nor does my old EGA
Loom entry specify the platform. I really should regenerate that
scummvm.ini file one of these days...
2022-02-08 13:31:39 +01:00
Torbjörn Andersson c80adc3e8b SCUMM: Add setting for the Loom Overture tempo on the Engine tab
It's hard to make this appear only on EGA Loom, so the tooltip has to
document the fact that it's only useful there. The setting is made
relative to the default tempo, which I feel is a much more sensible way
of presenting it to the user than the raw ticks value.
2022-02-08 13:31:39 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko ccfaf478ab AD: Make sure that we initialize hashmaps. Unfortunately, this leads to less const'ness 2021-11-29 01:50:03 +01:00
Orgad Shaneh 78ef6203de ENGINES: Fix getSavegameFile for almost all engines
Use kSimpleSavesNames correctly, add where needed, remove where needed.

Trac #12977
2021-11-10 21:49:48 +00:00
Orgad Shaneh fe104cc337 ENGINES: Use MetaEngine consistently for getting autosave slot
The autosave refactoring that was done in
7adad5aaf5 used g_engine for identifying the
autosave slot. This worked for in-game save/load, but doesn't fit when
called from the launcher.

Fix by passing MetaEngine to SaveStateDescriptor ctor and using it for this
query.

Amends 7adad5aaf5.
2021-10-24 16:46:06 +02:00
Orgad Shaneh 7adad5aaf5 ENGINES: Streamline auto-save write/delete protection
Some engines call setAutosave and some don't. isAutosave is used to
determine if a saved game is an autosave, but in fact, on most cases it
just falls back to comparing the name to "Autosave".

This is wrong for several reasons:
* Older versions of ScummVM used Autosave 0.
* The name "Autosave" is translated, so if you change the language, it
  won't be detected.

Instead of relying on the name, use the well-known getAutosaveSlot() from
Engine/MetaEngine.

Fixes #12735.
2021-08-23 13:34:35 +02:00
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Eugene Sandulenko a138c0b646 ENGINES: Fix mess with the mismatched engine ids between engine/detection plugins 2021-04-14 14:42:38 +02:00
Vladimir Serbinenko 5c91fb8d6a SCUMM: Support Lokalizator plugin.
This was used by Russian translation of Pajama Sam 2 and Spy Fox 3
2020-12-07 23:01:38 +01:00
Cameron Cawley 16706dc63f SCUMM: Allow detecting games from disabled subengines 2020-11-28 19:06:01 +01:00
aryanrawlani28 d26bbe521c ENGINES: ALL: Finish renaming ME & AME classes
- ME -> MetaEngineStatic (static parts)
- MEC -> MetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28 32799c1ee8 SCUMM: Fix naming for ScummMetaEngineConnect 2020-10-03 14:56:36 +02:00
aryanrawlani28 29ceb07959 ENGINES: ALL: Revert detection submodule to be directly present in the engine directory
- DETECT_OBJS are present and added inside an engine's modules.mk file.
2020-10-03 14:56:36 +02:00
aryanrawlani28 8189a05316 ENGINES: ALL: Adapt to changes for new plugins by defining a new detection module
For each engine:
- Make a new folder detection
- Move detection-related files inside the folder
- Add a new module "enginename/detection"
- Add DETECT_OBJS here
- Adjust the normal engine module to remove detect_objs
- Adjust every file for the new changes.
2020-10-03 14:56:36 +02:00
aryanrawlani28 4c1a03845f SCUMM: Refactoring, remove detection.o dependency from modules.
- Move detection code used by createInstance & MetaEngine to a common header - detection_internal.h
- Move steam-related method & table to detection_steam.h
- More info in comments.
2020-10-03 14:56:36 +02:00
aryanrawlani28 dc4672e294 SCUMM: Split detection features & adapt to new plugins.
- Also, we remove the static keyword so other TU's can use the functions defined.
- This change has a catch.
- Because creating an instance depends on game detection code from detection.cpp, we cannot exclude it from Scumm.
- For Statically linked Scumm, we can simply exclude these detection files, because they're already being built.
- For dynamically linked Scumm, we can add it to our executable.
- Thus, for dynamically linked Scumm, one catch is that we have duplicated code (detection.o in our executable, as well as scumm.dll), but that shouldn't be a big problem considering the advantage it gives us: Detection without a plugin loading.
2020-10-03 14:56:36 +02:00