Filippos Karapetis
8dea07eeac
Added the m4 and made plugins
...
svn-id: r31602
2008-04-20 14:55:41 +00:00
Jordi Vilalta Prat
e3852c92a7
Remove undesired spaces and an old TODO
...
svn-id: r30827
2008-02-08 01:45:46 +00:00
Jordi Vilalta Prat
00987db3a9
Implemented plugin versioning
...
svn-id: r30826
2008-02-08 01:02:25 +00:00
Jordi Vilalta Prat
c103290e2b
Initial support for plugin types
...
svn-id: r30825
2008-02-08 00:02:23 +00:00
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
Travis Howell
94fcb89549
Fix compile error.
...
svn-id: r18715
2005-08-28 12:19:36 +00:00
Max Horn
ed2a18569a
Detect when plugins directory is missing
...
svn-id: r18703
2005-08-19 17:27:47 +00:00
Marcus Comstedt
8bd14c7337
Fixed new plugin search code to work with Dreamcast:
...
* Code does case-sensitive comparison with PLUGIN_SUFFIX, so put it in
uppercase (as filenames in ISO9660 are required to be uppercase).
* There is an assert somewhere which prevents the use of "" as a
directory. Use "/" instead...
svn-id: r18683
2005-08-14 13:44:20 +00:00
Eugene Sandulenko
6b4484472b
Remove trailing whitespaces.
...
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
8b1d7b9166
When including files from common/, explicitly use the common/ prefix
...
svn-id: r18444
2005-06-24 15:23:51 +00:00
Paweł Kołodziejski
bc65eb8ea5
added code for loading dynamic plugins(DLLs) for windows
...
svn-id: r18356
2005-06-05 12:55:33 +00:00
Eugene Sandulenko
1758c5b211
Initial checking of Gob engine
...
svn-id: r17388
2005-04-05 15:07:40 +00:00
Travis Howell
26f4124873
Typo
...
svn-id: r17269
2005-03-28 09:43:09 +00:00
Eugene Sandulenko
b2288005da
Enable kyra engine in static builds. Maybe someone will work on it :)
...
svn-id: r17234
2005-03-25 22:37:34 +00:00
Max Horn
9a4bc8ce16
Patch #1117443 (Experimental plugin code revision)
...
svn-id: r17231
2005-03-25 17:55:57 +00:00
Max Horn
8525d73e9b
Configure the plugin prefix/suffix in the configure script; use that setting in plugins.cpp
...
svn-id: r16739
2005-02-06 17:21:31 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
b15d92e470
Fix running ScummVM in plugin-mode
...
svn-id: r16360
2004-12-28 20:29:42 +00:00
Marcus Comstedt
f6af7cdcc7
Provide unloading of unneeded plugins.
...
svn-id: r14829
2004-08-29 19:08:08 +00:00
Marcus Comstedt
ba39d7a3db
Support dynamic plugins on Dreamcast.
...
svn-id: r14688
2004-08-22 21:41:22 +00:00
Paweł Kołodziejski
f74a675850
removed awe based on Endy statement
...
svn-id: r13809
2004-05-09 13:12:19 +00:00
Paweł Kołodziejski
e29ec6e79c
adding initial code for Another World engine
...
svn-id: r13783
2004-05-05 07:25:32 +00:00
James Brown
3978b728db
Add Kyrandia base
...
svn-id: r13516
2004-04-09 12:36:06 +00:00
Max Horn
66de19015b
With latest dlcompat on OSX, no need anymore to manually prepend an underscore before symbol names
...
svn-id: r13367
2004-03-23 00:16:36 +00:00
Max Horn
c61622ebaf
fix dynamic version of LOAD_MODULE macro; fixed typo
...
svn-id: r13366
2004-03-23 00:12:49 +00:00
Eugene Sandulenko
2fe422ad0c
Initial SAGA checkin. Disabled by default, enable with --enable-saga
...
but don't expect it to work.
svn-id: r13280
2004-03-14 23:37:11 +00:00
Max Horn
f59eb3b219
renamed (Const)Iterator to (const_)iterator; changed size() to return an uint
...
svn-id: r12722
2004-02-05 00:19:57 +00:00
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
f19f73eb50
Make it possible for game detection functions to detect language/platform (not yet done by any detector, but will come with the MD5 detection code)
...
svn-id: r11811
2003-12-21 15:29:52 +00:00
Robert Göffringmann
189e08bc79
Broken Sword 1: initial import
...
svn-id: r11664
2003-12-16 02:10:15 +00:00
Max Horn
35b62c294d
removed GameSettings::detectname and GameSettings::midi; renamed GameSettings::gameName to name; added temporary experimental MD5 hack
...
svn-id: r11603
2003-12-13 00:20:01 +00:00
Paweł Kołodziejski
bd972c97e5
cleanup whitespaces
...
svn-id: r11218
2003-11-08 22:05:58 +00:00
Jonathan Gray
239aea0ff0
spelling fixes
...
svn-id: r11178
2003-11-07 02:31:44 +00:00
Marcus Comstedt
ef5e193d59
stdafx.h needs to be included first.
...
svn-id: r11117
2003-11-03 22:28:37 +00:00
Max Horn
53db0a8a07
cleanup: removed version/id from GameSettings
...
svn-id: r10995
2003-10-28 17:07:25 +00:00
Oliver Kiehl
c86803c0c7
fix compile
...
svn-id: r10979
2003-10-26 15:58:49 +00:00
Max Horn
1d1f52f8e9
cleanup
...
svn-id: r10975
2003-10-26 12:44:20 +00:00
Oliver Kiehl
58dffdb027
fix compile when using dynamic plugin support
...
svn-id: r10920
2003-10-20 22:02:10 +00:00
Max Horn
0694eed273
moved game detection code out to the plugins
...
svn-id: r10882
2003-10-17 23:16:53 +00:00
Max Horn
116dbee1fc
factored out the game detection code into the Plugin class; this is the first step towards allowing more powerful, plugin specific detection code; also, moved the Plugin GameSettings APIs to a slightly higher level
...
svn-id: r10858
2003-10-17 12:18:58 +00:00
Max Horn
1e56fb8191
cleanup
...
svn-id: r10839
2003-10-16 23:16:16 +00:00
Max Horn
36fd7ec445
some renaming for more consistent terminology (although we might want to reevaluate this): 'target' is what is in your config file; 'game' is what a frontend provide. E.g. the scumm frontend provides the game 'monkeyvga', and my config file has target 'monkeyvga-ger' configured to use that game
...
svn-id: r10766
2003-10-12 18:40:12 +00:00
Max Horn
6e09d35090
turned PluginManager into a proper singleton
...
svn-id: r10688
2003-10-08 22:10:59 +00:00
Max Horn
bb6765f85d
cleanup & restructuring; in particular move the midi driver list to its own source file
...
svn-id: r10550
2003-10-02 22:52:57 +00:00
Max Horn
0e645f88ae
renamed namespace ScummVM to Common
...
svn-id: r10544
2003-10-02 17:43:02 +00:00
Joost Peters
82fd316187
queen initial import
...
svn-id: r10462
2003-09-28 15:50:47 +00:00
Max Horn
bfbc6ed39a
prepend underscore before passing symbols to dlsym, at least on OS X
...
svn-id: r10328
2003-09-20 01:08:08 +00:00
Max Horn
3afbb22ad7
fix invalid target crash for build using loadable modules
...
svn-id: r10325
2003-09-20 00:37:09 +00:00
Oliver Kiehl
8fc9d92e32
cleanup
...
svn-id: r10320
2003-09-19 21:36:27 +00:00
Max Horn
6a4663824e
added initial support for building our 4 adventure engines as loadable modules; right now only work on OS X; once we add more build rules, other systems with dlopen() should work, too (e.g. Linux); Windows support may come later. This is still very much WIP
...
svn-id: r10304
2003-09-18 18:23:53 +00:00
Max Horn
be9d4066e1
moved engine.* to base; this fixes some linking issues when building a barebone ScummVM (or maybe I just want to increase our CVS stats? <g>)
...
svn-id: r10287
2003-09-18 02:07:18 +00:00
Max Horn
3c55fd316f
cleanup
...
svn-id: r10284
2003-09-17 23:05:07 +00:00
Max Horn
c1a678afeb
new module 'base'; moved gameDetector.*, main.cpp and base/plugins.* there (this removes the need for an ugly hack in the build system, and is also conceptionally cleaner)
...
svn-id: r10282
2003-09-17 22:41:01 +00:00