aboutsummaryrefslogtreecommitdiff
path: root/base/commandLine.cpp
AgeCommit message (Collapse)Author
2011-05-23COMMON: Modify Base::processSettings, get rid of Common::kArgumentNotProcessedMax Horn
Instead of defining a hacked up Common::Error code, split the return value of processSettings into two parts: An error code, and a value which indicates whether the specified command was completely handled by processSettings or not.
2011-05-23BACKENDS: Move SCUMMVM_SAVEPATH env var handling to POSIX savefile managerMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-02ALL: Mark printf and various other symbols as forbiddenMax Horn
Right now, a few places in the frontend code still use printf and consorts. We mark the affected files with a FIXME for now, and add a dedicated exception for each. To be fixed! Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always enforce a compiler error
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-25BASE: Remove unused variable in DO_OPTION_INT.Johannes Schickel
2011-04-18COMMON: Cleanup names/handling of some error codesMax Horn
2011-03-01AUDIO: Set default values for the MT-32 and GM device settingsmd5
This fixes the case where an MT-32 music type is erroneously returned with the default GUI audio settings if an engine specifies MDT_PREFER_MT32. Many thanks to wjp and fuzzie for their help and work on this
2010-11-28MAIN: Fix --gfx-mode regressionTorbjörn Andersson
We cannot check for supported graphics mode until after the backend has been initialised, or there won't be a graphics manager to ask. svn-id: r54534
2010-11-05COMMON/GUI/SCI: Changes to the EGA dithering checkboxFilippos Karapetis
- Changed the new dithering checkbox to be more generic (i.e. relevant for all engines that may support such a feature in the future) - Changed the checkbox to be unchecked by default. As discussed on -devel, game enhancements in ScummVM should be off by default, and opt-in - Changed the option from "sci_undither" to "disable_dithering" - Changed theme version style to X.Y.Z and bumped it to 0.8.2 svn-id: r54090
2010-11-04SCI: Set undither to on by default again, like it was. Filippos Karapetis
From our current stance, this is a game enhancement, and should be on by default, like the rest of the game enhancements (AGI mouse, save/load replacement etc) svn-id: r54070
2010-11-04SCI/SCUMMVM: Added an option to enable the dithering removal algorithm (so ↵Filippos Karapetis
called "undithering") in the graphics options tab. The algorithm is now disabled by default, after popular demand. In retrospect, we really shouldn't have made it default, in order to preserve the authenticity of the graphics in early SCI EGA games, and allow the user to opt in and enable the option if needed. Unfortunately, the lack of an easy way to modify the option made it hard to do so. svn-id: r54066
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-10-24SDL/WIN32: Disable currently unused config entries, added with r53767.Johannes Schickel
This code should be enabled, when we decide to enable m_kiewitz' code to disable the console window. Also we should add the command to the --help output etc. svn-id: r53769
2010-10-24SDL/w32: add ability to hide consoleMartin Kiewitz
feature is currently commented out - waiting till discussion has ended svn-id: r53767
2010-10-12COMMON: Let --list-targets output all targets in an alphabetical list again.Johannes Schickel
svn-id: r53183
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-07-17Remove PalmOS portMax Horn
svn-id: r50964
2010-07-05Replace a tab by whitespaces in the help string.Johannes Schickel
svn-id: r50704
2010-06-22LAUNCHER: hopefully fixed music driver selection via command lineFlorian Kagerer
svn-id: r50158
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-06Add Android backend from patch #2603856Max Horn
svn-id: r49449
2010-05-21Implement FR #2988017: exit status with --list-saves always 0Eugene Sandulenko
svn-id: r49132
2010-05-03Tweak messages when listing save states.Max Horn
Targets don't list savestates, plugins do; and since the user specified a target, we should always list that first, and give the gameid only as additional information. svn-id: r48925
2010-05-03Show the user a nice message, when the target passed to --list-saves does ↵Johannes Schickel
not allow listing of its save states. This is a first step into implementing FR #2988017 "exit status with --list-saves always 0". svn-id: r48923
2010-03-29COMMON: Cleanup ConfigManager codeMax Horn
* get rid of ConfigManager::_emptyString * get rid of ConfigManager::Domain::get (use getVal instead) * remove some dead code svn-id: r48417
2010-01-09Register default setting for 'mute' optionWillem Jan Palenstijn
svn-id: r47205
2009-09-26added option to allow control digital imuse tempo callback. it's related to ↵Paweł Kołodziejski
volume fading, lip sync quality and platform resource costs. svn-id: r44374
2009-08-10Option "desired_screen_aspect_ratio" for fullscreen mode in the SDL backendBertrand Augereau
Shortcoming: the picture is not centered svn-id: r43214
2009-06-07cleanupMax Horn
svn-id: r41341
2009-06-07Added an experimental '--upgrade-targets' option (to be refined; and ↵Max Horn
possibly hooked to the GUI eventually). This updates the guioptions,platform and lang for all your targets (and with a source change, also the descriptions) svn-id: r41332
2009-05-13Fix spelling of AdLib (it's AdLib not Adlib).Johannes Schickel
svn-id: r40533
2009-05-13Add option --opl-driver to command line.Eugene Sandulenko
svn-id: r40531
2009-04-21- Typo fixesJohannes Schickel
- Command line parameter updates (Thanks to salty-horse for the patch) svn-id: r40056
2009-03-26MidiDriver cleanup: findMusicDriver now returns a pointer (makes it possible ↵Max Horn
to distinguish 'no match found' from other results); updated parseMusicDriver accordingly; some methods now return MidiDriverType instead of int svn-id: r39702
2009-03-21argv should not be modified; make it plenty const.Marcus Comstedt
svn-id: r39591
2009-01-02- Moved theme listing code from GuiManager to ThemeEngineJohannes Schickel
- Only show builtin theme in theme list if GUI_ENABLE_BUILTIN_THEME is defined - Introduced _themeFile to ThemeEngine again and changed _themeId to store the basename of the theme svn-id: r35684
2009-01-02- Changed description for --list-themes to be consistent with descriptions ↵Johannes Schickel
of other --list commands - Updated description for --platform option svn-id: r35682
2009-01-02- Fixed --gui-theme command line descriptionJohannes Schickel
- Added --list-themes command line command to list available GUI themes svn-id: r35681
2008-11-14The demo mode flag should also be compiled if Groovie is compiled inMatthew Hoops
svn-id: r35064
2008-11-13Added DISABLE_COMMAND_LINE switchMax Horn
svn-id: r35045
2008-10-21Fix for bug #1960518 "ALL: --list-saves ignores custom paths".Johannes Schickel
svn-id: r34832
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-03Moved FilesystemNode / FSList to namespace Common; also got rid of some ↵Max Horn
'typedef Common::String String;' name aliases svn-id: r34302
2008-08-16Added documentation to the README, also added --list-saves to the ↵Christopher Page
HELP_STRING in commandline.cpp svn-id: r33922
2008-08-05Committed my patch #2026097 ("ALSA: Try both 65:0 and 17:0 by default"), with aTorbjörn Andersson
slight modification to the README changes. (I don't know how to interpret all the output from aconnect, so I'm only documenting "the most important bit".) svn-id: r33648
2008-08-04Moved ConfMan.registerDefault calls for savepath to DefaultSaveFileManager ↵Max Horn
(eventually, should be pushed into backends/platform/ code) svn-id: r33614
2008-07-29Changed output of --test-detector: multiple hits with same gameid now only ↵Max Horn
are a warning, not a failure svn-id: r33387
2008-07-27Fixed the Symbian default savepath, but adding the needed \ at the end and ↵Lars Persson
now as a string. svn-id: r33347
2008-07-27Fixed the Symbian default savepath, but adding the needed \ at the end.Lars Persson
svn-id: r33345