Commit Graph

157 Commits

Author SHA1 Message Date
Won Star
491d5ad12e GP32 uses ARM processor. So some of PalmOS specific changes also apply to GP32.
svn-id: r21834
2006-04-13 02:39:59 +00:00
Chris Apers
f61d74532b Fixed crash with PalmOS ARM version : global objects are allocated but constructors are not called - anyway this var is useless with PalmOS version
svn-id: r21805
2006-04-11 18:19:54 +00:00
Max Horn
e4930bd96d Don't use HAVE_CONFIG_H / config.h directly, use scummsys.h instead
svn-id: r21605
2006-04-04 21:45:13 +00:00
Max Horn
4df2948902 cleanup
svn-id: r21572
2006-04-02 21:38:36 +00:00
Max Horn
214c01d15d Set gDebugLevel in a single unified spot, instead of two different places
svn-id: r21571
2006-04-02 21:32:23 +00:00
Max Horn
29858dadcd Treat 'targes' like the other command line 'commands'
svn-id: r21570
2006-04-02 21:28:01 +00:00
Max Horn
7b63eadb50 Move handling of --list-targets and --list-games to a later point (after plugin & config file loading), to make them work properly again.
svn-id: r21569
2006-04-02 21:06:49 +00:00
Max Horn
92ad99a88c Compute the value GameDetector::_gameid *immediately* after _targetName has been set (this ensures that both are always in sync)
svn-id: r21566
2006-04-02 20:43:36 +00:00
Max Horn
5e4c6c76b1 Fixed '-f BAR' command line argument style (as opposed to '-fBAR' and '-foo=BAR')
svn-id: r21565
2006-04-02 20:29:54 +00:00
Max Horn
004ca16de4 Split GameDetector::parseCommandLine into a static parseCommandLine method 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-02 20:11:50 +00:00
Max Horn
3686733595 Added missing backslash, oops
svn-id: r21561
2006-04-02 18:02:16 +00:00
Max Horn
9339e651aa - The command line parser now doesn't work in reverse order anymore.
- 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-02 17:51:04 +00:00
Max Horn
0ee4f304b8 Properly use registerDefault to set the default value for autosave_period
svn-id: r21537
2006-04-01 21:55:45 +00:00
Max Horn
9f93e5bb81 Renamed various container isEmpty() methods to empty() to match STL conventions
svn-id: r21472
2006-03-28 09:42:54 +00:00
Eugene Sandulenko
e3173172b9 Implement feature request #1393200: "target_md5 even for command line"
svn-id: r21457
2006-03-26 04:22:47 +00:00
Max Horn
86565fcca5 - Renamed GameSettings to PlainGameDescriptor
- 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 02:52:51 +00:00
Max Horn
01fc7034b5 - Merged GameDetector::detectGame() into GameDetector::detectMain()
- Replaced GameSettings GameDetector::_game by a simple gameid string

svn-id: r20753
2006-02-18 12:50:48 +00:00
Max Horn
d0e637f7aa Grammar fix
svn-id: r20751
2006-02-18 11:13:08 +00:00
Max Horn
81798556db - Removed the 'features' field from GameSettings
- Removed GF_DEFAULT_TO_1X_SCALER

svn-id: r20747
2006-02-18 00:12:36 +00:00
Travis Howell
fbcecb98a1 Add 3DO platform for HE games
svn-id: r20714
2006-02-16 05:01:06 +00:00
Johannes Schickel
0bea9cf47b Made the kyra debug extensions more generic, i.e. scumm engine could replace
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-14 23:31:25 +00:00
Eugene Sandulenko
609d185739 Another spot of non-standard "#else if" replaced by "#elif"
svn-id: r20608
2006-02-12 13:12:49 +00:00
Travis Howell
f661bbe9aa Fix compile
svn-id: r20587
2006-02-12 00:50:37 +00:00
Lars Persson
0b847325e1 'Changed Symbian configuration handling so it is using the basepath of the application installation as a path for Savegames, ini files etc
*Updated list.h so it also compiles for Symbian codewarrior and gcce compilers

svn-id: r20586
2006-02-12 00:33:04 +00:00
Max Horn
ee6fa83b1b Change CVS keywords to SVN keywords
svn-id: r20509
2006-02-11 09:53:21 +00:00
Eugene Sandulenko
bfb912dbb1 Add undocumented option --gui-theme for easier theme debugging.
svn-id: r20332
2006-01-31 17:52:56 +00:00
Travis Howell
207841e226 Add new platforms.
Sync. more changes.

svn-id: r20126
2006-01-21 23:59:04 +00:00
Max Horn
0b39c0ea9f Fix various incorrect usages of the word 'target' instead of 'gameid'; change the ambigiuous 'GameSettings::name' to 'GameSettings::gameid'
svn-id: r20115
2006-01-21 13:01:20 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Joost Peters
98a949f5b7 Commit patch #1171517 by salty-horse (save speech and sfx preferences BASS engine in config file)
svn-id: r20063
2006-01-17 00:24:01 +00:00
Torbjörn Andersson
a61e62db95 Lowered FluidSynth's default gain, and added config file and command-line
options to specify it. FluidSynth's gain ranges from 0.0 through 10.0 and
is probably measured in decibel, but to keep things simple, ScummVM uses
settings from 0 through 1000 instead. (Though currently there's no guard
against invalid settings.)

This is a slightly revised version of the non-GUI part of patch #1336171.

svn-id: r20030
2006-01-14 20:05:56 +00:00
Max Horn
978cbb3fd0 Typo
svn-id: r19889
2006-01-02 19:52:05 +00:00
Max Horn
0063257a2b Fix another HOME buffer overflow attack vector
svn-id: r19376
2005-10-31 01:50:51 +00:00
Eugene Sandulenko
be8cd9e69a talkspeed and copy-protection aren't SCUMM-specific anymore SAGA uses them
too.

svn-id: r19154
2005-10-18 19:05:22 +00:00
Eugene Sandulenko
b725a206c0 Add possibility to disable SDL parachute on run-time. Option
--disable-sdl-parachute should be completely undocumented and not mentioned
to end-users. Wrong usage may lead to system lock-up especially when used
with fullscreen mode.

SDL Parachute is used to prevent system instability and do a graceful exit
if something bad happens. It catches most of signals sent to thr process.
Side effect of that that quite often when SDL application dies, core dump
isn't made on *nix systems. This feature adds possibility to disable it.

svn-id: r19146
2005-10-18 03:52:21 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Chris Apers
f7fb3bf7a8 Change PalmOS ident
svn-id: r18743
2005-09-03 16:05:28 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Max Horn
2ea15e4822 Revert change from printf() to debug(1)
svn-id: r18438
2005-06-23 13:46:38 +00:00
Lars Persson
1c69696a9a Patches needed to build for SYMBIAN32 WINS/GCC added.
Test built for Symbian and run on P910i without any major problems.
Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA).

svn-id: r18430
2005-06-21 22:08:21 +00:00
Jonathan Gray
bf304539fe Document c64 as being a valid --platform= option.
svn-id: r18413
2005-06-19 23:02:38 +00:00
Max Horn
1a615346ab Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' because we already have many classes with that name)
svn-id: r18039
2005-05-10 23:48:48 +00:00
Max Horn
52bbc86797 Patch #1181544 (AmigaOS 4 changes)
svn-id: r18011
2005-05-09 21:21:21 +00:00
Max Horn
ce3cd9b194 Changed the semantics of debug level 0 from off back to something more similiar to how it used to be (default debug level now is -1)
svn-id: r17788
2005-04-24 12:21:53 +00:00
Max Horn
06a313f0a8 Change the way the command line options are put into the ConfigManager
svn-id: r17775
2005-04-23 14:39:15 +00:00
Max Horn
8fddaada1d Simplified debuglevel handling:
- it's only honored in the global level of the config file
 - all checks for it go through gDebugLevel now, which is made global
 - the '-d' switch is handled in a slightly saner and consistent way
 - removed 'debuglevel' from the config format documentation; we do
   not want to encourage the avarage user to use it

svn-id: r17769
2005-04-23 13:52:27 +00:00
Max Horn
7903943019 oops
svn-id: r17760
2005-04-22 21:56:32 +00:00
Max Horn
78030693fc Added macros for integer options; added some explantory comments to the option parser macros
svn-id: r17759
2005-04-22 21:49:29 +00:00
Torbjörn Andersson
59e96ca993 Pedantic fix.
svn-id: r17584
2005-04-13 12:36:19 +00:00