Commit Graph
1386 Commits
Author SHA1 Message Date
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
Eugene Sandulenko d1203ffe0a BASE: Fix --logfile command line option
It was plainly not functional. We were never passing it to backend
2023-03-25 19:43:32 +01:00
Thierry Crozat ed193bc449 BASE: Add --no-exit command line flag
This allows opening the launcher after running a command line command,
such as --add. The main use for this would be for backends to be able
to easily add games from a folder on launch.
2023-03-24 21:11:50 +01:00
Thierry Crozat 4885225174 COMMON: Move autorun detection code to OSystem::updateStartSettings() 2023-03-24 21:11:50 +01:00
Thierry Crozat c8ce35075a COMMON: Add updateStartSettings() method to OSystem
This lets backend customize the start settings. For example
they can auto-start a game under some circumstances.
2023-03-24 21:11:50 +01:00
Lothar Serra Mari 6fcfdaa1b4 BASE: SDL: Show SDL version in --version output 2023-03-20 18:55:30 +01:00
Donovan Watteau b9fdf23937 BASE: Fix "an" typo 2023-03-16 14:47:28 +01:00
Donovan Watteau dca7619c86 BASE: Print SDL1.2/SDL2 in cloud builds too and reindent the ifdefs
Spotted by Lothar in the MSYS2/mingw64 and MXE builds, thanks!
2023-03-09 12:09:37 +01:00
Donovan Watteau 17b7aa2108 BASE: Show SDL1.2/SDL2 in the About dialog 2023-03-09 01:30:34 +01:00
Little Cat 446f95d26c SCUMM HE: Send version to lobby server. 2023-03-06 00:07:13 +01:00
Little Cat 70c94aced3 SCUMM HE: Command line host/join Moonbase games.
Normally, GameSpy Arcade (or a third-party app) would set these settings
into moonbase.ini for the game to read.  But I feel like a couple of
command line options would be a lot simpler.

Also, doubles as a quick way to host and join a game for testing.

Unfortunately this does not support the demo version.
2023-03-06 00:07:13 +01:00
Little Cat ade9fab8d6 CONFIGURE: Add ENet library. 2023-03-06 00:07:13 +01:00
Eugene Sandulenko aca81c2d74 BASE: Show libpvx in the About dialog 2023-03-05 22:04:37 +01:00
Attaullah Ansari b4fcc02c87 BASE: Add option for the user to proceed with resetting configuration file or quitting ScummVM. 2023-02-23 18:12:27 +01:00
Cameron Cawley a305fe56d6 BASE: Enable the --start-movie argument when the Testbed engine is enabled 2023-02-22 20:48:32 +00:00
antoniou79 aae9673c9d ANDROID: Do language selection before early popup
Instantiating GUI manager takes care of the language selection
2023-02-13 16:24:29 +01:00
Le Philousophe 2927e27d1d BASE: Fix I18N comment 2023-02-12 18:14:56 +01:00
Le Philousophe 2f76a21cc6 BASE: Fix Android message to match terms changed before 2023-02-12 18:11:26 +01:00
Eugene Sandulenko 278fb3ba19 BASE: Add message for Android on startup explaining SAF
There are two messages, for upgrade and for the new users
2023-02-12 16:49:59 +01:00
Le Philousophe 007d7d8df4 BASE: Fix Dreamcast build 2023-02-12 11:10:06 +01:00
Einar Johan Trøan Sømåen 07d044945d BASE: Wrap -g setGraphicsMode in transactions.
Without this -g will simply assert.
2023-02-12 09:49:20 +01:00
Einar Johan Trøan Sømåen 1f00706bfb BASE: Filter out old graphics modes when passed to -g
Fix #12775
2023-02-12 09:44:51 +01:00
Vladimir Serbinenko 1daf70c746 BASE: Fix NPE when executable name is not available 2023-02-01 23:08:50 +01:00
Vladimir Serbinenko a1fdd9df20 MIYOO: Use 640x480 GUI
it looks nice and crisp on this handheld
2023-01-29 10:41:10 +01:00
Lothar Serra Mari baa0a1fa10 RELEASE: This is 2.8.0git 2023-01-20 20:31:01 +01:00
Cameron Cawley 138a983d80 COMMON: Refactor VSync handling to match the other options 2023-01-16 18:09:53 +01:00
Vladimir Serbinenko b91d873df6 SDL: Support auto-detection of GUI resolution. 2023-01-12 10:27:20 +03:00
elasota 3a07524b73 COMMON: Add initial config file option.
This allows an initial/default configuration file to be specified via the command line.  This allows a default settings file to be bundled and loaded even if it's installed to a read-only location, such as Program Files on Windows, and allows the written config file to be deleted without losing the custom defaults.
2023-01-11 14:46:39 +01:00
Eugene Sandulenko 399285b76b BASE: Added support for autorun file.
Place file named 'scummvm=autorun' next to the ScummVM.

If the file is empty, scummvm will run in autodetect mode, basically
as './scummvm -p . --auto-detect'.

If the file is not empty, then command line parameters will be read
from it one per line. Empty lines and lines starting from '#' are ignored.

If the user supplies more parameters at the command line, those
will also be used and will override the parameters from the autorun file.
2023-01-04 00:46:49 +01:00
Eugene Sandulenko 6cb1c7df81 BASE: Implement autorun mode with executable name
Rename scummvm executable into 'scummvm-auto*' and it is equivalent
of 'scummvm -p . --auto-run'. All additional arguments on the command
line are also processed and override the automatic arguments.
2023-01-04 00:02:02 +01:00
Eugene Sandulenko a404ddaee6 BASE: Fix potential memory override when parsing long options 2023-01-03 23:46:59 +01:00
Eugene Sandulenko 49a0a54e9d BASE: Added --random-seed command line option 2023-01-02 16:12:44 +01:00
Vladimir Serbinenko 39d4e1e030 BASE: Switch --md5mac to openFileOrDataFork 2022-12-11 21:32:30 +01:00
Roberto Sánchez 7f457f8e94 BASE: Refactor EngineManager::createTargetForGame 2022-12-07 22:58:48 +01:00
Roberto Sánchez 5854585b33 BASE: Add check to avoid domain override when launching from command line with -p argument 2022-12-07 22:58:48 +01:00
Roberto Sánchez e2b0259d29 BASE: Add function EngineManager::generateUniqueDomain 2022-12-07 22:58:48 +01:00
Cameron Cawley 6506e59064 ENGINES: Add getMD5Bytes to the base MetaEngineDetection class 2022-11-30 23:29:37 +02:00
Cameron Cawley 749fd8b490 SDL: Allow selecting the audio channel count from the command line 2022-11-18 17:17:00 +01:00
Cameron Cawley 2c8a7d3900 ENGINES: Remove support for GUI options in MetaEngineDetection subclasses 2022-11-16 23:58:54 +01:00
Donovan Watteau 502479d7be BASE: Add C++11 char array initialized by a string literal test
This was not properly implemented in GCC versions before 5.1, and
we still have some ports using older GCC versions.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43453#c7 and commit
6ac3994e3e.
2022-10-11 09:08:37 +03:00
Eugene Sandulenko 57cd169a17 GUI: Allow both scalers and shaders to be enabled at the same time 2022-10-08 23:39:18 +02:00
Eugene Sandulenko 80f79f253d GUI: Make shaders/scalers work mutually exclusive 2022-10-08 23:39:18 +02:00
Cameron Cawley 79fff69231 COMMON: Use Common::String for OSystem::setShader 2022-10-08 23:39:18 +02:00
Cameron Cawley 64c359b5cb GUI: Replace the options for selecting shaders 2022-10-08 23:39:18 +02:00
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