aboutsummaryrefslogtreecommitdiff
path: root/base
AgeCommit message (Collapse)Author
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
2006-03-14Positioned logo properly, added different version number rendering andEugene Sandulenko
got rid of antialiasing artifacts svn-id: r21270
2006-03-09Added new method DetectedGame::updateDesc, to ease generation of uniform ↵Max Horn
description strings svn-id: r21166
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-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-03-08Added alternate DetectedGame constructor, to make it possible to add games ↵Max Horn
to a detection list w/o first creating a temporary GameSettings struct svn-id: r21144
2006-03-04WIP of maemo portEugene Sandulenko
svn-id: r21055
2006-02-25Small loop adjustment to compile for VC6Lars Persson
svn-id: r20869
2006-02-23fixed error for msvc7, it didn't find func without Common namespacePaweł Kołodziejski
svn-id: r20832
2006-02-22Added CINE plugin to PluginManager::loadPlugins() sectionGregory Montoir
svn-id: r20814
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- renamed PLUGIN_getSupportedGames to PLUGIN_gameIDList for consistencyMax Horn
- renamed Engine_XXX_gameList to Engine_XXX_gameList for consistency - added new Engine_XXX_findGameID / PLUGIN_findGameID function - updated plugins code to take advantage of the new plugin API, to support obsolete gameids w/o showing them to the user svn-id: r20752
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-17Added global toGameSettings() template function for convenience; simplified ↵Max Horn
GameSettings usage in some engines svn-id: r20739
2006-02-17Reduced use of GF_DEFAULT_TO_1X_SCALER in favor of a new param to ↵Max Horn
Engine::initCommonGFX; added a TODO stating that it should eventually be removed completly svn-id: r20738
2006-02-16- Fixed a bug that prevented you from overriding the scaler from the commandMax Horn
line for 640x480 games. - Updated NEWS file a bit svn-id: r20736
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-13We're in SVN now, so change version to "0.9.0svn"Eugene Sandulenko
svn-id: r20667
2006-02-12Changed file paths from /epoc/ to /symbian/Lars Persson
svn-id: r20618
2006-02-12Another spot of non-standard "#else if" replaced by "#elif"Eugene Sandulenko
svn-id: r20608
2006-02-12No need to force engines to implement errorString()Max Horn
svn-id: r20589