aboutsummaryrefslogtreecommitdiff
path: root/base
AgeCommit message (Collapse)Author
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
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-02Use the new command line parsing code to handle --config and --debugflags, tooMax Horn
svn-id: r21564
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-02Backends now are also responsile for deiniting properly. In particular, ↵Max Horn
moved the call to quit() from scummvm_main to the various backend main routines (porters may want to replace it by something different) svn-id: r21559
2006-04-02With this change, backends are now responsible for instantiating their ↵Max Horn
OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently) svn-id: r21557
2006-04-02Only include gui/launcher.h if it is used; cleanupMax Horn
svn-id: r21552
2006-04-02Move gDebugLevel to common/util.cpp (where most other debug() related stuff ↵Max Horn
already is) svn-id: r21551
2006-04-02Moved AmigaOS 'magic cookie' to sdl.cpp, as it is port specific (porter says ↵Max Horn
he might remove it completly in a future version) svn-id: r21550
2006-04-02Removed built-in endian/alignment verifier (it's original purpose is mostly ↵Max Horn
gone now that we have a configure script detecting endianess and more) svn-id: r21549
2006-04-02Moved the Win/Symbian specific stdout/stderr redirect code from ↵Max Horn
base/main.cpp to sdl.cpp, where it belongs (considering that it is backend specific code) svn-id: r21547
2006-04-02Moved all debug functions to from main.cpp to util.cppMax Horn
svn-id: r21545
2006-04-02Removing undocumented Allegro/Qtopia port stuff -- if anybody is working on ↵Max Horn
either port, feel free to re-add it, but this time, document it and make sure it's clear how to build that port svn-id: r21543
2006-04-02Fully and officially renamed our main function to scummvm_main, thus makingMax Horn
various backend specific hacks unnecessary. As a consequence, it is now the responsibility of the backend to define main. Hence I adapted the SDL backend accordingly. svn-id: r21542
2006-04-01Update gameDataPath() calls in engine, to fix compileTravis Howell
svn-id: r21541
2006-04-01Properly use registerDefault to set the default value for autosave_periodMax Horn
svn-id: r21537
2006-04-01Moved File::resetDefaultDirectories from Engine destructor to runGame (since ↵Max Horn
that is the main spot where we call addDefaultDirectory) svn-id: r21535
2006-04-01Removed yet another superfluous addDefaultDirectory call, and removed the ↵Max Horn
unused Engine::getGameDataPath method (just use _gameDataPath directly if you need this) svn-id: r21534
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-25- Revert my last change with moving addDefaultDirectory() from TheneNew.cppEugene Sandulenko
- Removed locking of further directory adds because it did not work for themes. svn-id: r21452
2006-03-25- Move AddDefaultDirectory() calls in somon engine to constructorEugene Sandulenko
- Move AddDefaultDirectory() from NewTheme.cpp to main.cpp svn-id: r21451
2006-03-25- Implemented case insensitive file reading. Left old system as a fallbackEugene Sandulenko
in case some engine writer decide to do something unwise - Removed used of ConfMan.getKey("path") in file-related cases, because now File class handles that - Fixed bug in ScummEngine_v80he::o80_getFileSize() where path delimiters weren't translated svn-id: r21443