Eric Culp
7bcc1f0b13
GRAPHICS: Adds a nearest neighbor plugin
...
It's not used yet, but it compiles and is managed by the plugin manager.
2021-03-15 16:48:40 +02:00
Eric Culp
a3af191753
GRAPHICS/BASE: Adds definitions for scaler plugins
...
This includes a class for plugin implementations to inherit from and
code necessary for plugin managers to use scalers
2021-03-15 16:48:40 +02:00
BeWorld
134df1e746
MORPHOS: Added CAMD MIDI driver support
...
Merge with AmigaOS4 camd.cpp
2021-02-21 15:44:44 +00:00
Thierry Crozat
67720ef658
JANITORIAL: Remove obselete references to MetaEngineConnect
...
At some point when splitting the MetaEngine to a detection
plugin and a static meta engine, the former was called
MetaEngine while the latter was called MetaEngineConnect.
Thus was then later change to MetaEngineDetection and
MetaEngine. But some references were left to the former
names in comments and documentation.
2021-02-14 14:32:36 +00:00
Henrik "Henke37" Andersson
2eb52fe900
COMMON: Retire dangerous non const operator[] on ConfMan
2021-02-12 00:41:23 +01:00
Cameron Cawley
76ac4414ec
BASE: Fix crash when building with uncached plugins and static detection
2021-02-08 03:09:58 +02:00
av-dx
7950a9b215
GUI: Refresh stretch mode and shader on returning to launcher
2021-01-24 04:09:09 +02:00
Thierry Crozat
a1c807704d
ALL: Ignore force RTL option when the engine does not support RTL
...
This fixes bug #12072 : Cannot quit Blazing Dragons when always
return to launcher is selected
2021-01-20 23:35:47 +00:00
Vladimir Serbinenko
0d39e96f55
COMMON: Make TranslationManager reusable.
...
This makes it possible to reuse TranslationManager with different
files.
2020-12-17 09:49:18 +01:00
Thierry Crozat
4518f73f92
BASE: Remove FORCE_RETURN_TO_LAUNCHER define
...
This was only used by the ps2 backend, and that backend no longer
exists. Also now backends that want to force RTL should use the
kFeatureNoQuit OSystem feature instead.
2020-12-09 22:13:22 +00:00
Thierry Crozat
9e5540f838
BASE: Handle RTL at exit config in scummvm_main
...
This config was handled in the DefaultEventManager, but this did not
work for engines that quit the game without using a QUIT_EVENT (such
as SCI). So now it is handled one level up directly in scummvm_main.
Note: It is still also handled in the DefaultEventManager so that we
get the correct confirmation dialog there when "confirm_exit" is true.
2020-12-09 22:13:22 +00:00
Cameron Cawley
3d46c5ecf9
BASE: Rearrange the dynamic detection code
2020-12-06 19:56:44 +01:00
Bartosz Gentkowski
7192ec0bb5
DOXYGEN: Fix the build output and structure
...
This commit introduces a couple tweaks to the
doxygen build configuration to assure the
overall structure looks correct.
2020-12-02 22:55:41 +00: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
Cameron Cawley
01b4432825
BACKENDS: Use Common::U32String for OSystem::setWindowCaption
2020-11-22 17:20:19 +00:00
Cameron Cawley
11724f9df1
GUI: Add a tab for backend-specific options
2020-11-22 16:35:03 +00:00
Cameron Cawley
1bf1fb40fc
CONFIGURE: Allow building with TinyGL disabled ( #2528 )
2020-10-14 20:31:22 +02:00
Eugene Sandulenko
7ff34bc9ec
PLUGINS: MetaEngineStatic -> MetaEngineDetection
2020-10-11 23:14:39 +02:00
Eugene Sandulenko
7ea6781043
PLUGINS: PLUGIN_TYPE_METAENGINE -> PLUGIN_TYPE_ENGINE_DETECTION
2020-10-11 23:12:32 +02:00
Paweł Kołodziejski
35b9cccbde
ALL: Merge ResidualVM
2020-10-09 19:44:13 +02:00
Pawel Kolodziejski
2ecbaef5b5
BASE: Added more information about opengl related features
2020-10-07 11:33:22 +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
Eugene Sandulenko
9590eed4b4
BASE: Upgrade fullpipe engineid to ngi
...
Making it hardcoded because:
* This is the only place where it could happen
* It is the second time in history of ScummVM when we renamed
and engine (the first one was Simon -> AGOS)
Thus, there is a little sense in creating a universal solution.
2020-10-04 14:17:59 +02:00
aryanrawlani28
ffa69bfb26
GUI: debug statements related to plugins matching -> level 9.
2020-10-03 14:56:36 +02:00
aryanrawlani28
41af1b63a9
BASE: PLUGINS: Improve fb detection for Sci & Wintermute
2020-10-03 14:56:36 +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
a9841622e0
ENGINES: DETECTION: Use inheritance hierarchy and mimic existing plugins.
2020-10-03 14:56:36 +02:00
Eugene Sandulenko
ceabaf3b0d
BASE: Added override keywords
2020-10-03 14:56:36 +02:00
aryanrawlani28
ba5368542f
BASE: PLUGINS: Update header file & use DETECTION_STATIC def check to build static detection features.
2020-10-03 14:56:36 +02:00
aryanrawlani28
ac900a06b8
BASE: PLUGINS: Use engines/detection_table header for static plugins
2020-10-03 14:56:36 +02:00
aryanrawlani28
fea29b04ac
BASE: PLUGINS: Add a plugin suffix only if it is available
2020-10-03 14:56:36 +02:00
aryanrawlani28
7615f37698
BASE: PLUGINS: Add detection tables header file when getting static plugins.
2020-10-03 14:56:36 +02:00
aryanrawlani28
5f5363f03b
BASE: MAIN: Load/Unload detection plugin for UncachedPluginMan as/when needed.
...
- Used only in context of UncachedPluginMan
- Always load on startup
- When starting a game, unload all other MetaEngines except the one needed.
2020-10-03 14:56:36 +02:00
aryanrawlani28
8dfaf6cc0e
BASE: PLUGINS: Add support for detection plugins to be loaded on demand.
...
- Mainly used for UncachedPluginManagers.
- CachedPluginManagers will not handle these, as metaengines will always be available in memory.
2020-10-03 14:56:36 +02:00
aryanrawlani28
b78534dcb0
BASE: PLUGINS: Seperate declaration/definition of StaticPlugins.
...
- Move declarations inside plugins.h to make it visible to detection/detection.cpp
2020-10-03 14:56:36 +02:00
aryanrawlani28
408158edc9
BASE: PLUGINS: Add a new type of plugin - DETECTION.
2020-10-03 14:56:36 +02:00
aryanrawlani28
53f08789eb
BASE: PLUGINS: Restore functionalities of uncached plugin manager for the new changes.
2020-10-03 14:56:36 +02:00
aryanrawlani28
84ddd3ac88
BASE: PLUGINS: Remove comments referring to old game detection
2020-10-03 14:56:36 +02:00
aryanrawlani28
0cc8719417
BASE: ENGINES: Adapt to keymaps moving to engine plugins
...
- Also improvise usage of MetaEngineConnect in main.cpp a bit.
2020-10-03 14:56:36 +02:00
aryanrawlani28
9353e339c6
BASE: MAIN: Proper usage of unloadPluginsExcept before running a game.
2020-10-03 14:56:36 +02:00
aryanrawlani28
bdafdf220d
BASE: PLUGINS: Deprecate improper usage of unloadPluginsExcept
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
aryanrawlani28
39f5c93c5c
BASE: PLUGINS: Bump PLUGIN_TYPE_ENGINE_VERSION to 2
...
- Because of the many changes happening to engine classes, it would be a good idea to update the version, something similiar was done with themes.
2020-10-03 14:56:36 +02:00
aryanrawlani28
50e9f0d875
BASE: PLUGINS: Add helper methods which match MetaEngine to Engine & vice-versa
2020-10-03 14:56:36 +02:00
aryanrawlani28
f2dd03e7d8
BASE: PLUGINS: Implement a getEngineId for PluginObjects, return nullptr by default.
...
- See comments.
2020-10-03 14:56:36 +02:00
aryanrawlani28
575e77522a
BASE: MAIN: Change how running games works.
...
- In runGame(), in main.cpp, we get a plugin of type MetaEngine.
- This MetaEngine cannot createInstances, but it just a helper class.
- Connect a MetaEngine class with it's factory class - MetaEngineConnect.
- Then, simply call the method.
2020-10-03 14:56:36 +02:00