Commit Graph

1338 Commits

Author SHA1 Message Date
Le Philousophe
111d259015 ALL: Add limits.h for all codebase 2022-08-22 15:38:10 +02:00
Le Philousophe
2a84d3e988 VITA: Add plugins support 2022-08-07 18:15:09 +02:00
Le Philousophe
bffb6e244a BASE: Allow platforms to not include the help messages
This allows to save some space on constrained devices which still allow
for command line.
Enable this space saving on DS and enable back command line support.
Cleanup old workaround for 3DS.
2022-07-29 13:08:22 +02:00
Le Philousophe
8593f576fd JANITORIAL: Remove useless DS ifdefs
DS port already defines DISABLE_COMMAND_LINE
2022-07-29 13:08:22 +02:00
Le Philousophe
458535cee1 JANITORIAL: Remove useless ANDROID ifdef
The ANDROID define has been removed in 8de5edde95.
This means this if branch was never taken for more than 10 years.
2022-07-29 13:08:22 +02:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Eugene Sandulenko
1fa331f44a
BASE: Generate list of languages and platforms instead of hardcoding 2022-07-22 15:04:27 +02:00
Eugene Sandulenko
b65e00a6ef
BASE: Synced the plaoform list in command line help 2022-07-22 14:27:26 +02:00
Cameron Cawley
a020300701 ENGINES: Remove use of getEngineId() in MetaEngine subclasses 2022-07-20 11:54:19 +02:00
Thierry Crozat
97f45352fc BASE: Add back default to 60 for engine_speed settings
This is used by 3D games to limit the frames per seconds.
The default value was lost in commit b586571900 when sync'ing
ScummVM and ResidualVM code. This resulting in a default of 0,
which means no throtling.

This should fix bug #13631
2022-06-25 19:54:19 +01:00
Torbjörn Andersson
78c8bd2fbf BASE: Print error messages on invalid command line parameters again
The condition was accidentally inverted when the Symbian port was
removed, I belive.
2022-06-25 16:27:59 +02:00
Thunderforge
87728fa9b6 COMMON: Adding iconspath parameter to the command line 2022-06-22 14:33:04 +02:00
Cameron Cawley
dd72e0e488 RISCOS: Add a native MIDI driver 2022-06-20 23:33:42 +01:00
Thierry Crozat
dfaa00c235 BASE: Reorganize code to save command line settings 2022-06-12 22:21:27 +01:00
Thierry Crozat
5ea034391b GUI: Add slider for Grid Launcher icon size 2022-06-12 22:08:53 +01:00
athrxx
54af166305 COMMON: (AD) - further reduce output of mass add detection
Follow-up to the feature that allows skipping certain ADGF flags.

This here now also allows skipping of incomplete file/md5/size matches. It is basically the same behavior as the graylist. For the mass add all files are treated as if they are on the list.
2022-06-12 10:12:39 +02:00
athrxx
e01416ef32 COMMON: (AD) - allow mass add to skip targets with certain ADGF flags
I added skipping for the ADGF_WARNING and ADGF_UNSUPPORTED flags.

For me, this is mostly about fixing bug no. 13282. We sometimes have bogus entries which only have the purpose of presenting the error message (reasons for being unsupported) contained in the extra field of the detection entry.
2022-06-12 10:12:39 +02:00
Lothar Serra Mari
a07be8c665 RELEASE: This is 2.7.0git 2022-06-05 20:43:05 +02:00
Thierry Crozat
bde10f0dda BASE: Store screenshotpath command line in Session domain
The SDL backend was getting that path at the start and storing
it in a class member so that it would persist for the session.
But now that we have a kSessionDomain in ConfMan, it is cleaner
to use that (and this will also work for non-SDL backends).
2022-06-05 15:39:36 +01:00
grisenti
7b53202a9e ALL: add support for --config and refactor code 2022-05-29 13:56:21 +02:00
grisenti
d6dbf721b6 ALL: add support for --subtitles 2022-05-29 13:56:21 +02:00
grisenti
7f1eafcb2f ALL: add support for --opl-driver and --talkspeed 2022-05-29 13:56:21 +02:00
grisenti
358bec9967 ALL: add support for --scaler and --scale-factor 2022-05-29 13:56:21 +02:00
grisenti
e934e7d279 ALL: add support for native-mt32 and fix enable-gs 2022-05-29 13:56:21 +02:00
grisenti
7dd0c1ddf8 ALL: add support for --midi-gain and --soundfont 2022-05-29 13:56:21 +02:00
grisenti
f71e98ddf5 ALL: add support for --filtering and --multi-midi 2022-05-29 13:56:21 +02:00
grisenti
8fccaf89ff ALL: add support for enable-gs and fix bugs 2022-05-29 13:56:21 +02:00
grisenti
819f52a14d ALL: add support for --fullscreen command 2022-05-29 13:56:21 +02:00
grisenti
5fc5353ecc ALL: add support for -m -s -r commands 2022-05-29 13:56:21 +02:00
grisenti
b7f6964fb4 ALL: add support for gfx, stretch and render mode 2022-05-29 13:56:21 +02:00
grisenti
a7ed28e8a7 ALL: add support for --gui-theme and update themes 2022-05-29 13:56:21 +02:00
grisenti
fa031ca1a3 ALL: add support for --themepath and --extrapath 2022-05-29 13:56:21 +02:00
grisenti
c0acb85605 ALL: add support for --savepath command 2022-05-29 13:56:21 +02:00
Paweł Kołodziejski
1bb10c0b3d
BASE: Silence compiler warning 2022-05-28 17:38:12 +02:00
Eugene Sandulenko
5e05f93f36
ALL: Remove Symbian port 2022-05-28 12:32:29 +02:00
D G Turner
3636af4035 BASE: Fix Remaining Macro Definition Warnings
These are emitted by GCC when -Wundef is passed.

This could have caused odd behaviour if the WIN32 symbol was defined
as 0 i.e. #ifdef WIN32 code is included for compilation, but #if WIN32
guarded code is excluded, hence #ifdef is used in all cases as per the
existing compile time guards.
2022-05-24 02:57:46 +01:00
Thierry Crozat
96bc15af33 BASE: Add md5mac command to compute MD5 hash from data and rsc fork 2022-05-24 00:38:02 +02:00
Thierry Crozat
cb8718dcdc BASE: Fix md5 commandline command on Windows 2022-05-24 00:38:02 +02:00
sluicebox
799a9eb942 BASE: Clear MD5 cache when upgrading to engine id
Fixes assigning the wrong game id when upgrading a target to have
an engine id. If a game had been run earlier ran then its checksums
could still be cached. If both games were from the same engine then
advanced detector could select the previous game.

Fixes bug: #13458
2022-05-03 15:43:35 -04:00
athrxx
5cba8f9242 Revert "GUI: honor tts_enabled option in some more places"
This reverts commit 5969a2667a.
2022-04-26 21:08:41 +03:00
Thierry Crozat
bd54dcc4bb BASE: Fix indentation for command line help 2022-04-23 18:37:47 +01:00
Thierry Crozat
db049e37be BASE: Improve format of command line md5 command result 2022-04-17 14:34:59 +03:00
Donovan Watteau
b51e8a8f58 BASE: Include compiler name/version info 2022-04-15 22:43:57 +02:00
athrxx
5969a2667a GUI: honor tts_enabled option in some more places
(in particular when opening the GMM)
2022-04-10 19:00:35 +02:00
Eugene Sandulenko
95e6a9d678
BASE: Added support for computing tail md5 for --md5 command line key.
Also fix non-portable data types.
2022-04-06 01:02:11 +02:00
Eugene Sandulenko
726f187442
JANITORIAL: Fix code formatting 2022-04-06 01:02:11 +02:00
Eugene Sandulenko
07fd5bc8cd
BASE: Fix include path and sorted alphabetically 2022-04-06 01:02:10 +02:00
Pragyansh Chaturvedi (r41k0u)
2e656c30d3 BASE: Add --md5-engine flag 2022-04-05 23:08:14 +01:00
Pragyansh Chaturvedi (r41k0u)
bc0bd86594 BASE: Add MD5 hash to commandline 2022-04-05 23:06:06 +01:00
Le Philousophe
1e4696f6d0 OPENGL: Rework renderer selection code
Add a class to group all renderer related (static) functions.
This allows to have getBestMatchingAvailableType inline in all engines.

The matching code is now shared between all engines but allows
customization for engines needing it (Grim, WME3D).

The new code takes runtime availability of features to select the
best renderer.
It avoid crashes when user choosed OpenGL but GLES2 is used.
2022-04-03 22:17:19 +02:00