Commit Graph
45 Commits
Author SHA1 Message Date
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
aryanrawlani28 d26bbe521c ENGINES: ALL: Finish renaming ME & AME classes
- ME -> MetaEngineStatic (static parts)
- MEC -> MetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28 29ceb07959 ENGINES: ALL: Revert detection submodule to be directly present in the engine directory
- DETECT_OBJS are present and added inside an engine's modules.mk file.
2020-10-03 14:56:36 +02:00
aryanrawlani28 8189a05316 ENGINES: ALL: Adapt to changes for new plugins by defining a new detection module
For each engine:
- Make a new folder detection
- Move detection-related files inside the folder
- Add a new module "enginename/detection"
- Add DETECT_OBJS here
- Adjust the normal engine module to remove detect_objs
- Adjust every file for the new changes.
2020-10-03 14:56:36 +02:00
aryanrawlani28 fbac5798fb NEVERHOOD: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
Eugene Sandulenko 1aa0367b8a NEVERHOOD: Simplified detection tables 2020-08-24 23:24:38 +02:00
Eugene Sandulenko e047726bd2 NEVERHOOD: Drop platform on detection since Win version was primary 2020-08-24 22:36:26 +02:00
Henrik "Henke37" Andersson 64b3165a6c NEVERHOOD: Cleanup detection entry struct 2020-08-24 22:31:23 +02:00
Henrik "Henke37" Andersson e66668143e NEVERHOOD: isBigDemo getter 2020-08-24 22:31:23 +02:00
Henrik "Henke37" Andersson 7618a85a8a NEVERHOOD: Detect big demo 2020-08-24 22:31:23 +02:00
mataniko 581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
Bastien Bouclet 29cf8e0b43 NEVERHOOD: Add override keywords 2020-02-09 12:43:15 +01:00
Eugene Sandulenko 0f1bf292d0 NEVERHOOD: Added override keywords 2020-02-05 16:00:05 +01:00
Paul Gilbert 5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
Bastien Bouclet 9c8bd056d6 ENGINES: Stop using 'single id' 2019-11-03 11:43:00 +01:00
Bastien Bouclet 4b42112721 ENGINES: Add an engine ID to all the engines 2019-11-03 11:43:00 +01:00
Bastien Bouclet 9a4c0ae281 ENGINES: Normalize the getName() result of metaengines
Also-By: Matthew Hoops <clone2727@gmail.com>
2018-12-10 06:47:27 +01:00
Adrian Frühwirth 00e59a3122 ALL: Load savegame thumbnail only when necessary
This commit introduces the following changes:

1. Graphics::loadThumbnail()

   Now returns a boolean and takes a new argument skipThumbnail which
   defaults to false. In case of true, loadThumbnail() reads past the
   thumbnail data in the input stream instead of actually loading the
   thumbnail. This simplifies savegame handling where, up until now,
   many engines always read the whole savegame metadata (including
   the thumbnail) and then threw away the thumbnail when not needed
   (which is in almost all cases, the most common exception being
   MetaEngine::querySaveMetaInfos() which is responsible for loading
   savegame metadata for displaying it in the GUI launcher.

2. readSavegameHeader()

   Engines which already implement such a method (name varies) now take
   a new argument skipThumbnail (default: true) which is passed
   through to loadThumbnail(). This means that the default case for
   readSavegameHeader() is now _not_ loading the thumbnail from a
   savegame and just reading past it. In those cases, e.g.
   querySaveMetaInfos(), where we actually are interested in loading
   the thumbnail readSavegameHeader() needs to explicitely be called
   with skipThumbnail == false.

   Engines whose readSavegameHeader() (name varies) already takes an
   argument loadThumbnail have been adapted to have a similar
   prototype and semantics.
   I.e. readSaveHeader(in, loadThumbnail, header) now is
   readSaveHeader(in, header, skipThumbnail).

3. Error handling

   Engines which previously did not check the return value of
   readSavegameHeader() (name varies) now do so ensuring that possibly
   broken savegames (be it a broken thumbnail or something else) don't
   make it into the GUI launcher list in the first place.
2018-04-07 09:26:20 +02:00
Ben Castricum b041618a42 ALL: Remove comma before the word 'instead' 2016-11-29 20:22:19 +01:00
Alexander Tkachev b665fc933d ALL: Make simpleSaveNames() a MetaEngineFeature
Added it into hasFeature() of all engines which returned `true` in
simpleSaveNames() before.

As mentioned in #788, SCI is not always using simple names, so it
doesn't have such feature now.
2016-08-24 16:07:55 +06:00
Alexander Tkachev ab1d160ec8 ALL: Add MetaEngine::simpleSaveNames()
Engines with "simple" savenames would support "Run in background" in
save/load dialog and gradual save slots unlocking. Other engines
save/load feature would be locked until save sync is over.
2016-08-24 16:07:55 +06:00
Logan B 865eff9c2c NEVERHOOD: Add earlier English demo of Neverhood
Apparently contains a placeholder song or soundtrack. Download link in the sourceforge issue tracker.
https://sourceforge.net/p/scummvm/bugs/7117/
2016-04-15 21:33:07 +12:00
Johannes Schickel 3aecd8ef2a ENGINES: Make variable names of ADGameDescription conform to our guidelines.
gameid     -> gameId
guioptions -> guiOptions
2016-03-08 19:01:38 +01:00
Johannes Schickel 0b6befdcc5 ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.
_singleid   -> _singleId
_gameids    -> _gameIds
_guioptions -> _guiOptions
2016-03-08 19:01:13 +01:00
Johannes Schickel 37c1a06df9 NEVERHOOD: Let listSaves return list sorted on slot numbers. 2016-02-25 21:39:45 +01:00
Johannes Schickel 31f8405e6e NEVERHOOD: Only request actual save slots in listSaves. 2016-01-26 16:35:30 +01:00
Johannes Schickel 6563171e7b NEVERHOOD: Make GPL headers consisten in themselves. 2014-02-18 02:39:36 +01:00
Filippos Karapetis 9c295171b6 NEVERHOOD: Add an option to scale the making of videos to full screen 2013-12-26 16:58:24 +02:00
Filippos Karapetis 7ea0386307 NEVERHOOD: Disable the fanmade Russian Fargus release for now
This version has broken resources that corrupt the heap
(e.g. the menu header).
2013-12-20 02:10:34 +02:00
Strangerke 29659ba948 NEVERHOOD: Fix spacing errors 2013-11-24 18:52:47 +01:00
Filippos Karapetis 1a40387d0d NEVERHOOD: Add an option to skip the Hall of Records storyboard scenes
Quoting from the Neverhood wiki: "The Hall of Records is considered to
be one of the longest and most tedious elements of the Neverhood, and
takes approximately nine to ten minutes to walk through".

This option allows the player to just skip past all of these tedious
storyboard scenes
2013-10-31 08:24:03 +02:00
Filippos Karapetis 9396958536 NEVERHOOD: Add a patch system for broken resources in Russian versions
Some translated resources in Russian versions have incorrect unpacked
resource sizes. The original didn't perform checks for these, but we
do, thus we'll need to patch the unpacked resource sizes for each case
2013-09-26 10:54:30 +03:00
Filippos Karapetis 9f7033120b NEVERHOOD: Use the ScummVM dialogs for saving/loading
An option has been added to use the original ones, if needed
2013-06-28 15:37:48 +03:00
Eugene Sandulenko 6b4e62004a NEVERHOOD: Add detection for Russian version. Requires more work 2013-05-17 08:52:45 +03:00
johndoe123 78e0d6a3f1 NEVERHOOD: Move module files to own subdirectory 2013-05-08 20:49:19 +02:00
johndoe123 a03879963f NEVERHOOD: Changed the save/load menu to allow gaps in saved games to simplify game deletion 2013-05-08 20:47:43 +02:00
johndoe123 2a571d71b0 NEVERHOOD: Fix GUI options and game copyright 2013-05-08 20:47:43 +02:00
johndoe123 a80bafeb2e NEVERHOOD: Support game loading from launcher/command line 2013-05-08 20:47:43 +02:00
johndoe123 a98d9aa58a NEVERHOOD: Clean up DiskplayerScene
- Enable return to launcher
- Remove obsolete comments
- Remove braces in single-line statements
- Remove unused non-transparent drawing code in BaseSurface::copyFrom
- Clean up mouse cursor insertion code in Scene class
2013-05-08 20:47:39 +02:00
johndoe123 4b7ad48ca8 NEVERHOOD: Rename some CollisionMan methods/fields
- Remove fallback detector (I think it's not needed)
- Rename Scene insertMouse methods
2013-05-08 20:47:39 +02:00
johndoe123 0f1aa64fd0 NEVERHOOD: Add support for the demo version
- Remove debug resource dumping code
- Fix Scene1501 (pictures without sound weren't displayed/too fast)
- Move main loop to mainLoop method
2013-05-08 20:47:38 +02:00
johndoe123 99e15e4005 NEVERHOOD: More work on saveload, saving works, loading not yet (from the GMM, in-game isn't finished yet) 2013-05-08 20:47:38 +02:00
Willem Jan Palenstijn 01f3f3a8dd Merge branch 'master' 2013-05-08 20:39:44 +02:00
johndoe123 52e0ac85db NEVERHOOD: First code with basic detection, nothing else so far 2013-05-08 20:30:49 +02:00