aboutsummaryrefslogtreecommitdiff
path: root/base
AgeCommit message (Collapse)Author
2018-06-17BASE: Fix a segfault when mass detector encounters an empty directoryBastien Bouclet
Was introduced in the recent detection rework.
2018-06-13JANITORIAL: Fix comment typoTorbjörn Andersson
2018-06-03BASE: Remove temporary targets when they fail to launchBastien Bouclet
Prevents invalid targets created from the command line to show up in the launcher. Fixes Trac#2788.
2018-05-10ENGINES: Remove usage of C++11 extended initializer listsBastien Bouclet
2018-05-10ENGINES: Merge GameDescriptor and DetectedGameBastien Bouclet
2018-05-10ENGINES: Factor adding games to ConfManBastien Bouclet
2018-05-10ENGINES: Turn GameDescriptor into a simple structBastien Bouclet
2018-05-10ENGINES: Change MetaEngine::listSupportedGames to return plain game descriptorsBastien Bouclet
2018-05-10ENGINES: Change MetaEngine::findGame to return a plain game descriptorBastien Bouclet
2018-05-10ENGINES: Add unknown game variants to the game detector resultsBastien Bouclet
2018-04-29ENGINES: Show the unknown Game dialog only when the detector is launched by ↵Lothar Serra Mari
the Add Game feature
2018-04-25BASE: Allow listing save games for all targetsThierry Crozat
2018-04-25BASE: Use --game to specify target for --list-saves commandThierry Crozat
This change brings the --list-saves command syntax in line with other commands.
2018-04-22BASE: Allow options to come after command on the command lineBastien Bouclet
2018-04-15JANITORIAL: Fix whitespaceAdrian Frühwirth
2018-04-12BASE: Minor text fix for --copy-protection helpTarek Soliman
2018-04-08AUDIO: add support for OPL2LPTVincent Bernat
The OPL2LPT is an OPL2 chip plugged on a parallel port. It is write-only but otherwise acts as a classic AdLib. This commit adds support for this device. User is expected to have the right permissions on the parallel port. By default, the first suitable parallel port is used. It is possible to override that with the hidden configuration setting "opl2lpt_parport". It depends on the presence of the libieee1284 library which abstracts a bit parallel port handling. An alternative would be to access directly /dev/parportX on Linux. This would amount of code but it would be Linux-only. Tested with Indy 3 and SOMI.
2018-04-07BASE: Show nuked audio driver only when compiledEugene Sandulenko
2018-04-07AUDIO: Add Nuked OPL3 corenukeykt
2017-12-03BASE: Remove bad casts between incompatible Plugin typesColin Snover
Previously, a C-style cast was used to convert a Common::Array<Plugin *>, populated with pointers to StaticPlugin and DynamicPlugin instances, to a Common::Array<PluginSubclass<T> *>, but PluginSubclass<T> is a *sibling* class to StaticPlugin/DynamicPlugin, so this cast was invalid and the results undefined. The methods for retrieving subclasses of plugins can't be easily changed to just generate an array of temporary wrapper objects that expose an identical API which dereferences to the preferred PluginObject subclass because pointers to these objects are retained by other parts of ScummVM, so the wrappers would needed to be persisted or they would need to just re-expose the underlying Plugin object again. This indicated that a way to solve this problem is to have the callers receive Plugin objects and get the PluginObject from the Plugin by explicitly stating their desired type, in a similar manner to std::get(std::variant), so that the pattern used by this patch to solve the problem. Closes gh-1051.
2017-11-30RELEASE: This is 2.1.0gitThierry Crozat
2017-11-21RELEASE: 1.10 will henceforth be known as 2.0Colin Snover
General consensus on the ML was that people wanted to do this. http://lists.scummvm.org/pipermail/scummvm-devel/2017-November/012008.html
2017-11-02BASE: Minor command line detection cleanupBastien Bouclet
2017-09-08UPDATES: Fix crash when compiling with updates enabled but without an ↵Thierry Crozat
UpdateManager This can happen when Sparkle was not found during configure which results in USE_UPDATES being defined but USE_SPARKLE not being defined.
2017-08-06CMD: Handle --game=<ID> for --detect and --auto-detectThierry Crozat
The README and command line help indicated this should work, but this was not implemented.
2017-08-06CMD: Improve warnings for --detect and --add when no game is foundThierry Crozat
2017-08-06CMD: Print full path information for --detectTobia Tesan
2017-08-06CMD: Update error codes in case of autodetector errorTobia Tesan
2017-08-06CMD: Add --recursive option for adding & detectionTobia Tesan
New semantics is as follows: [-p <dir>] --add adds all games in <dir> or working dir [-p <dir>] --detect enumerates dectected games in <dir> with their ids [-p <dir>] --game <id> --add adds just game <id> if found in <dir> and not already added [-p <dir>] --recursive --add adds all games in <dir> and subdirs if not already added [-p <dir>] --recursive --game <id> --add adds just game <id> if found in <dir> or its subdirs and not already added [-p <dir>] --recursive --detect enumerates games in <dir> and subdirs [-p <dir>] --auto-detect launches the first game found in <dir> [-p <dir>] --recursive --auto-detect displays error message The reason for the displaying an error message when attempting to do autodetection on a whole tree is mainly one of UX, IMO it *might* get confusing on a sufficiently large/deep tree. The relevant if() can be removed safely if it's concluded that's not the case.
2017-08-06CMD: Fix batch adding of gamesTobia Tesan
This implements the behaviour as discussed in PR926: https://github.com/scummvm/scummvm/pull/926#discussion_r126132411 Essentially: [-p <dir>] --add adds all games in <dir> or working dir [-p <dir>] --detect enumerates dectected games with their ids [-p <dir>] --game <id> --add adds just game <id>
2017-07-10Revert "COMMON: Change way the Singleton instances are instantiated"Eugene Sandulenko
This reverts commit eefa72afa1978a9dea10f5b1833fcc8f58a3468e. With this patch ConfigManager is broken.
2017-07-10COMMON: Change way the Singleton instances are instantiatedThierry Crozat
This fixes tons of warnings with clang from a recent xcode version on macOS (and possibly other systems) complaining that an instantiation of _singleton is required but no definition is available.
2017-05-03BASE: Fix auto-detect command to detect and start gameThierry Crozat
There were several issues. The first one was introduced recently and caused the preferred target to be used as a game ID, which resulted in an error when this is not a valid game ID. Thus this fixes bug #9754. The other issues were here since the auto-detect command was added and caused other command line options, suh as the path, to be lost. This usually resulted in a failure to start the game as the data files could not be found (unless the ID happened to be the same name as a target previously added). This also caused a reappearance of the old bug
2017-04-24BASE: Improve error handling when detecting gamesThierry Crozat
2017-04-24BASE: Check scanf return value when adding a gameThierry Crozat
2017-04-23CMD: Detect and add game(s) with commandlineyinsimei
This implements feature request #7885
2017-02-06BASE: Ignore -NSDocumentRevisionDebugMode command line argument on OS XThierry Crozat
This is automatically added by Xcode when not toggling off the "Allow debugging when using document Versions Browser". Since this is on by default, and to avoid everybody having to google it, I have decided to just ignore it on OS X.
2016-11-07BASE: Auto-detect now starts the first game foundThierry Crozat
2016-10-29BASE: Clarify how to specify a path in help for the auto-detect commandThierry Crozat
2016-10-29BASE: Auto-detect option now uses the specified pathThierry Crozat
2016-10-29BASE: Formatting codeiskrich
2016-10-29BASE: Add --auto-detect commandiskrich
Allows to display games in the current directory that are compatible with ScummVM. This option enables the user to find games in the directory from which ScummVM was launched. In terminal it looks like: -------------------------------------------------------------------------------------- $ scummvm --auto-detect ID Description -------------------- --------------------------------------------------------- drascula Drascula: The Vampire Strikes Back (DOS/English) queen Flight of the Amazon Queen (Talkie/DOS/English) -------------------------------------------------------------------------------------- The current directory is defined as dir(".") then using EngineMan.detectGames to recognise games.
2016-10-29COMMON: Add referencing and destruction of the OSDMessageQueue instanceThierry Crozat
Registering the OSDMessageQueue instance as an event source is now done right after the event manager is initialised. This ensures that it is created in a sensible place and not for example in another thread). Also registering the event source is moved to a separate function instead of being in the constructor to remove any issue in case some code tries to display a OSD Message very early on (the instance would be created then, but it would be registered as an event source later).
2016-10-24BASE: Add command line for specifyong Director start movieEugene Sandulenko
2016-10-17ALL: Fix compilation with disabled cloud but enabled libcurlEugene Sandulenko
2016-10-13GUI: Add checkbox and config option to enable/disable graphics filteringThierry Crozat
2016-10-09JANITORIAL: Remove more trailing spacesEugene Sandulenko
2016-09-26RELEASE: This is 1.10.0gitEugene Sandulenko
2016-09-10AMIGAOS: Amiga needs date in specific format in version cookie. Now ↵Eugene Sandulenko
AmiUpdate works
2016-08-24CLOUD: Do some refactoring/cleanupAlexander Tkachev
Nothing really major.