aboutsummaryrefslogtreecommitdiff
path: root/base
AgeCommit message (Collapse)Author
2006-05-04Removed last traces of class GameDetectorMax Horn
svn-id: r22348
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-05-04Set speech_mute/sfx_mute/music_mute values in one single central placeMax Horn
svn-id: r22342
2006-05-04The loadPlugins() function works a bit better if it doesn't fail when listDir()Torbjörn Andersson
succeeds. ;-) svn-id: r22325
2006-05-03Removed FilesystemNode::isValid (leaving it up to the porters to decide ↵Max Horn
whether to remove their isValid code or not) svn-id: r22317
2006-05-03Fix DYNAMIC_MODULES (update the listDir call used in ↵Max Horn
PluginManager::loadPlugins when using dynamic modules/plugins) svn-id: r22316
2006-05-03Changed FilesystemNode::listDir to return a bool indicating its success (or ↵Max Horn
failure) svn-id: r22315
2006-04-29add small note about svnversionWillem Jan Palenstijn
svn-id: r22220
2006-04-29Updated the common on why we would like to display the SVN rev as part of ↵Max Horn
the ScummVM version string, and why this is non-trivial svn-id: r22217
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-26Proper fix for bug #1476651: Do not use File::exists to check for the ↵Max Horn
presence of a directory described by an absolute path svn-id: r22174
2006-04-26Return correct value from Engine_Empty::init() method.Eugene Sandulenko
svn-id: r22166
2006-04-26Introduce and use Engine_Empty() and Engine::GUIErrorMessage()Eugene Sandulenko
svn-id: r22165
2006-04-25- Check if path specified for a game in scummvm.ini really exists and complainEugene Sandulenko
if it does not - Give more understandable feedback to user when SCUMM module can't find a game - Put TODO to kyra engine as their current detection scheme does not let easily tell if game data really present in specified directory svn-id: r22163
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-23Also output the description when running DETECTOR_TESTING_HACKMax Horn
svn-id: r22106
2006-04-23typoMax Horn
svn-id: r22103
2006-04-23Modified DETECTOR_TESTING_HACK code to skip over invalid pathsMax Horn
svn-id: r22099
2006-04-23Test code for the detection code in all engines (disabled by default)Max Horn
svn-id: r22095
2006-04-21Conflicting domains for String definition. Added Common:: to String to ↵Lars Persson
clarify domain. svn-id: r22072
2006-04-16Fixed broken svn:keywords valuesMax Horn
svn-id: r21939
2006-04-16test commitMax Horn
svn-id: r21938
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-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-15oopsMax Horn
svn-id: r21910
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-15Clear the transient domaing *after* running the launcher, not before, so ↵Max Horn
that the graphics mode gets set correctly svn-id: r21907
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-14Fix for bug #1470104 ("Compiled features" string empty)Max Horn
svn-id: r21878
2006-04-13GP32 uses ARM processor. So some of PalmOS specific changes also apply to GP32.Won Star
svn-id: r21834
2006-04-12Commiting Fingolfins patch to remove gamedetector usage.Lars Persson
svn-id: r21830
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-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-08Moved version vars from base/main.cpp to base/version.cpp; thus now ↵Max Horn
version.o is always rebuilt on every change, not main.o svn-id: r21687
2006-04-05Recursive current directory has a big overhead since it can point toEugene Sandulenko
(a) scummvm source tree for dev (b) desktop with a:\ on Windows svn-id: r21627
2006-04-04Fix crash for a case when game path is set incorrectlyEugene Sandulenko
svn-id: r21614
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-02Process the command line args before passing them to GUI::Actions::init (so ↵Max Horn
that _targetName & _gameid are set) svn-id: r21568