Commit graph

119 commits

Author SHA1 Message Date
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