Commit Graph

465 Commits

Author SHA1 Message Date
Paweł Kołodziejski
d04b653378 added engine stubs code for Drascula game
svn-id: r28130
2007-07-17 21:35:01 +00:00
Max Horn
8fcece52ac Patch #1595026: engine init/shutdown OSystem methods
svn-id: r27838
2007-07-01 20:29:28 +00:00
Max Horn
a097a11ce7 BASE code: renamed detectMain to detectPlugin and updated some comments for clarity; added some TODO/FIXME comments; added a dialog that's shown if the user tries to start a game for which no plugin feels responsible
svn-id: r27423
2007-06-15 17:29:49 +00:00
Max Horn
e627cddd19 Added some doxygen comments to (Plain)GameDescriptor, and added a findPlainGameDescriptor convenience function
svn-id: r27422
2007-06-15 17:13:13 +00:00
Willem Jan Palenstijn
3b7b869476 add DATA_PATH to directory search list when starting game
svn-id: r27381
2007-06-12 21:21:40 +00:00
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
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