268 Commits

Author SHA1 Message Date
Le Philousophe
8a67d8913e BASE: Fix segmentation fault when detection plugin cannot be found
This could happen if some engine plugin is placed in a build where
detection was not compiled in
2021-05-08 23:45:57 +02:00
Eugene Sandulenko
7fde53d5f7
BASE: Remove redundant warning. It will be triggered at the end of the function 2021-05-02 01:11:04 +02:00
Eugene Sandulenko
06794e48c6
BASE: Implemented --window-size command line option 2021-04-21 00:57:31 +02:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Eugene Sandulenko
6608aac670
BASE: Do not warn on unhandled empty command, improve warning wording 2021-04-14 20:37:28 +02:00
Eugene Sandulenko
9b23dfef5a
BASE: Added --list-all-engines and warn developer about unhandled command line keys 2021-04-14 15:25:08 +02:00
Eugene Sandulenko
003d4cda09
BASE: Made --list-games show list of supported games and added --list-all-games 2021-04-14 15:18:19 +02:00
Eugene Sandulenko
6e8106aa49
BASE: Fix --list-targets aster HashMap rewrite 2021-04-14 15:06:00 +02:00
Eugene Sandulenko
1774094089
BASE: Make --list-engines show list of truly compiled engines
After plugins were split, we were showing list of detection plugins
which is misleading, since all of them are always included.
2021-04-14 15:04:37 +02:00
Henrik "Henke37" Andersson
2eb52fe900 COMMON: Retire dangerous non const operator[] on ConfMan 2021-02-12 00:41:23 +01:00
Lothar Serra Mari
4ee02f869c GUI: Add GUI option to always return to the Launcher instead of quitting
ScummVM
2020-12-02 22:39:22 +00:00
Eugene Sandulenko
7ff34bc9ec PLUGINS: MetaEngineStatic -> MetaEngineDetection 2020-10-11 23:14:39 +02:00
Paweł Kołodziejski
35b9cccbde ALL: Merge ResidualVM 2020-10-09 19:44:13 +02:00
Pawel Kolodziejski
b05551ec2d BACKEND: Drop bpp param. it was used for grim only. 2020-10-05 14:41:36 +02:00
Pawel Kolodziejski
4631c0e2ed ALL: Sync with ScummVM rev: a4002bdeee5ec11b4e5968912c0dc759bb60c8a3 2020-10-04 23:59:26 +02:00
Eugene Sandulenko
b73034e3a0 GUI: Added setting for disabling directory scan at the GUI launch 2020-10-04 18:05:02 +02:00
Pawel Kolodziejski
1f73d401ab BASE: Cleanup cmdline options 2020-10-04 14:43:09 +02:00
aryanrawlani28
71a820caff ENGINES: Begin class renaming of ME & AME
- ME -> MetaEngineStatic (static parts)
- MEC -> MetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28
c48719404a BASE: PLUGINS: Rename plugin matching helpers
- give*From* -> get*From*
2020-10-03 14:56:36 +02:00
aryanrawlani28
73cc973ad7 BASE: ENGINES: Change saveload code to adapt to the new MEC class.
- MEC: MetaEngineConnect.
- How do games handle save/load if MetaEngine (detection) is seperate from MetaEngineConnect (engine factory)?

- Most of the changes are quite similiar. ConfMan finds us the relevant MetaEngine, then simply use the new helpers from PluginMan.
- The new helpers will help convert a relevant MetaEngine into the other format or vice versa.
- Once the matching is complete, simply invoke functions by:
plugin->get<MetaEngineConnect>().engineMethod();
- Refer to previous commits to see the new class changes & notes.
2020-10-03 14:56:36 +02:00
Pawel Kolodziejski
2b248a85bf ALL: Minimise differences with ScummVM 2020-09-29 07:57:40 +02:00
Pawel Kolodziejski
15a759370a ALL: Synced with ScummVM - rev: bdbbcd81ae6da794833c8ea84b0fba69c5cb0e7e 2020-09-12 19:38:50 +02:00
Pawel Kolodziejski
d5304e2568 ALL: Synced with ScummVM - rev: 33a47d23b85694015fe2aa340219d2b60db873f3 2020-09-03 02:21:14 +02:00
aryanrawlani28
01176e43f7 GUI: U32: Use unicode based generateGameReport correctly in all places
- UnknownGameDialog: Use u32 for gameReport dependant functions
2020-08-30 14:43:41 +02:00
aryanrawlani28
68d01321d6 GUI: U32: Downscale changes of U32, fix review issues
This commit addresses a range of changes, within scummvm subproject.

- Audio files, like mididrv, remove U32String based name and identifier, because ASCII only.
- mididrv.cpp had some wrong format for warning messages, fix those
- Message dialogs were modified to use default arguments more often, but reverting back to the orignal to minimize changes.
- SetTooltip has a fake constructor that takes in a string, and use it.
- U32Format had some break statements missing, add those.
- RemapWidget: Use fake constructor for setLabel and setTooltip, to make minimal changes
- SDL: setting text in clipboard no longer uses SDL_iconv_string
- TTS: Override base class "say" with strings, so tts->say can be used with normal strings too.
- About dialog: fix incorrect code for u32string variables
- Fix some extra brackets
- Some buttons were incorrectly removed from using translated labels, revert those
- Message Dialog: Pass default and alt buttons as const references
- Saveload Dialog: Use translations in missing places, use const-references. Also, use translations in a correct manner.
- Use const references for tooltip in GraphicsWidget, EditTextWidget, error.cpp
- DomainEditTextWidget: Use U32String for text
2020-08-30 14:43:41 +02:00
aryanrawlani28
cbc83065c0 GUI: U32: Fix warnings with printf statements
Command line printfs used some functions which returned u32 strings. Correctly encode them and then turn into c_str
2020-08-30 14:43:41 +02:00
Roland van Laar
14c92e6179 DIRECTOR: Extend --start-movie to start at frame
A frame number can be given to --start-movie and it will start
at that frame.
Examples:
    --start-movie=movie.dir@45  # start movie.dir at frame 45
    --start-movie=@23           # start the default movie frame 23
    --start-movie=movie.dir     # start movie.dir as usual
2020-07-24 20:57:52 +02:00
Pawel Kolodziejski
8f4e1c6cf3 Sync with ScummVM rev. 654b8208b878ddb72bd5d6c1bbc43934b31231b7 2020-06-22 08:14:16 +02:00
Lothar Serra Mari
aca3975843 BASE: Fix missing newline in command line output 2020-06-06 13:01:28 +02:00
Cameron Cawley
65a09ee0fa BASE: Always set a default value for the vsync config key 2020-05-15 15:48:08 +02:00
Pawel Kolodziejski
b586571900 ALL: synced with ScummVM commit 09bf38c1207aa32b9966e8642ee60e2186e15789 2020-05-09 20:05:54 +02:00
Thierry Crozat
b196d26b3e SDL: Add --logfile command line argument to specify logfile path 2020-04-17 22:39:50 +01:00
Bastien Bouclet
9cc2fee887 SDL: Enable joystick input by default
Game controller input is now enabled whenever a compatible device is
connected. The keymapper's keymaps are refreshed when a joystick is added
or removed.

Fixes #10366.
2020-03-16 18:41:27 +01:00
Cameron Cawley
f2db412ba5 GUI: Store the shader name in the config file instead of the ID 2020-03-09 18:01:14 -05:00
Cameron Cawley
7488e17c0a GUI: Allow shaders to be selected for individual targets 2020-03-09 18:01:14 -05:00
Zvika Haramaty
3b4810aab4 AUDIO: Added dump-midi mechanism
This mechanism is enabled by '--dump-midi' command line parameter.
The midi events are printed to screen, and dumped to 'dump.mid' file.
2020-02-28 08:27:12 +02:00
Bastien Bouclet
9454346782 ENGINES: Copy the data referenced by QualifiedGameDescriptor
The engineId, gameId and description come from static data in the game
engines. When the game engines are compiled as dynamic plugins, the QGD
structure may outlive the engine plugin. Making a copy ensures the data
remains available.

Fixes #11292.
2020-01-01 08:19:48 +01:00
Bastien Bouclet
feaf9dc365 ALL: Sync with ScummVM rev. 55dba55056b842e02475d8c95fa621f431b5e3be 2019-12-08 17:06:42 +01:00
Cameron Cawley
f2b9f7bb76 BACKENDS: Remove the Windows CE port 2019-11-17 22:33:56 +01:00
Bastien Bouclet
3c0abc0800 BASE: Remove the engines/games alphabetical sort 2019-11-03 11:43:00 +01:00
Bastien Bouclet
c142838122 BASE: Change the command line interface to use engine-qualified game names
Qualified game names have the following form: engineId:gameId.
Unqualified game names are still supported as long as they are not
ambiguous. However they are considered deprecated and are no longer
displayed by the --list-games command.
2019-11-03 11:43:00 +01:00
Bastien Bouclet
47a2b2a9a2 BASE: Add a command line option to list the engines 2019-11-03 11:43:00 +01:00
Bastien Bouclet
ae9f764c7a ENGINES: Automatically upgrade the targets on launch to add an engine ID 2019-11-03 11:43:00 +01:00
Bastien Bouclet
bb813719b5 ENGINES: Change targets to have an 'engine ID'
The engine ID identifies which engine should be used to launch the target.
Also remove the 'single ID' system. Different games from engines that used
that system now have different game IDs.

Also-By: Matthew Hoops <clone2727@gmail.com>
2019-11-03 11:43:00 +01:00
Bastien Bouclet
66654cb376 ALL: Sync with ScummVM - rev. cd37d510f93a7e9ba35a442d2a3d15de9f4846da 2019-01-26 20:47:55 +01:00
SupSuper
fc504996d3 GUI: Allow user to opt between GUI browser and native browser 2018-12-16 10:48:13 +00:00
Cameron Cawley
79a4e3f813 BACKENDS: Remove references to the GP32 backend 2018-11-04 21:38:45 +00:00
Bastien Bouclet
53759fe53a ALL: Sync with ScummVM - rev. 2586ca2345751a0ca5eb2c694e5e2c753054f069 2018-07-31 21:09:37 +02:00
Thierry Crozat
adacb4fcfd BASE: Add command line stretch mode arg 2018-07-08 16:54:51 +01:00
Bastien Bouclet
90b78c5446 ENGINES: Merge GameDescriptor and DetectedGame 2018-05-10 09:04:23 +02:00