Commit Graph

148 Commits

Author SHA1 Message Date
Joost Peters
5b04ab7883 un-break sky engine after recent gfx transaction changes
svn-id: r35126
2008-11-20 13:03:29 +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
7c40410ba7 Slight cleanup
svn-id: r35027
2008-11-12 21:15:35 +00:00
Filippos Karapetis
4952526581 Deleting save states via the launcher and the GMM is now supported in the sky engine
svn-id: r35026
2008-11-12 21:08:50 +00:00
Filippos Karapetis
6bfee1bae4 Saving and loading from the GMM is now supported in the sky engine
svn-id: r35024
2008-11-12 20:41:19 +00:00
Filippos Karapetis
c21038a448 Moved sky detection and meta engine specific code from sky.cpp into detection.cpp, like other engines
svn-id: r35015
2008-11-12 12:36:20 +00:00
Filippos Karapetis
c36a8c1c72 Added getMaximumSaveSlot definition for the sky engine
svn-id: r35011
2008-11-11 23:35:18 +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
f32be87633 Turned enum PluginError into Common::Error, which in the future is to be used in more places. Help with this is highly welcome
svn-id: r34906
2008-11-05 17:24:56 +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
Max Horn
7443b599c4 SKY: Fix detector to not (ab)use FSNode::getPath; if you want to open a FSNode, just pass it to File::open
svn-id: r34704
2008-09-30 12:59:29 +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
Max Horn
2f30e5f63d Comment out some #defines in skydefs.h as they conflict with other headers (esp. T2 conflicts with some template defs)
svn-id: r34425
2008-09-07 21:38:53 +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
531bcf847c Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
svn-id: r34302
2008-09-03 11:22:51 +00:00
Joost Peters
3fef592c20 fix Virgin logo screen breakage that was introduced in the RTL merge
svn-id: r34267
2008-09-02 00:31:27 +00:00
Christopher Page
58166351c6 Made sure to set the loading slot AFTER selecting the active domain when loading from the launcher. Also fixed the flickering Virgin logo in BASS
svn-id: r33949
2008-08-16 22:06:44 +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
2d31207a81 Fixed some memory leaks
svn-id: r33846
2008-08-13 20:27:39 +00:00
Christopher Page
4198ee9623 Merged revisions 33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
 

svn-id: r33624
2008-08-04 22:34:07 +00:00
Torbjörn Andersson
117dee5e4a Fixed bug #1995033 ("BASS: BG Sound stopped on opening item list"). Apparently
the sound is supposed to be paused and then unpaused, but the pause function is
called many more times than the unpause function. In the original, this
presumably didn't matter. In ScummVM's mixer, it does.

svn-id: r33570
2008-08-03 10:16:17 +00:00
Torbjörn Andersson
e8cee7823d Fixed bug #1995022 ("BASS: wrong displayed 2 line text").
svn-id: r33568
2008-08-03 09:51:13 +00:00
Torbjörn Andersson
dcecff4829 Fixed bug that prevented upper-case letters from being used in savegame names.
Apparently, strchr(..., 0) will find the string terminator - at least for me -
and when that's added to the name, it will terminate the string.

svn-id: r33565
2008-08-03 09:41:10 +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
Max Horn
0be985ce83 Changed class File (and derived classes) to only support read-only access; added a new class DumpFile for writing
svn-id: r33412
2008-07-29 16:09:10 +00:00
Christopher Page
8b01922317 Improved GMM sound settings support for SKY
svn-id: r33178
2008-07-21 19:37:12 +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
a6e1d6bd3d SKY works with the new GMM implementation, also updated gui/newgui.cpp and prevented pushEvent from pushing more than one EVENT_QUIT into the artificialEventQueue
svn-id: r33041
2008-07-13 20:41:39 +00:00
Christopher Page
d0dcc1ad79 Quit or RTL from the main menu now triggers an EVENT_QUIT in DefaultEventManager::pollEvent()
svn-id: r32813
2008-06-26 22:03:49 +00:00
Christopher Page
e53556af85 Fixed quitting from BASS intro, cleaned up comments in agos
svn-id: r32793
2008-06-26 00:50:16 +00:00
Christopher Page
27c427add2 Scumm and sky now use the new _quit flag
svn-id: r32775
2008-06-25 03:17:01 +00:00
Christopher Page
0f41f1ccf4 SKY: Fixed a memory leak in SKY engine
svn-id: r32578
2008-06-06 16:40:39 +00:00
Torbjörn Andersson
89e0c0b315 Since BASS treats speech separately from other sounds, let's use the
speech_volume setting for that, as suggested on the forum.

svn-id: r31941
2008-05-08 05:05: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
d31ca4982e Add support for --list-saves to the sky engine
svn-id: r30987
2008-02-27 16:07:38 +00:00
Max Horn
d4e9661809 Modified the BASS save/load code to use a StringList for storing the save state titles (simplified the code, removed some cruft)
svn-id: r30986
2008-02-27 15:44:39 +00:00
Max Horn
778309ed56 Simplified Control::handleKeyPress and fixed a long-standing bug in the verification of the save name
svn-id: r30981
2008-02-27 11:03:09 +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
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
Max Horn
015e73b792 cleanup
svn-id: r30777
2008-02-03 18:23:27 +00:00
Torbjörn Andersson
e51bf80218 Changed "COMPATIBLITY" to "COMPATIBILITY".
svn-id: r30754
2008-02-03 10:15:36 +00:00
Jordi Vilalta Prat
c070f0d04f Converted queen and sky to use MetaEngine (forgot them because they don't use the AdvancedDetector).
svn-id: r30752
2008-02-03 09:39:26 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Paul Gilbert
6eb64102a4 Fix to remove a tab character from the GPL header
svn-id: r30238
2008-01-05 12:45:14 +00:00
Max Horn
3d46219592 Patch #1689516: BASS: Update the cursor when right-clicking in inventory
svn-id: r30085
2007-12-30 17:58:22 +00:00