Commit Graph

152 Commits

Author SHA1 Message Date
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
0414a78a65 Added save/load support from the GMM for the touche engine
svn-id: r35008
2008-11-11 17:57:13 +00:00
Gregory Montoir
edd61a4f40 add missing version check for compressed sound file
svn-id: r35005
2008-11-11 13:08:06 +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
8f33d4a40a Implemented GMM loading (and, once the GMM supports it, saving) for SCUMM
svn-id: r34913
2008-11-06 15:41:38 +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
Max Horn
55c10e0ec6 Patch #2122869: ALL: Common load dialog
svn-id: r34883
2008-11-03 18:32:16 +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
Max Horn
6a2f3dc0b9 Added new type Engine::Feature; pushed down some #include dependencies
svn-id: r34755
2008-10-06 12:48:52 +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
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
ce3d1e1a7d Merged revisions 33632-33633,33635,33637,33639-33640,33642-33645,33648,33654-33655,33664,33667-33670,33673-33674,33678,33682,33686-33691,33693,33696,33698,33700,33703,33708,33710,33712-33714,33716 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r33720
2008-08-09 19:03:29 +00:00
Gregory Montoir
52650efb6a fix for bug #2040484: TOUCHE: Graphic glitch with long answer options
svn-id: r33691
2008-08-07 21:50:12 +00:00
Gregory Montoir
303333352a fix for bug #2040311: TOUCHE: Missing characters in the spanish version
svn-id: r33690
2008-08-07 21:49:55 +00:00
Christopher Page
a51f454076 Added check for valid save slots, when loading savestates using -x
svn-id: r33483
2008-07-31 21:56:05 +00:00
Christopher Page
50b7e5aa0d Added --list-saves support for TOUCHE
svn-id: r33398
2008-07-29 06:04:16 +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
d2e8d4831e Merged revisions 32744-32745,32747,32750-32759,32762-32764,32769,32777,32783,32785-32786,32789-32791,32798-32799,32801-32807,32809-32812,32816-32817,32819-32821,32823-32830,32832-32836,32838-32844,32846-32850,32852-32854,32858-32859,32865-32868,32873-32874,32879,32883,32895,32899,32902-32904,32910-32912,32923-32924,32930-32931,32938,32940,32948-32949,32951,32960-32964,32966-32970,32972-32974,32976,32978,32983,32986-32990,32992,32994,33002-33004,33006-33007,33009-33010,33014,33017,33021-33023,33030,33033 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r33051
2008-07-14 00:10:09 +00:00
Christopher Page
c210f90a62 TOUCHE works with the new GMM implementation
svn-id: r33046
2008-07-13 22:24:55 +00:00
Christopher Page
718a85e30d Sound settings for TOUCHE can be configured through the GMM
svn-id: r32864
2008-07-01 03:21:30 +00:00
Gregory Montoir
b6adcca897 moved midi driver object creation to MidiPlayer class (to match delete call)
svn-id: r32798
2008-06-26 10:12:12 +00:00
Gregory Montoir
c9a8fb25f3 flag 611 can be set from the scripts, set _quit when that happens.
svn-id: r32796
2008-06-26 07:13:05 +00:00
Christopher Page
102d79440d Touche now uses the new _quit flag
svn-id: r32795
2008-06-26 05:04:42 +00:00
Christopher Page
4d7798825c TOUCHE: Reverted some comments that were used for testing purposes
svn-id: r32641
2008-06-09 22:26:05 +00:00
Christopher Page
a98a350d14 TOUCHE: Fixed a memory leak
svn-id: r32566
2008-06-06 00:34:47 +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
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
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
Jordi Vilalta Prat
c103290e2b Initial support for plugin types
svn-id: r30825
2008-02-08 00:02:23 +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
Torbjörn Andersson
e51bf80218 Changed "COMPATIBLITY" to "COMPATIBILITY".
svn-id: r30754
2008-02-03 10:15:36 +00:00
Max Horn
34b35348be Moved AdvancedMetaEngine to namespace Common
svn-id: r30736
2008-02-02 11:52:04 +00:00
Max Horn
dc979b03cf New MetaEngine class (work in progress to replace the current Engine plugin API with a more object oriented approach)
svn-id: r30726
2008-02-02 00:54:52 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Kostas Nakos
1f6237567e add virtual keyboard show/hide calls
svn-id: r30388
2008-01-10 22:04:00 +00:00
Gregory Montoir
3d59f80520 don't expose the Common::drawLine implementation details in client code, keep it local to graphics.cpp.
svn-id: r29640
2007-11-25 23:26:50 +00:00
Eugene Sandulenko
8d228219c9 Switch to our common drawLine routine
svn-id: r29635
2007-11-25 10:27:50 +00:00
Gregory Montoir
cbd9963af7 fix bug #1834852
svn-id: r29586
2007-11-20 21:00:41 +00:00
Gregory Montoir
52b18c9ae6 simplification, increased game state filenames
svn-id: r29399
2007-11-04 03:02:32 +00:00
Eugene Sandulenko
c640d1c604 Patch #1825276: "DETECTION: advanced detector engine simplification"
svn-id: r29386
2007-11-03 21:06:58 +00:00
Gregory Montoir
7ca277d252 don't update the screen directly after a gamestate load ; keychars and room background are now redrawn on the same frame (bug #1751226)
svn-id: r29133
2007-09-29 19:14:38 +00:00
Gregory Montoir
bdffcca128 workaround for original game glitch (bug #1751170)
svn-id: r29132
2007-09-29 19:13:04 +00:00
Gregory Montoir
d8831b44da simplified touche savegame listing
svn-id: r29112
2007-09-27 20:38:23 +00:00
Gregory Montoir
3d2485ca97 rename ui.cpp to menu.cpp for consistency with other engines
svn-id: r29108
2007-09-26 19:26:12 +00:00