aboutsummaryrefslogtreecommitdiff
path: root/engines/metaengine.h
AgeCommit message (Collapse)Author
2010-12-23PLUGINS: switched plugin manager to inheritance rather than #definesYotam Barnoy
The reason for this was that I found issues where the wrong functions were called in EngineManager for single plugin operation. Rather than inserting more messy #defines, I preferred to change the PluginManager to use virtual functions, which also makes EngineManager simpler. svn-id: r55024
2010-11-05PLUGINS: improved one-at-a-time plugin codeYotam Barnoy
I reduced memory fragmentation using 2 principles: Plugins should be loaded for as little time as possible, and long lasting memory allocations should be allocated before plugins are loaded. There might still be a little fragmentation left. Note that command line settings that require plugins to be loaded don't work yet, but they didn't work (properly) before either. svn-id: r54097
2010-08-05added intermediary function 'findGameOnePlugAtATime' and switched load game ↵Tony Puccinelli
and run game code to use it. Added checks for DYNAMIC_MODULES defines to the checks for NEW_PLUGIN_DESIGN_FIRST_REFINEMENT svn-id: r51746
2010-03-22Patch #2973290: Semicolon cleanupMax Horn
svn-id: r48359
2010-03-18ENGINES: Move SaveStateDescriptor etc. to engine/savestate.*Max Horn
svn-id: r48283
2009-03-05Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match ↵Jordi Vilalta Prat
the meaning of the returned string, as discussed some time ago in scummvm-devel svn-id: r39132
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-11-09Update documentation.Johannes Schickel
svn-id: r34971
2008-11-09Updated documentation.Johannes Schickel
svn-id: r34964
2008-11-09- The GMM save dialog is now working for all engines which support the ↵Filippos Karapetis
appropriate features - Added a new method to the MetaEngine class, getMaximumSaveSlot(), and implemented it in all engines for which the listSavefiles() method is implemented (it goes together with the listSavefiles method). It is used to fill the unused save slots in the save/load dialogs of each engine, so that the user can create new save games in empty slots - Unified the save/load dialog list numbering in the GMM load/save screens and in the load screen of the main menu (before a game is started) svn-id: r34963
2008-11-05Turned enum PluginError into Common::Error, which in the future is to be ↵Max Horn
used in more places. Help with this is highly welcome svn-id: r34906
2008-11-04Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some ↵Max Horn
EngineFeature comments svn-id: r34896
2008-11-03- Extended some commentsJohannes Schickel
- Added @todos to engines/engine.h - Added a FIXME to engines/dialogs.cpp svn-id: r34887
2008-11-03Patch #2122869: ALL: Common load dialogMax Horn
svn-id: r34883
2008-10-26Renamed engine feature kSupportsDirectLoad to kSupportsLoadingDuringStartup, ↵Filippos Karapetis
as discussed in patch #2122869 svn-id: r34854
2008-10-06Added new type Engine::Feature; pushed down some #include dependenciesMax Horn
svn-id: r34755
2008-10-04Renamed some MetaEngine feature flags; removed explicit numbers from this ↵Max Horn
feature flag list (nothing should rely on their specific values, anyway); added a note that Engine::hasFeature should become independant of MetaEngine::hasFeature svn-id: r34738
2008-09-30cleanupMax Horn
svn-id: r34697
2008-09-17Moved base/game.* to engines/game.*Max Horn
svn-id: r34589
2008-09-16Added support for SCUMM savestates date/time and playtime info in the ↵Johannes Schickel
launcher load dialog. svn-id: r34583
2008-09-16Added "querySaveMetaInfos" to MetaEngine.Johannes Schickel
-> Allows easy addition of save state specific infos like playtime, save date atc. -> Removed MetaEngine::loadThumbnailFromSlot, superseded by meta infos -> Changed SCUMM / KYRA to implement the newly added functionallity -> Removed hack in KYRAs listSavefiles, which is now handled via meta infos svn-id: r34581
2008-09-14- Added thumbnail support to launcher load dialog.Johannes Schickel
- Adopted KYRA to support displaying thumbnails in load dialog (SCUMM engine has yet to follow) svn-id: r34539
2008-09-11Committed my patch #2105593 "Launcher/MetaEngine: Finnished removeSaveState".Johannes Schickel
svn-id: r34495
2008-09-03Moved FilesystemNode / FSList to namespace Common; also got rid of some ↵Max Horn
'typedef Common::String String;' name aliases svn-id: r34302
2008-09-01Document each MetaEngineFeature (instead of listing just 'examples'). ↵Max Horn
Wording could be better, feel free to improve it svn-id: r34262
2008-09-01Clarified clarification ;)Max Horn
svn-id: r34261
2008-09-01Clarified some commentsMax Horn
svn-id: r34260
2008-08-16Added a MetaEngineFeature for RTL support, the RTL button is disabled in the ↵Christopher Page
GMM if the engine doesn't support it svn-id: r33921
2008-08-15Defined some MetaEngineFeatures for the engines, the launcher uses these ↵Christopher Page
features to allow/disallow loading and deleting saves svn-id: r33909
2008-08-15Added some MetaEngineFeatures, defined MEFs for the Scumm engineChristopher Page
svn-id: r33893
2008-05-26Fixed some code formatting thanks to LordHotoJordi Vilalta Prat
svn-id: r32275
2008-05-13Moved the engine plugin code to engines/metaengine.h; ↵Max Horn
added/clarified/corrected various Doxygen comments for the plugin system svn-id: r32083
2008-02-08Remove undesired spaces and an old TODOJordi Vilalta Prat
svn-id: r30827
2008-02-04Change MetaEngine references to PluginObject where possible to make its ↵Jordi Vilalta Prat
semantics more generic. svn-id: r30789
2008-02-04Commited updated version of my own patch #1868402: Basic savestate plugin APIMax Horn
svn-id: r30786
2008-02-03Revised Engine plugin API to only provide a single func which returns a ↵Max Horn
MetaEngine instance. Used this to simplify the rest of the plugin system svn-id: r30780
2008-02-03Changed "COMPATIBLITY" to "COMPATIBILITY".Torbjörn Andersson
svn-id: r30754
2008-02-02Converted the remaining engines to use MetaEngineJordi Vilalta Prat
svn-id: r30728
2008-02-02New MetaEngine class (work in progress to replace the current Engine plugin ↵Max Horn
API with a more object oriented approach) svn-id: r30726