Commit Graph
52 Commits
Author SHA1 Message Date
Walter Agazzi 42f0b89b20 TSAGE: Fix orphaned Protostar demos and mark unstable 2023-01-06 15:45:34 +01:00
Cameron Cawley f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
ysj1173886760 f1a242d44e TSAGE: 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 a56dc094b9 ENGINES: ALL: Move detection_enums -> detection.h
- Cleans up headers quite a bit.
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 d001efc534 TSAGE: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
Bastien Bouclet 5bf2783433 TSAGE: Add override keywords 2020-02-09 12:43:16 +01: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
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
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
Hubert Maier 5216a4278a Fix TsAGE copyright sign 2016-05-29 15:14:55 +03: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 6d46577174 TSAGE: Let listSaves return list sorted on slot numbers. 2016-02-25 21:39:45 +01:00
Johannes Schickel a0750ab487 TSAGE: Only request actual save slots in listSaves. 2016-01-26 16:35:30 +01:00
Paul Gilbert 08dc811baa TSAGE: Implemented game startup code for Sherlock Logo 2015-05-21 18:48:21 -04:00
Strangerke dc2094f7a6 TSAGE: Rename savegame header members 2014-03-07 14:21:46 +01:00
Johannes Schickel 6e715e186a TSAGE: Make GPL headers consistent with themselves. 2014-02-18 02:39:39 +01:00
Johannes Schickel b1dd05281f TSAGE: Indent REGISTER_PLUGIN_* for consistency. 2014-02-17 23:03:12 +01:00
Paul Gilbert 5ecfc1e48f TSAGE: Fixes for allowing selecting speech in the ScummVM options dialog 2013-10-19 16:02:51 -04:00
Johannes Schickel 89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Johannes Schickel 79e2403527 TSAGE: Slight cleanup in querySaveMetaInfos. 2012-07-03 18:39:50 +02:00
Max Horn 5d88e67cfd TSAGE: Remove superfluous md5 bytes setting 2012-02-16 11:11:55 +01:00
Paul Gilbert ebc3763d64 TSAGE: Removed game stubs for Geekwad 2011-11-01 21:59:43 +11:00
Paul Gilbert ef1f96b674 TSAGE: Added skeleton for Geekwad 2011-10-31 10:44:37 +11:00
Eugene Sandulenko 32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
Torbjörn Andersson a30e629005 TSAGE: Add description for Return to Ringworld
The engine detects it, so it might as well put a name to it.
2011-10-22 12:48:18 +02:00
Paul Gilbert 14e6638480 TSAGE: Re-added _singleid and changed name for TsAGE game description 2011-10-06 21:01:58 +11:00
Paul Gilbert 95a45f9108 TSAGE: Remove _singleId now that the engine supports multiple games 2011-10-04 22:20:53 +11:00
Paul Gilbert 9bb978486b COMMON: Fix multiple engines asserting in querySaveMetaInfos for empty save slots 2011-10-01 17:50:19 +10:00
Paul Gilbert 23729c2063 TSAGE: Fix Valgrind warnings 2011-09-25 09:09:54 +10:00
Paul Gilbert 697230709b TSAGE: Corrected casing of tSage namespace to be TsAGE
This matches the casing of the original engine name.
2011-08-15 20:47:59 +10:00
Paul Gilbert 622f8a166c TSAGE: Changed game Id from 'ring' to 'ringworld'
This should help avoid name conflicts in the future with the Ring engine
2011-08-07 11:07:02 +10:00
Max Horn 7c992d6598 DETECTOR: Merge ADParams into AdvancedMetaEngine 2011-06-14 18:17:01 +02:00
Strangerke 6183658555 TSAGE: Detect using MD5 based on 5000 bytes instead of unlimited 2011-06-10 23:33:42 +02:00
Max Horn 6a6b9aabea TSAGE: Elaborate on one FIXME I previously added, resolve another
Turns out params.depth == 0 is the same as == 1
2011-06-10 22:39:23 +02:00
Max Horn 0031e08349 TSAGE: Switch to alternate AdvancedMetaEngine, avoid ADParams 2011-06-10 22:15:46 +02:00
Thierry Crozat 3c59e37035 ENGINES: Unify engine names
This unifies the engine names in MetaEngine::getName() and the
credits. In particular drop "Engine" or "engine" from the names when
it was present and use expanded names in credits when the
MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-16 00:11:32 +01:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
md5 77db46ad33 TSAGE: Fixed saved game ordering in the save and load dialogs 2011-04-29 16:14:07 +03:00
Paul Gilbert c68641584b TSAGE: Added framework for playing the Ringworld demo 2011-04-25 19:39:45 +10:00
strangerke 66b43f2312 TSAGE: "Cosmetic" cleanups 2011-04-13 21:27:46 +02:00
Willem Jan Palenstijn 3be6ff23d7 TSAGE: Fix warning 2011-04-13 14:07:11 +02:00