Commit Graph
56 Commits
Author SHA1 Message Date
Cameron Cawley c11cf35f48 DREAMWEB: Move the engine options into the MetaEngine subclass 2022-11-16 23:58:54 +01:00
Cameron Cawley 0848034bf0 DREAMWEB: Clean up the game options 2022-11-03 23:01:08 +00:00
Cameron Cawley f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Torbjörn Andersson e06f3c9a5a GUI: Allow game option checkboxes to be disabled
Depending on other game option checkboxes. This is used to
enable/disable the semi-smooth scrolling checkboxes for FM Towns Loom,
since it's only used when smooth scrolling is enabled.
2022-04-21 11:07:17 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 2c23cf985f DREAMWEB: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
taylorzhancher ea9a7dccf1 DREAMWEB: Add Text To Speech support 2021-09-04 19:27:46 +01:00
ysj1173886760 d987e1a6b1 DREAMWEB: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +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
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 5161f46f98 DREAMWEB: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00
mataniko 581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
Paul Gilbert a00e44ba6c ENGINES: Merge saveGameState virtual methods into a single one 2020-02-16 15:44:28 -08:00
Bastien Bouclet 606ad04533 DREAMWEB: Add override keywords 2020-02-09 12:43:15 +01:00
Eugene Sandulenko 8c26862614 DREAMWEB: Added override keywords 2020-02-05 15:15:32 +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
Ori Avtalion 3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03: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 3def363968 DREAMWEB: Let listSaves return list sorted on slot numbers. 2016-02-25 21:39:45 +01:00
Johannes Schickel 6af2e8564a DREAMWEB: Only request actual save slots in listSaves. 2016-01-26 16:35:30 +01:00
Johannes Schickel aaff7b1736 DREAMWEB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
Johannes Schickel e66b9d4487 DREAMWEB: Slight cleanup in querySaveMetaInfos. 2012-07-03 18:39:50 +02:00
Filippos Karapetis fb5aa3ccbb DREAMWEB: Rename the dreamweb_originalsaveload option to originalsaveload
This changes its naming to be like the rest of the game options
2012-03-25 17:50:22 +03:00
Filippos Karapetis eabdf8048e DREAMWEB: Add per-game GUI option support. 2012-03-19 21:04:29 +01:00
Max Horn 37216ab381 DREAMWEB: Avoid including advancedDetector.h from dreamweb.h 2012-02-22 18:25:37 +01:00
Filippos Karapetis 279746fcf0 DREAMWEB: Completely remove all of the runtime, and move everything into DreamWebEngine
Also, remove dead code (allocateMem/deallocateMem)
2011-12-28 15:07:17 +02:00
Filippos Karapetis a1799ba091 DREAMWEB: Close the file opened in querySaveMetaInfos() when returning 2011-12-18 12:19:19 +02:00
Filippos Karapetis 83b31ccb1d DREAMWEB: Remove an erroneous comment (copy/paste error) 2011-12-18 03:07:54 +02:00
Filippos Karapetis 08fec8fa34 DREAMWEB: Add meta information to saved games
This information includes savegame versioning and the saved game's
date/time, played time and game thumbnail. This information is stored
into an unused data block of the original save format, so the
generated ScummVM saves are (hopefully) fully compatible with the
original ones and can be loaded in the original interpreter
2011-12-18 02:55:22 +02:00
Filippos Karapetis 0731bcb5ac DREAMWEB: Implement removeSaveState() 2011-12-17 19:28:04 +02:00
Max Horn 5b43fb6be7 DREAMWEB: Code formatting 2011-12-08 19:52:10 +01:00
Eugene Sandulenko 32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
Willem Jan Palenstijn d79364489d DREAMWEB: Enable 100 savegames 2011-08-18 00:29:36 +02:00
Willem Jan Palenstijn 8a5c8f3320 DREAMWEB: Add/fix loading from launcher
This is very error-prone, and needs testing.
2011-08-18 00:29:17 +02:00
Eugene Sandulenko 540d0260e6 DREAMWEB: Add ScummVM headers, remove SVN keywords. 2011-07-19 11:26:40 +01:00
Tarek Soliman 478279a4b7 DREAMWEB: disable load button in launcher 2011-07-05 19:31:34 -05:00
Vladimir Menshakov 545e482b5a DREAMWEB: Reimplemented modifychar and language switching 2011-06-25 18:21:37 +04:00
Vladimir Menshakov 08375150ca DREAMWEB: Show subtitle options only for CD version 2011-06-24 09:41:13 +04:00
Vladimir Menshakov e30b41b28e DREAMWEB: Added subtitle option 2011-06-23 23:30:12 +04:00
Max Horn 88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Ori Avtalion 9b703356e6 DREAMWEB: Fix saveGameState signature to match Engine's virtual method 2011-06-18 19:59:36 +03:00
Vladimir Menshakov 41a399231b DREAMWEB: added stubs for loading from lancher (disabled). 2011-06-18 14:29:10 +04:00