Eugene Sandulenko
add3243e5e
Fix for bug #1719463 : "DETECTOR: Launching undefined target adds launcher entry"
...
svn-id: r27352
2007-06-11 08:38:23 +00:00
Eugene Sandulenko
c0a33c57b3
Trunk becomes 0.11.0svn
...
svn-id: r27116
2007-06-05 22:16:36 +00:00
David Corrales
3b96c7fad5
Renamed methods in the FilesystemNode class to match the AbstractFSNode implementations.
...
Also exposed the new methods (exists, isReadable and isWritable) in FilesystemNode.
svn-id: r27113
2007-06-05 21:02:35 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Johannes Schickel
86104e0bf0
Reverted r26922.
...
svn-id: r26967
2007-05-27 11:40:03 +00:00
Max Horn
33f17c57a5
Patch #1726251 : Reject long commandline parameters that lack the option
...
svn-id: r26961
2007-05-27 07:37:08 +00:00
Eugene Sandulenko
da8097896e
Fix wrong error message as pointed out by jvprat. I.e. ./scummvm -g produced:
...
"Option '(null)' requires an argument"
svn-id: r26941
2007-05-26 15:59:54 +00:00
Joost Peters
0bd2a211fd
replace "normal" graphics scaler with "1x" in the --help text.
...
"normal" is not documented in the README and is apparently some legacy option,
the SDL backend source implies that using "normal" mode would use a 1x scaler,
but using it seems no different from the default "2x" scaler, so this option is
basically useless, even though parseCommandLine() still accepts both "normal" and
"default" (which seems completely undocumented)... argh!
svn-id: r26936
2007-05-26 12:01:33 +00:00
Johannes Schickel
8ff17142c5
Simpilified Singleton implementation and usage.
...
svn-id: r26922
2007-05-22 14:17:44 +00:00
Filippos Karapetis
d00e72e5c8
Added the cruise engine to the list of plugins in plugins.cpp
...
svn-id: r26607
2007-04-27 14:50:27 +00:00
Torbjörn Andersson
a3bde14ead
Fixed bug #1701842 , after discussing with Fingolfin.
...
svn-id: r26545
2007-04-18 20:59:51 +00:00
Travis Howell
b0fea397ab
Allow PC Engine version of Loom to at least start up.
...
svn-id: r25951
2007-03-03 12:59:48 +00:00
Max Horn
b9658b5960
Do not use addDefaultDirectoryRecursive to add 'path', rather use the non-recurseive addDefaultDirectory (see also bug #1672098 )
...
svn-id: r25922
2007-03-02 12:57:38 +00:00
Eugene Sandulenko
0a20af0323
Make extra information generated by launcher consistent with what we have
...
in our md5 list, preferred target and Wiki.
svn-id: r25398
2007-02-06 12:01:34 +00:00
Max Horn
8ae2be31e0
Don't add '.' to the search dirs as a last fallback. Fixes bug #1597208
...
svn-id: r25382
2007-02-04 13:04:36 +00:00
Max Horn
04e76156ef
Change s_appName from Common::String to const char * on all platforms
...
svn-id: r25354
2007-02-03 18:09:09 +00:00
Max Horn
d32b1b1b7a
Always set gameid & description in a GameDescriptor (somewhat more future proof fix for the recent regression caused by the changes to gameid() / description() )
...
svn-id: r25242
2007-01-28 10:29:22 +00:00
Eugene Sandulenko
b8a48f5751
Fix regression which prevented to run games specified only in command line
...
and not in config file.
svn-id: r25240
2007-01-28 01:01:36 +00:00
Marcus Comstedt
23a1efe628
Reintroduced non-static gameid() and description(), by popular(?) demand.
...
svn-id: r25239
2007-01-28 00:56:08 +00:00
Marcus Comstedt
a9cd5f59b0
Made gameid() and description() const.
...
svn-id: r25234
2007-01-27 22:59:01 +00:00
Max Horn
853b00fba1
Fix for bug #1586640 : SDL: Joystick/Joypad doesnt work with 0.9.0
...
svn-id: r25161
2007-01-24 00:07:23 +00:00
Max Horn
0a9276092f
Fix crash in GameDescriptor::updateDesc
...
svn-id: r25153
2007-01-21 16:34:18 +00:00
Max Horn
aaf706a43d
Don't mkdir the default savepath whenever we startup; rather, mkdir (on Unix/Symbian, at least) the savedir just before we need it, i.e. just before saving. Fixes bug #1504398
...
svn-id: r25150
2007-01-21 15:17:28 +00:00
Max Horn
f30f00aedc
Make use of HashMap::getVal/setVal, and some cleanup
...
svn-id: r25138
2007-01-21 00:29:03 +00:00
Max Horn
baaedb1651
Added game.cpp file with some funcs/methods declared in game.h
...
svn-id: r25137
2007-01-21 00:25:04 +00:00
Eugene Sandulenko
cd8a5f3a98
First phase of detection-related plugins interface improvements. Now plugins
...
return StringMap instead of fixed list of parameters. This adds great
flexibility.
Current patch should not alter any functionality, i.e. if there are regressions,
submit a report. Phase 2 will benefit from these changes and will come later.
svn-id: r25134
2007-01-20 21:27:57 +00:00
Eugene Sandulenko
e5c7ce83b8
Initial import of Parallaction engine
...
svn-id: r25083
2007-01-14 21:29:12 +00:00
Max Horn
fb1cb33324
Fix previous commit by anotherguest
...
svn-id: r24942
2006-12-28 12:29:18 +00:00
Lars Persson
203b93e49d
Updated makefiles to support touche and agos naming properly
...
svn-id: r24941
2006-12-28 12:14:58 +00:00
Max Horn
865d8717a3
* Change the GameList typedef to a proper class with an additional
...
constructor which takes a PlainGameDescriptor 'list'
* Replaced real_ADVANCED_DETECTOR_GAMEID_LIST by this new constructor
* Removed ADVANCED_DETECTOR_GAMEID_LIST and ADVANCED_DETECTOR_FIND_GAMEID
* Some minor cleanup
svn-id: r24893
2006-12-19 22:43:15 +00:00
Eugene Sandulenko
4d840e5295
Patch #1595319 : "Enable the command line --debugflags before engine.init()"
...
svn-id: r24705
2006-11-13 12:03:08 +00:00
Max Horn
1f26cb8965
Reworked code in the advanced game detector (getting rid of much of the evil #define hell it consisted of previously)
...
svn-id: r24685
2006-11-12 03:23:29 +00:00
Max Horn
c7b2f4d332
Print sensible messages if engine instantiation failed
...
svn-id: r24684
2006-11-12 03:21:44 +00:00
Gregory Montoir
13d9cdbd26
added 'touche' engine for the game 'Touche: The Adventures of the 5th Musketeer'
...
svn-id: r24592
2006-11-03 21:23:07 +00:00
Max Horn
07f7761479
Backend modularization: Create timer manager, savefile manager and audio mixer in the backends for increased flexibility
...
svn-id: r24443
2006-10-22 15:42:29 +00:00
Max Horn
f95f5ed133
Added OSystem::getTimerManager and OSystem::getMixer methods (wip)
...
svn-id: r24405
2006-10-21 12:03:43 +00:00
Johannes Schickel
7212dfaa22
Whitespaces.
...
svn-id: r24179
2006-10-07 21:22:32 +00:00
Torbjörn Andersson
f11c3d1f26
Removed some left-over (I think!) code from unloadPluginsExcept() that was
...
causing ScummVM to crash for me.
svn-id: r24155
2006-10-07 01:56:31 +00:00
Max Horn
df5be19409
Instantiate and hook up the plugin providers in the main() function of the corresponding backends (porters may have to update their ports if they were using the POSIX or Win32 module loading code implicitly); some cleanup
...
svn-id: r24153
2006-10-07 01:05:12 +00:00
Max Horn
26e4e16800
Started to refactor the plugin code (moving backend specific stuff into backends/plugins/)
...
svn-id: r24148
2006-10-07 00:22:48 +00:00
Eugene Sandulenko
8e2c703bab
First pahse of renaming simon engine to agos. Internal renames. Compilation
...
is broken
svn-id: r24008
2006-09-29 08:14:27 +00:00
Max Horn
4c14cf6d1a
Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
...
svn-id: r23974
2006-09-23 00:42:35 +00:00
Max Horn
16ace099aa
Work around conflict between ISO C++ and POSIX, to allow ISO C++ compliant compilers like GCC 4.x to compile the plugin code again
...
svn-id: r23945
2006-09-20 11:54:15 +00:00
Max Horn
651d22b873
* Added virtual Engine::getDebugger() method
...
* Removed code from errorString() methods that hooked the debugger(s)
into error(), in favor of using getDebugger() from within error()
* As a consequence, removed most custom errorString() methods
svn-id: r23894
2006-09-16 19:31:23 +00:00
Max Horn
4ee581adb5
Fixed some broken #include's (the PS2 and Symbian may need more fixed, though)
...
svn-id: r23666
2006-08-04 17:47:57 +00:00
Max Horn
4a80db4c7b
* Added copyright string to all engine plugins
...
* Modified about dialog to list all available plugins with their resp. copyright
* Modified about dialog credits to show the GPL last (like movie end credits do with their legal text, too)
svn-id: r23645
2006-07-31 13:41:21 +00:00
Max Horn
29b64b4aab
Small fix for the symbian port
...
svn-id: r23618
2006-07-29 20:20:01 +00:00
Torbjörn Andersson
5cb8802699
The GUI now uses the cursor palette for all themes. Therefore, it shouldn't be
...
necessary to set up a "dummy" palette for the cursor any more. If an engine
wants to display an error message without using the GUI, it can set up its own
palette.
With this change, ScummVM no longer sets a palette before _screen is created in
the SDL backend.
svn-id: r23575
2006-07-23 07:18:37 +00:00
Torbjörn Andersson
e3ab20ee90
Fixed DO_OPTION_OPT so that the '=' is no longer required in long options. (The
...
value is, as the name implies, optional.) This fixes bug #1526483 .
svn-id: r23561
2006-07-22 15:16:28 +00:00
Max Horn
5e1bf44046
Testing the new ciabot.py hook ... dang, I wanted to modify scummsys.h, where is abort butto... CARRIER LOST
...
svn-id: r23440
2006-07-08 20:56:02 +00:00
Marcus Comstedt
d71d5774ad
Include DCLauncherDialog.h from the new backend dir.
...
svn-id: r23360
2006-06-30 21:58:40 +00:00
Max Horn
8c5ead1f70
No need to calls clearSoundCallback here (engine destructor already does that)
...
svn-id: r23356
2006-06-30 19:54:12 +00:00
Max Horn
c9fd9c4878
Added 'timer' backend module, based on the existing TimerManager code (work in progress)
...
svn-id: r23279
2006-06-24 09:53:45 +00:00
Max Horn
75628fe9d7
Renamed class Timer to TimerManager (the old name was somewhat incorrect/confusing)
...
svn-id: r23278
2006-06-24 09:34:49 +00:00
Max Horn
9a955180a4
* Renamed config.mak to config.mk
...
* Renamed common.rules to rules.mk
* Removed explicit declaration of MODULE_DIRS in various spots (instead we let rules.mk compute it)
svn-id: r23275
2006-06-24 08:48:11 +00:00
Max Horn
d210b19aec
Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cpp
...
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h)
svn-id: r23274
2006-06-24 08:07:48 +00:00
Eugene Sandulenko
6f844ae420
- Make tabs narrower so they all fit on screen. Now navigation buttons
...
appear only on PSP resolution
- Combined Audio/Volume tab in game options for consistency.
svn-id: r23130
2006-06-15 13:18:28 +00:00
Johannes Schickel
70fc192f30
Should fix --debugflags for all engines which set up the debug flags in Engine::init.
...
svn-id: r23110
2006-06-14 19:43:25 +00:00
Torbjörn Andersson
42d093cd16
Added --themepath option, and documented (very briefly) the --gui-theme option.
...
svn-id: r23108
2006-06-14 19:32:26 +00:00
Eugene Sandulenko
1c285c7094
Bump version
...
svn-id: r23041
2006-06-11 22:29:41 +00:00
Lars Persson
4549a61060
Removed actions.h include for symbian build. Not needed anymore.
...
svn-id: r23027
2006-06-11 14:21:46 +00:00
Kostas Nakos
44fc26a907
removed GUI::Actions::init() now that noone uses it.
...
svn-id: r23017
2006-06-10 21:17:26 +00:00
Lars Persson
5755b5a97e
Fixed problem when building and debugging using Symbian Emulator.
...
svn-id: r22820
2006-06-01 22:43:19 +00:00
Lars Persson
72904c3354
Moved Symbian call to GUI::Actions::init(); to the Symbian backend
...
svn-id: r22811
2006-05-31 21:13:37 +00:00
Lars Persson
acb3ff742b
Only do warning for path create failure and not error as it can be set within scummvm.
...
svn-id: r22797
2006-05-31 11:36:20 +00:00
Travis Howell
d9d3b604f2
Fix compile
...
svn-id: r22592
2006-05-24 00:27:56 +00:00
Paweł Kołodziejski
107073537e
imported AGI engine
...
svn-id: r22588
2006-05-23 23:43:52 +00:00
Won Star
7eede3c510
Compile fix for GP32 and PalmOS. GP32 port still doesn't work since when GUI code changed...
...
svn-id: r22583
2006-05-23 14:19:38 +00:00
Eugene Sandulenko
9e3b78e1e9
--force-1x-overlay is no more. Remove leftovers.
...
svn-id: r22519
2006-05-18 13:59:20 +00:00
Eugene Sandulenko
14ec3f45fa
- Heavily modified patch #1214784 : "Disable overlay scaling"
...
- Eriktorbjorn's patch from same tracker item for scaling sword1/2 cutscenes
is applied as is. It lacks resolution switch on-the-fly.
- GUI widgets are repositioned on the fly and use most space, even aspect
ratio corrected screen is used without scaling
- Heavy tesing is required, but works for me in all cases except for bug
#1483272 : "GUI: SCUMM pause dialog breaks upon scaler switch" which needs more
work.
- I probavly broke some backend or two
svn-id: r22505
2006-05-17 23:52:45 +00:00
Andrew Kurushin
45b249ee60
fix VS2005 compilation warnings
...
svn-id: r22431
2006-05-13 08:39:12 +00:00
Max Horn
3623a94927
Added the new AbstractFilesystemNode::getCurrentDirectory() method. Also changed the semantics of the FilesystemNode constructors (see also the relevant doxygen comments for explanations). This also fixes bug #1485941 .
...
svn-id: r22424
2006-05-12 21:41:54 +00:00
Eugene Sandulenko
d2546e3979
- Updated MSVC8 project files
...
- Renamed base/options.cpp to base/commandLine.cpp because of conflict
with gui/options.cpp which sit in same directory in MSVC builds
- Moved AudioCDManager singleton declaration outside of Audio namespace
- Fixed numerous MSVC warning of potentially uninitialized variables and
int <-> bool conversions.
svn-id: r22397
2006-05-09 14:16:43 +00:00
Max Horn
0bb35a7856
Corrected a warning message (findGame failures are due to unsupported gameids, and have nothing to do with targets)
...
svn-id: r22357
2006-05-05 00:28:26 +00:00
Max Horn
dad44b45d3
Removed Base::setTarget, and some minor cleanup & tweaks
...
svn-id: r22356
2006-05-05 00:26:03 +00:00
Max Horn
b56139b3aa
Updated outdated TODO
...
svn-id: r22354
2006-05-05 00:12:42 +00:00
Max Horn
dc2581fa09
Fingolfin just remembered *why* GUI::Actions::init() is called in scummvm_main, but luckily those reasons are gone now, so let's fix this :-)
...
svn-id: r22353
2006-05-05 00:05:38 +00:00
Max Horn
f42baa6dab
Some further cleanup in scummvm_main
...
svn-id: r22352
2006-05-05 00:03:21 +00:00
Max Horn
5e2d023aa8
Moved PalmOS specific call to ArgsFree up to the last point where argv is used (hopefully that's correct :-)
...
svn-id: r22351
2006-05-05 00:00:39 +00:00
Max Horn
e20d896a72
Fix s_appName computation
...
svn-id: r22350
2006-05-04 23:59:12 +00:00
Max Horn
be09fc77dc
Moved listGames, listTargets, runDetectorTest to base/options.cpp; also moved some code that was formerly in scummvm_main() to Base::processSettings()
...
svn-id: r22349
2006-05-04 23:57:49 +00:00
Max Horn
2dcf2c36ad
Removed last traces of class GameDetector
...
svn-id: r22348
2006-05-04 23:37:50 +00:00
Max Horn
64d9224b54
Renamed base/gameDetector.h/.cpp to base/options.h/.cpp
...
svn-id: r22347
2006-05-04 23:29:56 +00:00
Max Horn
5d5c02d66c
Moved GameDetector::setTarget & findGame to the new namespace Base; moved their declaration to base/game.h, their implementation to base/main.cpp (both until we can come up with a better location). Also moved detectMain into main.cpp, where it now is a local static function
...
svn-id: r22346
2006-05-04 23:24:09 +00:00
Max Horn
c46301bcc2
Make sure our config default values get properly registered
...
svn-id: r22345
2006-05-04 22:55:15 +00:00
Max Horn
6321cfc874
Turned the last remaining few GameDetector methods into static methods
...
svn-id: r22344
2006-05-04 22:52:18 +00:00
Max Horn
b727a89b6c
Set speech_mute/sfx_mute/music_mute values in one single central place
...
svn-id: r22342
2006-05-04 21:14:50 +00:00
Torbjörn Andersson
6a41946219
The loadPlugins() function works a bit better if it doesn't fail when listDir()
...
succeeds. ;-)
svn-id: r22325
2006-05-04 03:50:30 +00:00
Max Horn
05f6adbbd9
Removed FilesystemNode::isValid (leaving it up to the porters to decide whether to remove their isValid code or not)
...
svn-id: r22317
2006-05-03 20:49:33 +00:00
Max Horn
b67c30f6c8
Fix DYNAMIC_MODULES (update the listDir call used in PluginManager::loadPlugins when using dynamic modules/plugins)
...
svn-id: r22316
2006-05-03 20:45:57 +00:00
Max Horn
d016c353c5
Changed FilesystemNode::listDir to return a bool indicating its success (or failure)
...
svn-id: r22315
2006-05-03 20:43:26 +00:00
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
Max Horn
2fd027846e
Moved AmigaOS 'magic cookie' to sdl.cpp, as it is port specific (porter says he might remove it completly in a future version)
...
svn-id: r21550
2006-04-02 09:26:51 +00:00
Max Horn
a30d832ee0
Removed built-in endian/alignment verifier (it's original purpose is mostly gone now that we have a configure script detecting endianess and more)
...
svn-id: r21549
2006-04-02 09:23:18 +00:00
Max Horn
9b08d8e467
Moved the Win/Symbian specific stdout/stderr redirect code from base/main.cpp to sdl.cpp, where it belongs (considering that it is backend specific code)
...
svn-id: r21547
2006-04-02 02:23:29 +00:00
Max Horn
8a8bdcd1f8
Moved all debug functions to from main.cpp to util.cpp
...
svn-id: r21545
2006-04-02 00:56:53 +00:00
Max Horn
b2a5647887
Removing undocumented Allegro/Qtopia port stuff -- if anybody is working on 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-02 00:18:33 +00:00
Max Horn
587431f8e8
Fully and officially renamed our main function to scummvm_main, thus making
...
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-02 00:08:22 +00:00
Travis Howell
a2c4795f32
Update gameDataPath() calls in engine, to fix compile
...
svn-id: r21541
2006-04-01 23:31:51 +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
2197597f9a
Moved File::resetDefaultDirectories from Engine destructor to runGame (since that is the main spot where we call addDefaultDirectory)
...
svn-id: r21535
2006-04-01 21:52:33 +00:00
Max Horn
d61b104568
Removed yet another superfluous addDefaultDirectory call, and removed the unused Engine::getGameDataPath method (just use _gameDataPath directly if you need this)
...
svn-id: r21534
2006-04-01 21:43:49 +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
Eugene Sandulenko
e373c9b7b5
- Revert my last change with moving addDefaultDirectory() from TheneNew.cpp
...
- Removed locking of further directory adds because it did not work for themes.
svn-id: r21452
2006-03-25 19:30:10 +00:00
Eugene Sandulenko
f25d49f826
- Move AddDefaultDirectory() calls in somon engine to constructor
...
- Move AddDefaultDirectory() from NewTheme.cpp to main.cpp
svn-id: r21451
2006-03-25 19:18:09 +00:00
Eugene Sandulenko
22042bc637
- Implemented case insensitive file reading. Left old system as a fallback
...
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-25 04:17:17 +00:00
Eugene Sandulenko
60793c0e64
Positioned logo properly, added different version number rendering and
...
got rid of antialiasing artifacts
svn-id: r21270
2006-03-14 03:08:14 +00:00
Max Horn
46ee5c8f26
Added new method DetectedGame::updateDesc, to ease generation of uniform description strings
...
svn-id: r21166
2006-03-09 12:52:10 +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
d2f78184af
- added new toDetectedGame() template function (analog to toGameSettings)
...
- made use of the new DetectedGame constructor from my last commit
- some related cleanup
svn-id: r21149
2006-03-09 01:42:56 +00:00
Max Horn
4c1e4c6987
Added alternate DetectedGame constructor, to make it possible to add games to a detection list w/o first creating a temporary GameSettings struct
...
svn-id: r21144
2006-03-08 12:09:07 +00:00
Eugene Sandulenko
233c2a42f9
WIP of maemo port
...
svn-id: r21055
2006-03-04 01:32:04 +00:00
Lars Persson
e053cea9c0
Small loop adjustment to compile for VC6
...
svn-id: r20869
2006-02-25 10:24:52 +00:00
Paweł Kołodziejski
934ac1b6af
fixed error for msvc7, it didn't find func without Common namespace
...
svn-id: r20832
2006-02-23 18:14:41 +00:00
Gregory Montoir
2570c498fc
Added CINE plugin to PluginManager::loadPlugins() section
...
svn-id: r20814
2006-02-22 23:04:47 +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
8ac17430ac
- renamed PLUGIN_getSupportedGames to PLUGIN_gameIDList for consistency
...
- 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-18 11:15:37 +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
Max Horn
7967e30c73
Added global toGameSettings() template function for convenience; simplified GameSettings usage in some engines
...
svn-id: r20739
2006-02-17 00:22:53 +00:00
Max Horn
a96760a2fd
Reduced use of GF_DEFAULT_TO_1X_SCALER in favor of a new param to Engine::initCommonGFX; added a TODO stating that it should eventually be removed completly
...
svn-id: r20738
2006-02-17 00:01:18 +00:00
Max Horn
405733e044
- Fixed a bug that prevented you from overriding the scaler from the command
...
line for 640x480 games.
- Updated NEWS file a bit
svn-id: r20736
2006-02-16 23:24:23 +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
6238fa2b29
We're in SVN now, so change version to "0.9.0svn"
...
svn-id: r20667
2006-02-13 12:57:06 +00:00
Lars Persson
692adbe614
Changed file paths from /epoc/ to /symbian/
...
svn-id: r20618
2006-02-12 14:42:43 +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
Max Horn
24a5ba86a7
No need to force engines to implement errorString()
...
svn-id: r20589
2006-02-12 01:23:58 +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
80cf2fa46f
Reduced data duplication in module.mk files; added module.mk files for null and x11 backends; added engines/module.mk
...
svn-id: r20584
2006-02-12 00:16:31 +00:00
Travis Howell
6703dc7fa1
Add patch #1374870 - New Lure of the Temptress module
...
svn-id: r20536
2006-02-11 12:54:56 +00:00
Max Horn
ee6fa83b1b
Change CVS keywords to SVN keywords
...
svn-id: r20509
2006-02-11 09:53:21 +00:00
Max Horn
0ad58cdb95
Removed .cvsignore files
...
svn-id: r20424
2006-02-07 22:50:14 +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
Eugene Sandulenko
ec99279ef9
Oops. I should've test it before commit. Fixed now.
...
svn-id: r20286
2006-01-29 02:55:30 +00:00
Eugene Sandulenko
052a42f89f
Added new debugN() function which doesn't append newline.
...
svn-id: r20285
2006-01-29 02:44:30 +00:00
Max Horn
7fddfa20c6
New tools/update-version.pl script (usage: CMD 1 2 3 CVS -> results in version 1.2.3CVS)
...
svn-id: r20165
2006-01-25 20:53:25 +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
Lars Persson
6ed67205ec
1. New build structure for Symbian builds to allow easier build and project updates
...
2. Updated framework files for new structure
3. Uncommented Debug statements in vorbis.cpp (Should probably be removed alltogether.
4. Incorporated Sevs code formatting changes in the new Symbian source structure.
5. Removed/Changed EScummVM to ScummVM instead, hopefully most cases covered.
6. Beginning vibration support to be used for Scumm shake effects (Work ongoing by SumthinWicked)
7. Replaced the ScummVM icon for the FavIcon and upscaled the icon to 32x32. I think it looks ok, comments are welcome.
8. Built for S60V1 and UIQ2 targets from the cvs
9. Updated Readme with new build instructions.
Any comments are welcome. Hopefully the other builds are not affected by this and all Sevs code updates are also incorporated.
svn-id: r19739
2005-12-03 21:29:13 +00:00
Eugene Sandulenko
edfae828f6
Patch #1341626 : "New GP32 port"
...
svn-id: r19710
2005-11-27 02:35:57 +00:00
Gregory Montoir
fe9def0ac0
Made the autosave period a configuration option and updated the engines using that feature (SCUMM, Queen and Sky). The value is supposed to be in seconds ; if it's set to 0 then autosaving is disabled. See also tracker item #1350187 .
...
svn-id: r19700
2005-11-23 19:11:33 +00:00
Max Horn
9a09283a76
Fix compile error in plugin mode
...
svn-id: r19682
2005-11-21 09:52:22 +00:00
Max Horn
8262b6dc2a
Tried to unify plugin code for PalmOS and non-PalmOS (hopefully I didn't break the PalmOS code this way, please verify)
...
svn-id: r19670
2005-11-19 17:57:24 +00:00
Max Horn
0063257a2b
Fix another HOME buffer overflow attack vector
...
svn-id: r19376
2005-10-31 01:50:51 +00:00