Commit Graph

572 Commits

Author SHA1 Message Date
Robin Watts
8f3b2e9b4d Remove warnings from NDS build.
svn-id: r35172
2008-11-29 18:01:16 +00:00
Johannes Schickel
2ef8a32a01 Fixed various g++ warnings ("format not a string literal and no format arguments").
svn-id: r35096
2008-11-16 20:20:31 +00:00
Johannes Schickel
5a0556f09c Committed my patch #2123680 "SDL: Backend transaction / rollback support".
svn-id: r35062
2008-11-14 22:08:10 +00:00
Filippos Karapetis
f5729a4a8b - The GMM save dialog is now working for all engines which support the appropriate features
- Added a new method to the MetaEngine class, getMaximumSaveSlot(), and implemented it in all engines for which the listSavefiles() method is implemented (it goes together with the listSavefiles method). It is used to fill the unused save slots in the save/load dialogs of each engine, so that the user can create new save games in empty slots
- Unified the save/load dialog list numbering in the GMM load/save screens and in the load screen of the main menu (before a game is started)

svn-id: r34963
2008-11-09 16:13:34 +00:00
Max Horn
40136f2590 Switched various Engine APIs to use Common::Error
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn
fe2935ad4b Got rid of the unused 'filename' attribute in SaveStateDescriptor
svn-id: r34905
2008-11-05 15:41:12 +00:00
Max Horn
61aadb378d Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some EngineFeature comments
svn-id: r34896
2008-11-04 16:11:40 +00:00
Filippos Karapetis
b7a219ebc6 Renamed engine feature kSupportsDirectLoad to kSupportsLoadingDuringStartup, as discussed in patch #2122869
svn-id: r34854
2008-10-26 16:42:08 +00:00
Paul Gilbert
b9a0e32c3c Changed NPC schedules to be loaded when an NPC is activated - this avoids an issue with the Castle Skorl's pre-activation room number being invalid room #99
svn-id: r34748
2008-10-05 10:25:35 +00:00
Paul Gilbert
8706081b82 Bugfix to prevent NPC characters managing to walk beyond room exits without leaving the room, and thus getting stuck
svn-id: r34737
2008-10-04 11:10:25 +00:00
Max Horn
3248906156 Engine class changed:
- Moved initCommonGFX() && GUIErrorMessage() out of class Engine
- got rid of the _autosavePeriod member (this prevented users from
  changing the autosave period during runtime)
- Got rid of an evil 'using GUI::Dialog' statement
- Clarified some Doxygen comments

svn-id: r34720
2008-10-02 17:48:01 +00:00
Max Horn
9b160804ab Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
2008-09-30 12:27:38 +00:00
Johannes Schickel
0a35842954 Committed my patch #2105593 "Launcher/MetaEngine: Finnished removeSaveState".
svn-id: r34495
2008-09-11 19:47:45 +00:00
Max Horn
d3642080de Moved check for shouldRTL() from engines to scummvm_main
svn-id: r34310
2008-09-03 16:56:40 +00:00
Max Horn
10a8cdee39 Merging more of the GSoC 2008 RTL branch: LURE
svn-id: r34251
2008-09-01 20:18:17 +00:00
Christopher Page
ec8dac5540 Added a MetaEngineFeature for RTL support, the RTL button is disabled in the GMM if the engine doesn't support it
svn-id: r33921
2008-08-16 02:53:16 +00:00
Christopher Page
9d3cdcb2da Defined some MetaEngineFeatures for the engines, the launcher uses these features to allow/disallow loading and deleting saves
svn-id: r33909
2008-08-15 18:15:14 +00:00
Christopher Page
e30d16ddc2 Fixed more warnings
svn-id: r33649
2008-08-05 21:56:45 +00:00
Christopher Page
dac805c281 Added -x and --list-saves support for LURE
svn-id: r33291
2008-07-25 19:41:17 +00:00
Christopher Page
09f4fd946e Merged revisions 33052-33053,33056-33058,33061-33064,33068,33070,33072,33075,33078-33079,33083,33086-33087,33089,33094-33096,33098-33099,33104,33108-33109,33114-33117,33120,33135-33146,33160,33162,33165,33167-33169 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r33183
2008-07-21 22:46:39 +00:00
Christopher Page
7f480ac571 Quit and RTL code is more modular now. EVENT_RTL no longer sets _shouldQuit, shouldQuit is only set if there's an EVENT_QUIT. EVENT_RTL and EVENT_QUIT are completely separate from each other. Engine::quit() method now checks both _shouldQuit and _shouldRTL to determine if the engine should exit. There is no longer a need for resetQuit(), so it's removed
svn-id: r33082
2008-07-16 04:22:56 +00:00
Christopher Page
7ecd54a9da Reverted some incorrect changes and fixed sound settings issues for LURE. Fixed issues with quitting and calling GMM during intro sequences in LURE. Added a KEYCODE_MAINMENU in common/keyboard.h for the GMM.
svn-id: r33081
2008-07-15 22:54:39 +00:00
Paul Gilbert
eaeb1587f4 Fix for missing data in the savegame format that could result in not being able to talk to Goewin in the apothecary after restoring a savegame
svn-id: r33057
2008-07-14 10:33:57 +00:00
Christopher Page
17ce8db211 Lure works with the new GMM implementation
svn-id: r32996
2008-07-10 22:34:48 +00:00
Christopher Page
113aa1e77f LURE: Made sure to lock _soundMutex in syncSounds()
svn-id: r32934
2008-07-07 03:30:34 +00:00
Christopher Page
563e28b668 Fixed some warnings
svn-id: r32857
2008-06-30 23:06:38 +00:00
Christopher Page
c1ae3f7dd0 Sound settings for Lure can be modified through the GMM
svn-id: r32855
2008-06-30 22:41:55 +00:00
Christopher Page
6e3474896c Kyra and Lure are now using the new _quit flag
svn-id: r32772
2008-06-25 00:55:18 +00:00
Christopher Page
8cb11a808a Cleaned up some unnecessary comments
svn-id: r32721
2008-06-16 19:55:59 +00:00
Christopher Page
a596879c8e LURE: Fixed memory leaks in the LURE engine
svn-id: r32675
2008-06-12 18:11:09 +00:00
Christopher Page
203f62ad7c LURE: Fixed some memory leaks when returning to the launcher from the LURE engine
svn-id: r32357
2008-05-28 23:28:11 +00:00
Paul Gilbert
93de8c71b8 Fixed compiler warning of unused variable
svn-id: r32239
2008-05-24 01:05:32 +00:00
Paul Gilbert
e2437d33f8 Implemented LureEngine::pauseEngineIntern
svn-id: r32238
2008-05-24 01:03:27 +00:00
Paul Gilbert
76c43c94d1 Changed the delayed sequence list from using a system milliseconds expiry point to a milliseconds countdown - this should fix potential problems that could arise if a modal dialog was kept on-screen too long
svn-id: r32237
2008-05-24 00:54:04 +00:00
Johannes Schickel
600ab40bca Changed all delete [] usages to delete[].
svn-id: r31927
2008-05-07 14:31:45 +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
Paul Gilbert
76b1f4bcea Added a debugger command 'script' to allow execution of script engine methods
svn-id: r31568
2008-04-19 00:34:02 +00:00
Torbjörn Andersson
0dcfa7b3df Fixed warning. (The 'anim' variable shadowed the anim() function.)
svn-id: r31421
2008-04-06 12:17:41 +00:00
Filippos Karapetis
6a9acd7a5e Replaced ManagedList with Common::SharedPtr in the rest of the lure engine
svn-id: r31420
2008-04-06 12:00:37 +00:00
Filippos Karapetis
bd1224e36c Replaced ManagedList with Common::SharedPtr in lure's sound system
svn-id: r31419
2008-04-06 11:12:42 +00:00
Max Horn
29f1e6de38 Advanced detector: replaced kADFlagAugmentPreferredTarget by its inverse, kADFlagDontAugmentPreferredTarget (since all AdvDetector engines except Kyra used kADFlagAugmentPreferredTarget, it seems reasonable to assume that as default)
svn-id: r31413
2008-04-05 22:29:08 +00:00
Torbjörn Andersson
ff688574c4 Changed spaces to tabs.
svn-id: r31362
2008-04-02 04:23:00 +00:00
Paul Gilbert
74e5ef5c56 Commit of Hans de Goede's patches to the sound handling code
svn-id: r31194
2008-03-19 10:37:33 +00:00
Max Horn
63c09d5a40 Removed some unportable and unused code ;-)
svn-id: r31193
2008-03-19 10:18:05 +00:00
Max Horn
6547ef6e12 Started to get rid of Common::EncapsulatedADGameDesc (using plain Common::ADGameDescription instead)
svn-id: r31121
2008-03-14 17:31:04 +00:00
Max Horn
8a9a14002e Advanced Detector: Changed fallback detector from a callback function pointer to an overrideable method of AdvancedMetaEngine
svn-id: r31119
2008-03-14 13:59:31 +00:00
Paul Gilbert
9ac46607fc Bugfix for loading older savegame versions
svn-id: r30879
2008-02-16 05:12:32 +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
Paul Gilbert
fe1078f08f Changed error dialog display to exit ScummVM through the standard execution path rather than using the exit() method
svn-id: r30866
2008-02-14 22:52:57 +00:00
Jordi Vilalta Prat
c103290e2b Initial support for plugin types
svn-id: r30825
2008-02-08 00:02:23 +00:00