Commit Graph
291 Commits
Author SHA1 Message Date
Max Horn e27b05ef35 COMMON: Rename String::printf() to String::format()
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-11-01 16:02:28 +00:00
Johannes Schickel 2e0b1c6213 SDL/WIN32: Disable currently unused config entries, added with r53767.
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-24 19:07:46 +00:00
Martin Kiewitz c9c9eafbbb SDL/w32: add ability to hide console
feature is currently commented out - waiting till discussion has ended

svn-id: r53767
2010-10-24 18:34:08 +00:00
Johannes Schickel 1842de4b00 COMMON: Let --list-targets output all targets in an alphabetical list again.
svn-id: r53183
2010-10-12 21:54:43 +00:00
Torbjörn Andersson c91a07229a JANITORIAL: Removed most punctuation at end of warning() and error()
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.

svn-id: r52791
2010-09-18 10:55:16 +00:00
Max Horn 0b48a71c99 Remove PalmOS port
svn-id: r50964
2010-07-17 18:41:38 +00:00
Johannes Schickel d4bc0f9f10 Replace a tab by whitespaces in the help string.
svn-id: r50704
2010-07-05 19:45:48 +00:00
Florian Kagerer 78fb62bcdf LAUNCHER: hopefully fixed music driver selection via command line
svn-id: r50158
2010-06-22 18:27:00 +00:00
Max Horn bbad3f333a Patch #1956501: "GUI/LAUNCHER: Midi device selection"
svn-id: r50128
2010-06-21 21:36:36 +00:00
Max Horn 46155b2c36 Add Android backend from patch #2603856
svn-id: r49449
2010-06-06 09:34:36 +00:00
Eugene Sandulenko 1a938956ec Implement FR #2988017: exit status with --list-saves always 0
svn-id: r49132
2010-05-21 18:25:01 +00:00
Max Horn 3c0bd3dd27 Tweak messages when listing save states.
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-03 20:09:32 +00:00
Johannes Schickel 2e188d6bd3 Show the user a nice message, when the target passed to --list-saves does 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-05-03 19:18:55 +00:00
Max Horn 4bac9e1b75 COMMON: Cleanup ConfigManager code
* get rid of ConfigManager::_emptyString
* get rid of ConfigManager::Domain::get (use getVal instead)
* remove some dead code

svn-id: r48417
2010-03-29 20:31:23 +00:00
Pawel Kolodziejski edadbb35be synced code with scummvm trunk 2010-01-21 19:25:03 +00:00
Willem Jan Palenstijn ac66783b5f Register default setting for 'mute' option
svn-id: r47205
2010-01-09 19:32:39 +00:00
Torbjorn Andersson cb763af306 Added default value for the "confirm_exit" setting, since default-events.cpp
wants it.
2009-10-10 05:05:08 +00:00
Pawel Kolodziejski 7aa79c880d synced with scummvm 2009-10-05 08:33:46 +00:00
Pawel Kolodziejski 26f97ed5a3 * initial works on GUI, launcher works, not external themes yet
* cleanup header files
2009-10-04 10:58:28 +00:00
Paweł Kołodziejski e46029e8c6 added option to allow control digital imuse tempo callback. it's related to volume fading, lip sync quality and platform resource costs.
svn-id: r44374
2009-09-26 09:31:05 +00:00
Bertrand Augereau 10b74c336b Option "desired_screen_aspect_ratio" for fullscreen mode in the SDL backend
Shortcoming: the picture is not centered

svn-id: r43214
2009-08-10 18:03:54 +00:00
Max Horn 42555118ba cleanup
svn-id: r41341
2009-06-07 17:05:58 +00:00
Max Horn 985bc454b2 Added an experimental '--upgrade-targets' option (to be refined; and 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-06-07 12:47:10 +00:00
Pawel Kolodziejski f34aeea960 added default game id for config file support: 'gameid' in 'residual' section 2009-05-27 10:03:49 +00:00
Pawel Kolodziejski ce11c0401d cleanup options a bit 2009-05-27 07:08:41 +00:00
Pawel Kolodziejski 49babd8e3d update headers 2009-05-26 14:22:57 +00:00
Pawel Kolodziejski 87ef4dbd66 update 2009-05-26 10:27:51 +00:00
Pawel Kolodziejski 4feb080cf6 display help if gameid is not specified in commandline 2009-05-26 06:53:32 +00:00
Pawel Kolodziejski ab4f838077 cleanup 2009-05-26 05:59:14 +00:00
Pawel Kolodziejski ac7307728b import some code from scummvm to allow implement later multi engine support 2009-05-24 21:31:05 +00:00
Johannes Schickel 297a9c6c5f Fix spelling of AdLib (it's AdLib not Adlib).
svn-id: r40533
2009-05-13 21:02:50 +00:00
Eugene Sandulenko 68ea155b88 Add option --opl-driver to command line.
svn-id: r40531
2009-05-13 20:57:37 +00:00
Johannes Schickel e93de28aa4 - Typo fixes
- Command line parameter updates
(Thanks to salty-horse for the patch)

svn-id: r40056
2009-04-21 19:49:47 +00:00
Max Horn e5e1615280 MidiDriver cleanup: findMusicDriver now returns a pointer (makes it possible to distinguish 'no match found' from other results); updated parseMusicDriver accordingly; some methods now return MidiDriverType instead of int
svn-id: r39702
2009-03-26 13:52:43 +00:00
Marcus Comstedt bce96bd55d argv should not be modified; make it plenty const.
svn-id: r39591
2009-03-21 16:07:46 +00:00
Johannes Schickel 1d2c446395 - Moved theme listing code from GuiManager to ThemeEngine
- 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 21:24:13 +00:00
Johannes Schickel f9fa6e2c4b - Changed description for --list-themes to be consistent with descriptions of other --list commands
- Updated description for --platform option

svn-id: r35682
2009-01-02 20:36:51 +00:00
Johannes Schickel 6fd559b4f6 - Fixed --gui-theme command line description
- Added --list-themes command line command to list available GUI themes

svn-id: r35681
2009-01-02 20:21:21 +00:00
Matthew Hoops a5721dc52d The demo mode flag should also be compiled if Groovie is compiled in
svn-id: r35064
2008-11-14 22:37:32 +00:00
Max Horn 4e51c62e39 Added DISABLE_COMMAND_LINE switch
svn-id: r35045
2008-11-13 12:45:35 +00:00
Johannes Schickel 649c18d565 Fix for bug #1960518 "ALL: --list-saves ignores custom paths".
svn-id: r34832
2008-10-21 16:01:06 +00:00
Max Horn c7fde102e3 Renamed FilesystemNode -> FSNode
svn-id: r34716
2008-10-02 16:58:59 +00:00
Max Horn 531bcf847c Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
svn-id: r34302
2008-09-03 11:22:51 +00:00
Christopher Page 20f0bb7a40 Added documentation to the README, also added --list-saves to the HELP_STRING in commandline.cpp
svn-id: r33922
2008-08-16 02:57:30 +00:00
Torbjörn Andersson 4e66938e8c Committed my patch #2026097 ("ALSA: Try both 65:0 and 17:0 by default"), with a
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-05 21:43:10 +00:00
Max Horn 92d6ee3d76 Moved ConfMan.registerDefault calls for savepath to DefaultSaveFileManager (eventually, should be pushed into backends/platform/ code)
svn-id: r33614
2008-08-04 17:17:37 +00:00
Max Horn e1520c6462 Changed output of --test-detector: multiple hits with same gameid now only are a warning, not a failure
svn-id: r33387
2008-07-29 00:49:44 +00:00
Lars Persson 2f0a40a697 Fixed the Symbian default savepath, but adding the needed \ at the end and now as a string.
svn-id: r33347
2008-07-27 21:37:47 +00:00
Lars Persson e93fb5fe80 Fixed the Symbian default savepath, but adding the needed \ at the end.
svn-id: r33345
2008-07-27 21:35:39 +00:00
Jordi Vilalta Prat 2862a30dac Fixed some code formatting thanks to LordHoto
svn-id: r32275
2008-05-26 00:28:48 +00:00