Willem Jan Palenstijn
af280f967b
add small note about svnversion
...
svn-id: r22220
2006-04-29 13:17:22 +00:00
Max Horn
a427a14ebe
Updated the common on why we would like to display the SVN rev as part of the ScummVM version string, and why this is non-trivial
...
svn-id: r22217
2006-04-29 12:38:28 +00:00
Max Horn
bf73598811
* Changed the createEngine() factory function of our plugins to return an error code (the engine is now passed indirectly via a double pointer)
...
* Removed Engine_Empty (obsolete now that engines can return actual error codes)
svn-id: r22199
2006-04-29 00:27:20 +00:00
Max Horn
1dba198cbf
Proper fix for bug #1476651 : Do not use File::exists to check for the presence of a directory described by an absolute path
...
svn-id: r22174
2006-04-26 08:36:55 +00:00
Eugene Sandulenko
9aec81802d
Return correct value from Engine_Empty::init() method.
...
svn-id: r22166
2006-04-26 01:09:31 +00:00
Eugene Sandulenko
35098dbd9f
Introduce and use Engine_Empty() and Engine::GUIErrorMessage()
...
svn-id: r22165
2006-04-26 00:59:13 +00:00
Eugene Sandulenko
bf53520130
- Check if path specified for a game in scummvm.ini really exists and complain
...
if it does not
- Give more understandable feedback to user when SCUMM module can't find
a game
- Put TODO to kyra engine as their current detection scheme does not let
easily tell if game data really present in specified directory
svn-id: r22163
2006-04-25 23:07:59 +00:00
Max Horn
e9332e41d6
Added hidden --test-detector command line option to make it easy to test the detector on your config file (to be removed before the next release)
...
svn-id: r22158
2006-04-25 21:31:55 +00:00
Max Horn
5e3e026f92
Also output the description when running DETECTOR_TESTING_HACK
...
svn-id: r22106
2006-04-23 14:47:43 +00:00
Max Horn
8e9c2e7508
typo
...
svn-id: r22103
2006-04-23 13:39:57 +00:00
Max Horn
c7f2e3d630
Modified DETECTOR_TESTING_HACK code to skip over invalid paths
...
svn-id: r22099
2006-04-23 12:30:52 +00:00
Max Horn
eb895185a6
Test code for the detection code in all engines (disabled by default)
...
svn-id: r22095
2006-04-23 11:38:48 +00:00
Lars Persson
fb905751c7
Conflicting domains for String definition. Added Common:: to String to clarify domain.
...
svn-id: r22072
2006-04-21 20:50:28 +00:00
Max Horn
206fdf0528
Fixed broken svn:keywords values
...
svn-id: r21939
2006-04-16 13:01:41 +00:00
Max Horn
3020b2016a
test commit
...
svn-id: r21938
2006-04-16 12:55:14 +00:00
Max Horn
18975a298d
Moved (Plain)GameDescriptor from base/gameDetector.h to the new base/game.h header file
...
svn-id: r21917
2006-04-15 21:20:16 +00:00
Max Horn
68cb7f52c8
- Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a 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-15 20:36:41 +00:00
Max Horn
ad45318328
Removed GameDetector::_gameid in favor of using a config manager entry
...
svn-id: r21915
2006-04-15 17:39:14 +00:00
Max Horn
dc5f513bcf
Set *plugin to 0, not plugin, which has the advantage that games launch again... stupid me
...
svn-id: r21914
2006-04-15 17:32:06 +00:00
Max Horn
fa085439b9
Removed GameDetector::createMixer(), GameDetector::createEngine(), GameDetector::_plugin
...
svn-id: r21913
2006-04-15 16:37:48 +00:00
Max Horn
ebea155b8e
Always use base 0 in strtol when parsing integer command line options / config file entries (this makes it possible to optionally use hex values)
...
svn-id: r21911
2006-04-15 13:58:01 +00:00
Max Horn
c07fc494d2
oops
...
svn-id: r21910
2006-04-15 13:51:49 +00:00
Max Horn
9c4577b639
- Get rid of GameDetector::_dumpScripts and GameDetector::_force1xOverlay in 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-15 13:50:44 +00:00
Max Horn
f3278d7f82
Clear the transient domaing *after* running the launcher, not before, so that the graphics mode gets set correctly
...
svn-id: r21907
2006-04-15 13:21:02 +00:00
Max Horn
3628629007
- Replaced ConfigManager::_globalDomains by _appDomain (we don't support 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-15 13:12:03 +00:00
Max Horn
edd8557a0e
cleanup
...
svn-id: r21888
2006-04-14 14:26:34 +00:00
Max Horn
64343ef2c0
Fix for bug #1470104 ("Compiled features" string empty)
...
svn-id: r21878
2006-04-14 09:29:58 +00:00
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
Lars Persson
1d265f1895
Commiting Fingolfins patch to remove gamedetector usage.
...
svn-id: r21830
2006-04-12 19:04:10 +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
e7a8bb6abf
Modified the REGISTER_PLUGIN macro so that it allows (and requires) a trailing semicolon (this helps certain tools to parse our code better)
...
svn-id: r21689
2006-04-08 12:06:07 +00:00
Max Horn
4572d0ba16
Moved version vars from base/main.cpp to base/version.cpp; thus now version.o is always rebuilt on every change, not main.o
...
svn-id: r21687
2006-04-08 11:36:49 +00:00
Eugene Sandulenko
baf2a06e0a
Recursive current directory has a big overhead since it can point to
...
(a) scummvm source tree for dev (b) desktop with a:\ on Windows
svn-id: r21627
2006-04-05 06:58:18 +00:00
Eugene Sandulenko
607ae0bab6
Fix crash for a case when game path is set incorrectly
...
svn-id: r21614
2006-04-04 23:30:41 +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
ec432361d5
Process the command line args before passing them to GUI::Actions::init (so that _targetName & _gameid are set)
...
svn-id: r21568
2006-04-02 20:49:03 +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
f600fd973a
Use the new command line parsing code to handle --config and --debugflags, too
...
svn-id: r21564
2006-04-02 20:27:56 +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
e9bc5ba280
Backends now are also responsile for deiniting properly. In particular, 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-02 14:31:23 +00:00
Max Horn
9217472f0e
With this change, backends are now responsible for instantiating their OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently)
...
svn-id: r21557
2006-04-02 14:16:31 +00:00
Max Horn
a4d075dad3
Only include gui/launcher.h if it is used; cleanup
...
svn-id: r21552
2006-04-02 09:56:11 +00:00
Max Horn
32de344111
Move gDebugLevel to common/util.cpp (where most other debug() related stuff already is)
...
svn-id: r21551
2006-04-02 09:31:06 +00:00