Commit Graph

1431 Commits

Author SHA1 Message Date
antoniou79
60b1731d47 BASE: Merge accessibility check and folder path extraction in reusable method 2024-01-20 23:58:40 +01:00
antoniou79
bc2942d73a BASE: Ensure folder path when file path set in command line
soundfont option is excluded for this, since that is expected to be a file path
2024-01-20 23:58:40 +01:00
Cameron Cawley
5b1b14ad80 COMMON: Mark more symbols as const 2023-12-26 20:23:59 +01:00
Le Philousophe
04d68d87c0 BASE: Migrate to Path class 2023-12-24 13:19:25 +01:00
Le Philousophe
ed9ded9e83 GUI: Migrate GUI to Path class 2023-12-24 13:19:25 +01:00
Le Philousophe
b3fbce7782 BACKENDS: Migrate plugins to Path API 2023-12-24 13:19:25 +01:00
Le Philousophe
d931c58b5b BASE: Start considering game paths as Path class
As it's still stored as String, this is still safe for every legacy use
2023-12-24 13:19:25 +01:00
Le Philousophe
645a35c05b ENGINES: Migrate to Path class 2023-12-24 13:19:25 +01:00
Le Philousophe
2f34975164 COMMON: Make shaders API use the Path class 2023-12-24 13:19:25 +01:00
Le Philousophe
0a636d0d40 COMMON: Make pluginspath a Path object 2023-12-24 13:19:25 +01:00
Le Philousophe
802c91554f COMMON: Make extrapath a Path object 2023-12-24 13:19:25 +01:00
Le Philousophe
088db8ca65 BASE: Various some path related cleanups 2023-12-24 13:19:25 +01:00
Eugene Sandulenko
35228a396f
Revert "BASE: Always print CPU extensions on startup"
This reverts commit d7d5c1f65c.
2023-12-08 12:44:14 +01:00
Eugene Sandulenko
0acbc8ae4e
RELEASE: This is 2.9.0git 2023-12-03 22:09:08 +01:00
Thierry Crozat
95a060e4fe AUDIO: Add a basic soundfont for fluidsynth
The soundfont was already included in the Libretro port. It is
now included in all platforms.
2023-12-03 16:17:32 +00:00
Eugene Sandulenko
660e7f9105
BASE: Added more missing spaces to the SAF message 2023-12-02 15:40:18 -08:00
Eugene Sandulenko
51d740995c
BASE: Add missing spaces in the SAF explanation text 2023-12-02 15:38:31 -08:00
Coen Rampen
f1abbff901 MIDI: Update FluidSynth settings
This updates the FluidSynth settings to the value ranges and defaults used by
the current version 2.3.4.

Reverb
- Room size: 0.00-1.20 / 0.20 to 0.00-1.00 / 0.20
- Width: 0-100 / 1 to 0.0-100.0 / 0.5
Chorus
- Level: 0.00-1.00 / 1.00 to 0.00 - 10.00 / 2.00
- Speed: 0.30-5.00 / 0.30 to 0.10-5.00 / 0.30
- Depth: 0.0-21.0 / 8.0 to 0.0-256.0 / 8.0
2023-11-25 22:26:53 +01:00
Eugene Sandulenko
d7d5c1f65c
BASE: Always print CPU extensions on startup 2023-11-22 01:00:30 +01:00
Rana prathap
97a9ed6e8d OPENGLSDL: add way to force update the window to required resolution 2023-11-17 20:28:39 +01:00
Rana prathap
c8d2c4dad1 GUI: Fix filenames for dumped dialogs 2023-11-17 20:28:39 +01:00
Paul Gilbert
85f341e0f3 MM: Add automatic update of old xeen engineId 2023-11-15 23:41:21 -10:00
Kaloyan Chehlarski
0785fb6a73 BASE: Print CPU extension info to console on startup 2023-11-14 12:05:27 +02:00
elasota
cc64a58b68 BASE: Don't expose disable-sdl-audio or disable-sdl-parachute options when not using SDL 2023-11-07 02:45:49 +01:00
elasota
bd857272f4 BACKENDS: SDL: Use null mixer if audio initialization fails, and add a flag to forcibly disable it for testing. Add an alternate call that returns true if the mixer manager is a null device.
SDL audio init will fail on Windows if all audio output devices are disabled.
Only about 10 engines are checking for this case and numerous pieces of common code (EmulatedOPL, VideoDecoder) fail as well, so this acts as a fallback to prevent instability.
2023-11-07 02:45:49 +01:00
Kaloyan Chehlarski
f77eca7c80 AD: Implement archive caching during detection
Renamed MD5CacheManager to AdvancedDetectorCacheManager,
and added facilities for storing open archives inside it. This
way an archive that was opened by an AdvancedDetector
will be kept in memory until the end of the detection, so
other entries/engines that will look inside it won't have
to reopen it and reread its data every time.
2023-11-02 18:20:44 +01:00
Eugene Sandulenko
ed923ba26d
BASE: Add commented out dumping of all GUI dialogs 2023-10-10 23:23:35 +02:00
CadiH
ca2fa723e3 BASE: updates SAF popup to align with GUI help 2023-10-06 22:24:55 +02:00
Thierry Crozat
e66554bb73 BASE: Fix exiting scummvm_main loop in backend not allowing quit
This could be triggered using the Escape key in the launcher.
This fixes bug #14624.
2023-09-20 02:14:40 +02:00
Ankush Dutt
97aa1d602a JANITORIAL: Remove DLCMan.init() and its destroy call since it's not required 2023-09-14 08:22:56 +02:00
Ankush Dutt
22f912d7e0 DLC: Wrap ScummVM DLC in configure enabled feature, disabled by default 2023-09-14 08:22:56 +02:00
Ankush Dutt
6e8bdee909 BACKENDS: Add initial code for DLC Manager 2023-09-14 08:22:56 +02:00
elasota
8bb2afd217 AUDIO: Change default GM device to "auto" 2023-08-28 22:06:19 +02:00
Abhinav Chennubhotla
ad8be9d8d5 BASE: Add quotes to metadata while exporting 2023-08-21 15:40:25 +02:00
Abhinav Chennubhotla
28401ee7c0 BASE: Export header in dumpAllDetectionEntries() 2023-08-21 15:40:25 +02:00
Le Philousophe
63f9958588 ANDROID: Fix build 2023-08-07 15:04:01 +02:00
Cameron Cawley
37764d86fc AUDIO: Support building the EAS MIDI driver on non-Android platforms 2023-08-06 14:10:50 +02:00
Abhinav Chennubhotla
bb20579bee BASE: Add dumpAllDetectionEntries() to commandLine
- Add virtual function dumpDetectionEntries() to
   MetaEngine
 - Glk, Sky and SCUMM do not have proper
   definitions for dumpDetectionEntries()
 - Add md5PropToGameFile() to extract prefixes for
   md5s
 - AdvancedDetector writes content of DAT file to
   STDOUT
2023-07-03 13:54:50 +03:00
Abhinav Chennubhotla
5f3e062f97 BASE: Add --dump-all-detection-entries command
- Creates metaengine instances for all engines, which will
   contain detection md5s of the engine
2023-07-03 13:54:50 +03:00
Thierry Crozat
0f159b2569 BASE: Slightly change the formatting of the --stats command output 2023-06-15 00:04:11 +01:00
Thierry Crozat
ef53dc058a BASE: Add number of game variants to --stats option 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
elasota
72fb9311b3 BASE: Move sdl-sys.h include outside of Base namespace 2023-06-05 19:30:03 +02:00
Donovan Watteau
cea1a4481c BASE: Show libmikmod in the About dialog 2023-04-11 13:23:49 +02:00
shkupfer
6c45026b53 SCUMM HE: Remove gScummVMVersionLite which is no longer needed 2023-04-10 23:41:05 -03:00
Wyatt Radkiewicz
8a0fffa672
BASE: Fixed typo when erasing window-size (#4866)
When parsing the command line option "window-size" the DO_LONG_OPTION
inserts "window-size" into the settings StringMap. This is soon later
deleted, but instead of deleting "window-size" it deletes the
non-existent setting "window_size". This is needed because width and
height are stored in "last_window_width" and "last_window_height"
respectivly and "window-size" is not used anywhere.
2023-04-05 10:11:23 +02:00
Thierry Crozat
be98f2a812 BASE: Add default extrapath and themepahth when running in tree
This means building and running scummvm in tree now works out of the box.

Unfortnatelly registering them as defaults would not work as
ConfMan::hasKey() returns false when only defined as a default, and
in most places this is checked before using those paths. So if we
wanted to use defaults we would need to replace all those checks with
a check that the path is not empty.

There is a drawback to using the session domain though: it takes
priority over all other domains. So a custom extrapath defined for
a game will be ignored. We try to mitigate the issue by only adding
those path if they exist(so that it does not break shadow builds for
example).

Also the change is excluded on Windows as it is not needed there
since the themes and engine data files are embedded in the executable.
2023-03-28 18:21:21 +02:00