aboutsummaryrefslogtreecommitdiff
path: root/base/gameDetector.cpp
AgeCommit message (Collapse)Author
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-04Set speech_mute/sfx_mute/music_mute values in one single central placeMax Horn
svn-id: r22342
2006-04-25Added hidden --test-detector command line option to make it easy to test the ↵Max Horn
detector on your config file (to be removed before the next release) svn-id: r22158
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-15Set *plugin to 0, not plugin, which has the advantage that games launch ↵Max Horn
again... stupid me svn-id: r21914
2006-04-15Removed GameDetector::createMixer(), GameDetector::createEngine(), ↵Max Horn
GameDetector::_plugin svn-id: r21913
2006-04-15Always use base 0 in strtol when parsing integer command line options / ↵Max Horn
config file entries (this makes it possible to optionally use hex values) svn-id: r21911
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-15- Replaced ConfigManager::_globalDomains by _appDomain (we don't support ↵Max Horn
multiple global domains anymore) - Restructured parts of the ConfigManager to be more consistent and a bit easier to understand - Introduced ConfigManager::getDomain, potentially useful for code that needs to edit a specific domain (like the option dialogs) - Allow passing an empty string to ConfigManager::setActiveDomain(), to reset the active domain - Discard all transient config options (i.e. mostly command line settings) when entering the launcher, and after an engine exits - Introduced various hidden easter bugs. Happy easter, and have fun searching! svn-id: r21906
2006-04-14cleanupMax Horn
svn-id: r21888
2006-04-13GP32 uses ARM processor. So some of PalmOS specific changes also apply to GP32.Won Star
svn-id: r21834
2006-04-11Fixed crash with PalmOS ARM version : global objects are allocated but ↵Chris Apers
constructors are not called - anyway this var is useless with PalmOS version svn-id: r21805
2006-04-04Don't use HAVE_CONFIG_H / config.h directly, use scummsys.h insteadMax Horn
svn-id: r21605
2006-04-02cleanupMax Horn
svn-id: r21572
2006-04-02Set gDebugLevel in a single unified spot, instead of two different placesMax Horn
svn-id: r21571
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-02Compute the value GameDetector::_gameid *immediately* after _targetName has ↵Max Horn
been set (this ensures that both are always in sync) svn-id: r21566
2006-04-02Fixed '-f BAR' command line argument style (as opposed to '-fBAR' and ↵Max Horn
'-foo=BAR') svn-id: r21565
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-04-02Added missing backslash, oopsMax Horn
svn-id: r21561
2006-04-02- The command line parser now doesn't work in reverse order anymore.Max Horn
- Changed the usage string to a very short message; the old usage string now is only printed upon help (this matches the behavior of many other tools out there). - Continued to modify GameDetector::parseCommandLine in such a way that it soon will be possible to use it w/o immediately storing stuff into ConfMan. - Slightly reduced code duplication for bool option parsing. svn-id: r21560
2006-04-01Properly use registerDefault to set the default value for autosave_periodMax Horn
svn-id: r21537
2006-03-28Renamed various container isEmpty() methods to empty() to match STL conventionsMax Horn
svn-id: r21472
2006-03-26Implement feature request #1393200: "target_md5 even for command line"Eugene Sandulenko
svn-id: r21457
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-18Grammar fixMax Horn
svn-id: r20751
2006-02-18- Removed the 'features' field from GameSettingsMax Horn
- Removed GF_DEFAULT_TO_1X_SCALER svn-id: r20747
2006-02-16Add 3DO platform for HE gamesTravis Howell
svn-id: r20714
2006-02-14Made the kyra debug extensions more generic, i.e. scumm engine could replaceJohannes Schickel
their debugC calls now with the new introduced debugC calls. (A mail how to use it will follow shortly on -devel) Also now these special engine debug flags can be specified from the commandline. Also made the -c & --config parameter check more secure. svn-id: r20695
2006-02-12Another spot of non-standard "#else if" replaced by "#elif"Eugene Sandulenko
svn-id: r20608
2006-02-12Fix compileTravis Howell
svn-id: r20587
2006-02-12'Changed Symbian configuration handling so it is using the basepath of the ↵Lars Persson
application installation as a path for Savegames, ini files etc *Updated list.h so it also compiles for Symbian codewarrior and gcce compilers svn-id: r20586
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20509
2006-01-31Add undocumented option --gui-theme for easier theme debugging.Eugene Sandulenko
svn-id: r20332
2006-01-21Add new platforms.Travis Howell
Sync. more changes. svn-id: r20126
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
2006-01-17Commit patch #1171517 by salty-horse (save speech and sfx preferences BASS ↵Joost Peters
engine in config file) svn-id: r20063
2006-01-14Lowered FluidSynth's default gain, and added config file and command-lineTorbjörn Andersson
options to specify it. FluidSynth's gain ranges from 0.0 through 10.0 and is probably measured in decibel, but to keep things simple, ScummVM uses settings from 0 through 1000 instead. (Though currently there's no guard against invalid settings.) This is a slightly revised version of the non-GUI part of patch #1336171. svn-id: r20030
2006-01-02TypoMax Horn
svn-id: r19889
2005-10-31Fix another HOME buffer overflow attack vectorMax Horn
svn-id: r19376
2005-10-18talkspeed and copy-protection aren't SCUMM-specific anymore SAGA uses themEugene Sandulenko
too. svn-id: r19154
2005-10-18Add possibility to disable SDL parachute on run-time. OptionEugene Sandulenko
--disable-sdl-parachute should be completely undocumented and not mentioned to end-users. Wrong usage may lead to system lock-up especially when used with fullscreen mode. SDL Parachute is used to prevent system instability and do a graceful exit if something bad happens. It catches most of signals sent to thr process. Side effect of that that quite often when SDL application dies, core dump isn't made on *nix systems. This feature adds possibility to disable it. svn-id: r19146
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-09-03Change PalmOS identChris Apers
svn-id: r18743
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604