aboutsummaryrefslogtreecommitdiff
path: root/base/gameDetector.h
AgeCommit message (Collapse)Author
2006-05-04Renamed base/gameDetector.h/.cpp to base/options.h/.cppMax Horn
svn-id: r22347
2006-05-04Moved GameDetector::setTarget & findGame to the new namespace Base; moved ↵Max Horn
their declaration to base/game.h, their implementation to base/main.cpp (both until we can come up with a better location). Also moved detectMain into main.cpp, where it now is a local static function svn-id: r22346
2006-05-04Make sure our config default values get properly registeredMax Horn
svn-id: r22345
2006-05-04Turned the last remaining few GameDetector methods into static methodsMax Horn
svn-id: r22344
2006-04-15Moved (Plain)GameDescriptor from base/gameDetector.h to the new base/game.h ↵Max Horn
header file svn-id: r21917
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-15Removed GameDetector::_gameid in favor of using a config manager entryMax Horn
svn-id: r21915
2006-04-15Removed GameDetector::createMixer(), GameDetector::createEngine(), ↵Max Horn
GameDetector::_plugin svn-id: r21913
2006-04-15- Get rid of GameDetector::_dumpScripts and GameDetector::_force1xOverlay in ↵Max Horn
favor of settings in the transient config domain - This also means you can now set those options in the config file - Fixed a bug I recently introduced that made bool command line options (like -u, -f) always return 'false' when used in their single letter form svn-id: r21909
2006-04-02Treat 'targes' like the other command line 'commands'Max Horn
svn-id: r21570
2006-04-02Move handling of --list-targets and --list-games to a later point (after ↵Max Horn
plugin & config file loading), to make them work properly again. svn-id: r21569
2006-04-02Split GameDetector::parseCommandLine into a static parseCommandLine method ↵Max Horn
which returns a StringMap with all settings, and a non-static parseCommandLine method which interprets the StringMap returned by parseCommandLine. svn-id: r21563
2006-03-09- Renamed GameSettings to PlainGameDescriptorMax Horn
- 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-02-18- Merged GameDetector::detectGame() into GameDetector::detectMain()Max Horn
- Replaced GameSettings GameDetector::_game by a simple gameid string svn-id: r20753
2006-02-18- Removed the 'features' field from GameSettingsMax Horn
- Removed GF_DEFAULT_TO_1X_SCALER svn-id: r20747
2006-02-17Added global toGameSettings() template function for convenience; simplified ↵Max Horn
GameSettings usage in some engines svn-id: r20739
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20509
2006-01-21Fix various incorrect usages of the word 'target' instead of 'gameid'; ↵Max Horn
change the ambigiuous 'GameSettings::name' to 'GameSettings::gameid' svn-id: r20115
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-05-10Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' ↵Max Horn
because we already have many classes with that name) svn-id: r18039
2005-03-10Add --force-1x-overlay command line option as discussed in bugreportEugene Sandulenko
#1160454 "ALL: Failed assertion when using 1x scaler" svn-id: r17067
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-27Reducing header dependencies a bitMax Horn
svn-id: r16347
2004-12-27Fix for bug #1091748 (DIG: Starting new games takes a long time); turns out ↵Max Horn
querying the debuglevel from the config-manager very often is too slow svn-id: r16345
2004-12-02Moved MidiDriver creation code into the MidiDriver class (as static ↵Max Horn
methods), same for some other MIDI related stuff svn-id: r15968
2004-02-24the OSystem changes we discussed on the ML (note: renaming of the existing ↵Max Horn
OSystem API is not yet finished); porters will have to fix their ports to get them to compile again svn-id: r13036
2004-02-22avoid #include scaler.hMax Horn
svn-id: r12997
2004-01-18don't use bit 31Max Horn
svn-id: r12501
2004-01-16Hack for Launcher Scaler dropdown. Backends using the Launcher will need to ↵James Brown
implement the OSystem HAS_SCALER property. The global options dialog still needs doing. svn-id: r12436
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-12-21Make it possible for game detection functions to detect language/platform ↵Max Horn
(not yet done by any detector, but will come with the MD5 detection code) svn-id: r11811
2003-12-13removed GameSettings::detectname and GameSettings::midi; renamed ↵Max Horn
GameSettings::gameName to name; added temporary experimental MD5 hack svn-id: r11603
2003-11-10cut down on unnecessary GameDetector referencesMax Horn
svn-id: r11239
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11218
2003-11-02turned NewGui into a singleton, and made OSystem a pseudo-singleton; added ↵Max Horn
Widget::findWidget (preparing to add support for nested widgets, for the tab widget) svn-id: r11045
2003-10-28cleanup: removed version/id from GameSettingsMax Horn
svn-id: r10995
2003-10-18We proudly present the latest installment of our hit series 'Untangle the ↵Max Horn
mess': 'Help! Space Invaders refactored the music detector'... in other news, I obviously need to sleep now svn-id: r10883
2003-10-17cleanupMax Horn
svn-id: r10874
2003-10-17added a listTargets() function (not yet used, soon) and some cleanupMax Horn
svn-id: r10865
2003-10-17oops, forgot to remove the old Platform enumMax Horn
svn-id: r10863
2003-10-17moved platform/language constants to common/util.*Max Horn
svn-id: r10862
2003-10-17factored out the game detection code into the Plugin class; this is the ↵Max Horn
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-15removed the kDefault*Volume constantsMax Horn
svn-id: r10816
2003-10-14fix debug mode 0Max Horn
svn-id: r10791
2003-10-12some renaming for more consistent terminology (although we might want to ↵Max Horn
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-08new config manager. not everything is completed, and some things will still ↵Max Horn
be changed, but it seems to work well enough to put it into CVS svn-id: r10687
2003-10-05Preliminary preparation for new YM2612 FM emulator.Jamieson Christian
All the hooks are in, but actual implementation needs to be checked for portability. svn-id: r10615
2003-10-02cleanup & restructuring; in particular move the midi driver list to its own ↵Max Horn
source file svn-id: r10550