Commit Graph

98 Commits

Author SHA1 Message Date
Eugene Sandulenko
bf4340d562 revert accidental commit
svn-id: r30801
2008-02-05 15:35:17 +00:00
Eugene Sandulenko
9f6282defc Fix compilation
svn-id: r30800
2008-02-05 15:33:01 +00:00
Jordi Vilalta Prat
e4ab5dd339 Change MetaEngine references to PluginObject where possible to make its semantics more generic.
svn-id: r30789
2008-02-04 18:38:22 +00:00
Max Horn
3cd1e60e7a Moved common code from Plugin subclasses to class Plugin itself
svn-id: r30787
2008-02-04 13:14:52 +00:00
Max Horn
5fb7f7a4d6 Commited updated version of my own patch #1868402: Basic savestate plugin API
svn-id: r30786
2008-02-04 10:15:21 +00:00
Max Horn
8a73356a2d Revised Engine plugin API to only provide a single func which returns a MetaEngine instance. Used this to simplify the rest of the plugin system
svn-id: r30780
2008-02-03 18:56:47 +00:00
Max Horn
0ec8d35e4d Revert accidental commits in rev 30372
svn-id: r30374
2008-01-10 12:00:10 +00:00
Max Horn
7ed64488a8 Removed obsolete FIXME
svn-id: r30372
2008-01-10 11:29:29 +00:00
Gregory Montoir
6c6e8657b6 added 'igor' engine for the game 'Igor: Objective Uikokahonia'
svn-id: r29318
2007-10-29 23:35:50 +00:00
Eugene Sandulenko
b508441972 Patch #1800767: "Sort the list of engines"
svn-id: r29089
2007-09-24 17:44:47 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Paweł Kołodziejski
d04b653378 added engine stubs code for Drascula game
svn-id: r28130
2007-07-17 21:35:01 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Johannes Schickel
86104e0bf0 Reverted r26922.
svn-id: r26967
2007-05-27 11:40:03 +00:00
Johannes Schickel
8ff17142c5 Simpilified Singleton implementation and usage.
svn-id: r26922
2007-05-22 14:17:44 +00:00
Filippos Karapetis
d00e72e5c8 Added the cruise engine to the list of plugins in plugins.cpp
svn-id: r26607
2007-04-27 14:50:27 +00:00
Max Horn
baaedb1651 Added game.cpp file with some funcs/methods declared in game.h
svn-id: r25137
2007-01-21 00:25:04 +00:00
Eugene Sandulenko
cd8a5f3a98 First phase of detection-related plugins interface improvements. Now plugins
return StringMap instead of fixed list of parameters. This adds great
flexibility.

Current patch should not alter any functionality, i.e. if there are regressions,
submit a report. Phase 2 will benefit from these changes and will come later.

svn-id: r25134
2007-01-20 21:27:57 +00:00
Eugene Sandulenko
e5c7ce83b8 Initial import of Parallaction engine
svn-id: r25083
2007-01-14 21:29:12 +00:00
Max Horn
fb1cb33324 Fix previous commit by anotherguest
svn-id: r24942
2006-12-28 12:29:18 +00:00
Lars Persson
203b93e49d Updated makefiles to support touche and agos naming properly
svn-id: r24941
2006-12-28 12:14:58 +00:00
Gregory Montoir
13d9cdbd26 added 'touche' engine for the game 'Touche: The Adventures of the 5th Musketeer'
svn-id: r24592
2006-11-03 21:23:07 +00:00
Torbjörn Andersson
f11c3d1f26 Removed some left-over (I think!) code from unloadPluginsExcept() that was
causing ScummVM to crash for me.

svn-id: r24155
2006-10-07 01:56:31 +00:00
Max Horn
df5be19409 Instantiate and hook up the plugin providers in the main() function of the corresponding backends (porters may have to update their ports if they were using the POSIX or Win32 module loading code implicitly); some cleanup
svn-id: r24153
2006-10-07 01:05:12 +00:00
Max Horn
26e4e16800 Started to refactor the plugin code (moving backend specific stuff into backends/plugins/)
svn-id: r24148
2006-10-07 00:22:48 +00:00
Eugene Sandulenko
8e2c703bab First pahse of renaming simon engine to agos. Internal renames. Compilation
is broken

svn-id: r24008
2006-09-29 08:14:27 +00:00
Max Horn
4c14cf6d1a Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
svn-id: r23974
2006-09-23 00:42:35 +00:00
Max Horn
16ace099aa Work around conflict between ISO C++ and POSIX, to allow ISO C++ compliant compilers like GCC 4.x to compile the plugin code again
svn-id: r23945
2006-09-20 11:54:15 +00:00
Max Horn
4a80db4c7b * Added copyright string to all engine plugins
* Modified about dialog to list all available plugins with their resp. copyright
* Modified about dialog credits to show the GPL last (like movie end credits do with their legal text, too)

svn-id: r23645
2006-07-31 13:41:21 +00:00
Max Horn
d210b19aec Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cpp
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h)

svn-id: r23274
2006-06-24 08:07:48 +00:00
Travis Howell
d9d3b604f2 Fix compile
svn-id: r22592
2006-05-24 00:27:56 +00:00
Paweł Kołodziejski
107073537e imported AGI engine
svn-id: r22588
2006-05-23 23:43:52 +00:00
Torbjörn Andersson
6a41946219 The loadPlugins() function works a bit better if it doesn't fail when listDir()
succeeds. ;-)

svn-id: r22325
2006-05-04 03:50:30 +00:00
Max Horn
b67c30f6c8 Fix DYNAMIC_MODULES (update the listDir call used in PluginManager::loadPlugins when using dynamic modules/plugins)
svn-id: r22316
2006-05-03 20:45:57 +00:00
Max Horn
bf73598811 * Changed the createEngine() factory function of our plugins to return an error code (the engine is now passed indirectly via a double pointer)
* Removed Engine_Empty (obsolete now that engines can return actual error codes)

svn-id: r22199
2006-04-29 00:27:20 +00:00
Max Horn
68cb7f52c8 - Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a new getActiveDomain method that returns a pointer to the actual active *domain*
- Added Engine::_targetName whose value is computed from the name of the active domain
- Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain
- This in turn allowed for removing usage of GameDetector in many places

svn-id: r21916
2006-04-15 20:36:41 +00:00
Max Horn
46ee5c8f26 Added new method DetectedGame::updateDesc, to ease generation of uniform description strings
svn-id: r21166
2006-03-09 12:52:10 +00:00
Max Horn
86565fcca5 - Renamed GameSettings to PlainGameDescriptor
- Added new GameDescriptor struct (similar to PlainGameDescriptor but with
  Common::String members instead of const char * ones)
- Changed DetectedGame to subclass GameDescriptor
- Removed toGameSettings() in favor of new (template) constructors in
  DetectedGame and GameDescriptor
- Fixed a bug in the obsolete gameid handling in the SCUMM & SIMON engines

svn-id: r21150
2006-03-09 02:52:51 +00:00
Gregory Montoir
2570c498fc Added CINE plugin to PluginManager::loadPlugins() section
svn-id: r20814
2006-02-22 23:04:47 +00:00
Max Horn
8ac17430ac - renamed PLUGIN_getSupportedGames to PLUGIN_gameIDList for consistency
- renamed Engine_XXX_gameList to Engine_XXX_gameList for consistency
- added new Engine_XXX_findGameID / PLUGIN_findGameID function
- updated plugins code to take advantage of the new plugin API, to support
  obsolete gameids w/o showing them to the user

svn-id: r20752
2006-02-18 11:15:37 +00:00
Max Horn
81798556db - Removed the 'features' field from GameSettings
- Removed GF_DEFAULT_TO_1X_SCALER

svn-id: r20747
2006-02-18 00:12:36 +00:00
Travis Howell
6703dc7fa1 Add patch #1374870 - New Lure of the Temptress module
svn-id: r20536
2006-02-11 12:54:56 +00:00
Max Horn
ee6fa83b1b Change CVS keywords to SVN keywords
svn-id: r20509
2006-02-11 09:53:21 +00:00
Max Horn
0b39c0ea9f Fix various incorrect usages of the word 'target' instead of 'gameid'; change the ambigiuous 'GameSettings::name' to 'GameSettings::gameid'
svn-id: r20115
2006-01-21 13:01:20 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Max Horn
9a09283a76 Fix compile error in plugin mode
svn-id: r19682
2005-11-21 09:52:22 +00:00
Max Horn
8262b6dc2a Tried to unify plugin code for PalmOS and non-PalmOS (hopefully I didn't break the PalmOS code this way, please verify)
svn-id: r19670
2005-11-19 17:57:24 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Chris Apers
ca65477b65 PalmOS stuffs
svn-id: r18977
2005-10-08 22:00:58 +00:00
Chris Apers
368785074c Prepare PalmOS ARM version : no global initializers with ARM loader o_O
svn-id: r18773
2005-09-04 16:38:38 +00:00