aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/game.cpp
AgeCommit message (Collapse)Author
2007-04-27Renamed some game.cpp files to detection.cppMax Horn
svn-id: r26623
2007-02-13Changed detectBestMatchingGame to return a pointer to a ADGameDescription ↵Max Horn
(or a subclass of it); added a (currently fake) fallback callback entry in ADParams svn-id: r25574
2007-02-13AdvancedDetector changes:Max Horn
* Renamed genGameList to gameIDList to make it match the corresponding plugin API function name * removed the detectFunc param from detectGameForEngineCreation, as it *always* pointed to a straight wrapper around AdvancedDetector::detectAllGames * as a consequence, removed the various GAME_detectGames functions from the engines, and removed the detectFunc param from ADVANCED_DETECTOR_DEFINE_PLUGIN svn-id: r25547
2007-02-13Renamed kADFlagComplexID to kADFlagAugmentPreferredTarget, document it, and ↵Max Horn
add it for AGOS, too svn-id: r25543
2007-02-04AdvancedDetector now has built-in fallback detection based on file lists.Eugene Sandulenko
Currently only gob engine benefits from it. svn-id: r25374
2007-01-29Now AdvancedDetector could use single ID per engine. Also it can suggestEugene Sandulenko
more complex game IDs with platform and language specified. AGI engine benefits most from that. Also turned Cine, Parallaction and SAGA to single ID, autoupgrading old ID. svn-id: r25269
2007-01-28Add more paramteres to AdvancedDetector. Not used yet.Eugene Sandulenko
svn-id: r25241
2007-01-25Lots of cleanup in the AdvancedDetectorMax Horn
svn-id: r25194
2007-01-25Reduce #include dependenciesEugene Sandulenko
svn-id: r25178
2007-01-24Sync with last AdvancedDetector changesEugene Sandulenko
svn-id: r25167
2007-01-21Reduce dependency from common/advancedDetector.hEugene Sandulenko
svn-id: r25156
2007-01-20First phase of detection-related plugins interface improvements. Now pluginsEugene Sandulenko
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
2006-12-29Make ADGameFileDescription is built in directly into ADGameDescription.Eugene Sandulenko
svn-id: r24947
2006-12-19Renamed real_ADVANCED_DETECTOR_DETECT_GAMES_FUNCTION to ↵Max Horn
ADVANCED_DETECTOR_DETECT_GAMES_FUNCTION, and real_ADVANCED_DETECTOR_DETECT_INIT_GAME to ADVANCED_DETECTOR_DETECT_INIT_GAME svn-id: r24896
2006-12-19Merged SagaEngine::postInitGame() into SagaEngine::initGame()Max Horn
svn-id: r24887
2006-12-19Got rid of ARRAYSIZE in advanceDetector callsEugene Sandulenko
svn-id: r24881
2006-11-12Reworked code in the advanced game detector (getting rid of much of the evil ↵Max Horn
#define hell it consisted of previously) svn-id: r24685
2006-11-10Next step in AdvancedDetector unification. Moved all common functions toEugene Sandulenko
macroses. Now typical usage is just list of macros with parameters and array of game details. svn-id: r24670
2006-11-03got rid of two memory leaksGregory Montoir
svn-id: r24589
2006-10-24const correctnessMax Horn
svn-id: r24488
2006-10-14Remove unneeded #includes.Eugene Sandulenko
svn-id: r24311
2006-10-02Moved unrelated fields out of ADGameDescription structure.Eugene Sandulenko
svn-id: r24090
2006-10-02Unify SAGA/AGOS detection code so other engines could also reuse itEugene Sandulenko
without further code duplication. svn-id: r24083
2006-08-26Fix bug #1544801 - ITE: Engine creates launcher entry when failing to launchTravis Howell
svn-id: r23751
2006-07-31* Added copyright string to all engine pluginsMax Horn
* 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-30Added explicit string equals/hash functors to a new header ↵Max Horn
common/hash-str.h; removed Hash functor specialization for String and char pointers; changed all code using hashmaps with string keys to explicitly specify whether they honor or ignore case svn-id: r23634
2006-07-22- let md5_file accept a FilesystemNode too Johannes Schickel
- changes some engine detectors to use it svn-id: r23559
2006-07-22Using FilesystemNode::name instead of FilesystemNode::displayName in all ↵Johannes Schickel
game detectors. svn-id: r23558
2006-07-14More whitespace changes.Torbjörn Andersson
svn-id: r23496
2006-06-24Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cppMax Horn
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-05-13extract GameDescriptions to separate files (this will help compress_saga ↵Andrew Kurushin
tool to detect sound resource) svn-id: r22433
2006-04-29* Changed the createEngine() factory function of our plugins to return an ↵Max Horn
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-16Reduced dependencies on base/plugins.hMax Horn
svn-id: r21940
2006-04-16Removed the directory parameter from md5_fileMax Horn
svn-id: r21937
2006-04-15- Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a ↵Max Horn
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-14Changed File::open to take a Common::String as file name parameterMax Horn
svn-id: r21867
2006-04-08Introduced language EN_ANY used for general English game entries. EN_USA andEugene Sandulenko
EN_GRB should be used for games which have both variants. Currently it is MM NES and BASS. All other are switched to EN_ANY. svn-id: r21702
2006-04-08Modified the REGISTER_PLUGIN macro so that it allows (and requires) a ↵Max Horn
trailing semicolon (this helps certain tools to parse our code better) svn-id: r21689
2006-04-08Removed common/map.h with the Common::Map template class (it was a very bad ↵Max Horn
implementation, and our HashMap is simply better). svn-id: r21688
2006-04-04Fix md5 for German IHNMEugene Sandulenko
svn-id: r21606
2006-03-28Renamed various container isEmpty() methods to empty() to match STL conventionsMax Horn
svn-id: r21472
2006-03-28Removing bogus leftoversMax Horn
svn-id: r21471
2006-03-27improve game detection:Andrew Kurushin
- start process speedup (remove already scanned files) - merge md5 & game files list svn-id: r21468
2006-03-14Compute the full game title when detecting games & creating engine ↵Max Horn
instances, and also use that for savegames (all for debugging) svn-id: r21285
2006-03-09Moved SAGA plugin interface code from saga.cpp to game.cppMax Horn
svn-id: r21181
2006-03-09Modified SAGA engine to use DetectedGame::updateDesc (note: there is a new ↵Max Horn
TODO in the saveload code now) svn-id: r21171
2006-03-09- added new toDetectedGame() template function (analog to toGameSettings)Max Horn
- made use of the new DetectedGame constructor from my last commit - some related cleanup svn-id: r21149
2006-02-18- Removed the 'features' field from GameSettingsMax Horn
- Removed GF_DEFAULT_TO_1X_SCALER svn-id: r20747
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582