Christopher Page
a4f56de13a
Implemented Common::EventManager::pushEvent() to insert fake events into the event queue. Quit and RTL events have been added, and are now tracked by the DefaultEventManager using shouldQuit() and shouldRTL(). AGOS is working with this new implementation, other engines to follow.
...
svn-id: r32952
2008-07-07 22:34:45 +00:00
Christopher Page
f878820bbe
Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So far agi, agos, and cine are now using the new _quit flag.
...
svn-id: r32770
2008-06-24 21:15:30 +00:00
Christopher Page
37a7a572cf
Merged revisions 32668-32669,32676,32687-32689,32693,32695,32698-32701,32705 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r32720
2008-06-16 19:06:48 +00:00
Travis Howell
91d3ea3135
Revert last commit.
...
svn-id: r32700
2008-06-14 11:23:29 +00:00
Travis Howell
2e3077b3cb
Disable drawObject type 0x41, which is currently causing frequent crashes.
...
svn-id: r32699
2008-06-14 11:17:16 +00:00
Jordi Vilalta Prat
177993b145
Renamed MIDI plugins to Music plugins
...
svn-id: r32693
2008-06-13 14:30:47 +00:00
Christopher Page
0cbfc3a9d1
Merged revisions 32348-32349,32351-32356,32358-32411,32413-32441,32443-32445,32449,32453-32454,32456-32457,32459-32462,32464-32465,32467-32492,32494-32503 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r32505
2008-06-02 21:36:45 +00:00
Filippos Karapetis
c9fd5fef76
Added a note about the MSVC quirk with the spaces around ENABLE_##ID
...
svn-id: r32351
2008-05-28 20:31:01 +00:00
Christopher Page
8297ead267
Merged revisions 32124,32126-32128,32131,32133,32135-32144,32146-32153,32155-32163,32165-32168,32170-32173,32175-32179,32181-32191,32193-32202,32204-32205,32209-32214,32216,32218,32220-32235,32237-32266,32269-32271,32273-32290,32292-32295,32297-32317,32319-32323,32325-32328,32330-32331,32334-32338,32343-32347 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r32350
2008-05-28 20:30:20 +00:00
Filippos Karapetis
057af1000f
Removed an MSVC specific hack, after discussing with jvprat. It seems that MSVC was trying to add the parenthesis after ENABLE_##ID to the check...
...
svn-id: r32347
2008-05-28 19:45:04 +00:00
Johannes Schickel
86d0dcabde
Should fix compiling erros.
...
svn-id: r32289
2008-05-26 12:43:01 +00:00
Johannes Schickel
a6d591b947
Replaced a loop in PluginManger::loadPlugins with Common::for_each as a typical usage example.
...
svn-id: r32286
2008-05-26 12:12:51 +00:00
Jordi Vilalta Prat
2862a30dac
Fixed some code formatting thanks to LordHoto
...
svn-id: r32275
2008-05-26 00:28:48 +00:00
Max Horn
6af9fcc579
Made the startup log output a bit more informative
...
svn-id: r32243
2008-05-24 14:12:32 +00:00
Chris Apers
770f0ad619
Use default save game class
...
svn-id: r32227
2008-05-23 12:59:18 +00:00
Max Horn
5204d012f6
Add a tiny TODO entry for graphics scaler plugins
...
svn-id: r32194
2008-05-20 15:54:27 +00:00
Christopher Page
cbe03226a4
Merged revisions 31972-31973,31975-31981,31984-31989,31993-31994,31996-32014,32016-32020,32022-32025,32027-32028,32030,32034,32037-32038,32040-32058,32060-32087,32089-32093,32095-32123 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r32125
2008-05-14 20:37:18 +00:00
Jordi Vilalta Prat
b35941c3c2
Added plugin priority so there's just one plugin that provides a module functionality.
...
svn-id: r32121
2008-05-14 17:26:05 +00:00
Jordi Vilalta Prat
eb6c809d2b
- Added more information (ID and capabilities) to the MIDI drivers
...
- Added the MidiPlugin interface to the remaining MIDI drivers
- Added an initial MidiManager to handle the MIDI plugins (just static plugins by now)
svn-id: r32117
2008-05-14 14:56:29 +00:00
Jordi Vilalta Prat
a392bc4b0e
Taken care of FilePluginProvider's FIXMEs
...
svn-id: r32085
2008-05-13 13:24:49 +00:00
Max Horn
f7a682edf9
Some more Doxygen comments, as well as some FIXMEs/TODOs
...
svn-id: r32084
2008-05-13 11:00:25 +00:00
Max Horn
2bb39e591f
Moved the engine plugin code to engines/metaengine.h; added/clarified/corrected various Doxygen comments for the plugin system
...
svn-id: r32083
2008-05-13 10:41:32 +00:00
Jordi Vilalta Prat
fe58f0ee4b
- Added operator-> to Plugin subclasses so they don't have to reimplement the PluginObject subclass interfaces (thanks to Fingolfin for suggesting it)
...
- Added the PluginSubclass template to help creating Plugin subclasses
svn-id: r32082
2008-05-13 09:30:23 +00:00
Jordi Vilalta Prat
9ba353b9d8
Keep separated arrays for each type of plugin
...
svn-id: r32046
2008-05-12 01:26:43 +00:00
Jordi Vilalta Prat
2c9968fe80
- Added an engine plugin manager and moved engine specific functionality into it
...
- base/plugins.* reorganization
svn-id: r32045
2008-05-12 00:26:29 +00:00
Christopher Page
307ef24582
Modified game loop to return to launcher, codeblocks layouts update 1.5->1.6
...
svn-id: r31992
2008-05-10 23:44:46 +00:00
Jordi Vilalta Prat
420d376a90
Added the option to specify the custom path for loading plugins
...
svn-id: r31960
2008-05-09 01:58:12 +00:00
Filippos Karapetis
c396694f3b
Added a temporary hack to get the engine plugins working under MSVC
...
svn-id: r31904
2008-05-06 17:30:52 +00:00
Jordi Vilalta Prat
38a8aa516e
Allow static and dynamic plugins to be used at the same time
...
svn-id: r31888
2008-05-06 03:00:26 +00:00
Jordi Vilalta Prat
3f44977885
Added support to load plugins from different directories and the ability to specify the default directory from configure.
...
svn-id: r31816
2008-05-02 14:30:06 +00:00
Johannes Schickel
bba003e53a
Fixed segfault when trying to start invalid gameid from command line.
...
svn-id: r31731
2008-04-26 10:21:53 +00:00
Filippos Karapetis
8dea07eeac
Added the m4 and made plugins
...
svn-id: r31602
2008-04-20 14:55:41 +00:00
Max Horn
9287ea8376
Patch #1926787 : small memory leak and cleanup
...
svn-id: r31261
2008-03-27 11:06:29 +00:00
Max Horn
b0c6a12c81
Modified Patch #1925352 : Memory leak fixes
...
svn-id: r31244
2008-03-26 19:29:33 +00:00
Max Horn
88bb567e18
Merged lots of _mixer->isReady() warnings into a single one in Engine constructor
...
svn-id: r30871
2008-02-15 17:01:35 +00:00
Max Horn
98c661d70f
Removed unused #include
...
svn-id: r30870
2008-02-15 16:50:24 +00:00
Jordi Vilalta Prat
e3852c92a7
Remove undesired spaces and an old TODO
...
svn-id: r30827
2008-02-08 01:45:46 +00:00
Jordi Vilalta Prat
00987db3a9
Implemented plugin versioning
...
svn-id: r30826
2008-02-08 01:02:25 +00:00
Jordi Vilalta Prat
c103290e2b
Initial support for plugin types
...
svn-id: r30825
2008-02-08 00:02:23 +00:00
Eugene Sandulenko
bf4340d562
revert accidental commit
...
svn-id: r30801
2008-02-05 15:35:17 +00:00
Eugene Sandulenko
9f6282defc
Fix compilation
...
svn-id: r30800
2008-02-05 15:33:01 +00:00
Jordi Vilalta Prat
e4ab5dd339
Change MetaEngine references to PluginObject where possible to make its semantics more generic.
...
svn-id: r30789
2008-02-04 18:38:22 +00:00
Filippos Karapetis
468e9cb056
Surface is a struct, not a class
...
svn-id: r30788
2008-02-04 17:04:03 +00:00
Max Horn
3cd1e60e7a
Moved common code from Plugin subclasses to class Plugin itself
...
svn-id: r30787
2008-02-04 13:14:52 +00:00
Max Horn
5fb7f7a4d6
Commited updated version of my own patch #1868402 : Basic savestate plugin API
...
svn-id: r30786
2008-02-04 10:15:21 +00:00
Torbjörn Andersson
0c6cd983dc
Replaced GUI dialog with warning. We don't have any screen to draw on yet.
...
svn-id: r30782
2008-02-03 21:15:48 +00:00
Max Horn
8a73356a2d
Revised Engine plugin API to only provide a single func which returns a MetaEngine instance. Used this to simplify the rest of the plugin system
...
svn-id: r30780
2008-02-03 18:56:47 +00:00
Oystein Eftevaag
deb6baf0db
Migration code for users updating to the 1.1.3 iPhone firmware, which has a different directory structure and permission setup
...
svn-id: r30761
2008-02-03 12:36:51 +00:00
Max Horn
5dfabb24d0
Moved enum PluginError from base/plugins.h to common/error.h
...
svn-id: r30723
2008-02-01 23:36:45 +00:00
Jordi Vilalta Prat
d6c34bdc4b
Fixed the spaces before tabs.
...
svn-id: r30667
2008-01-28 00:14:17 +00:00