aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2
AgeCommit message (Collapse)Author
2009-01-22Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. ↵Max Horn
into methods, and added an operator== svn-id: r35993
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-29Replaced the old stack macros with ScummVM's FixedStack class.Torbjörn Andersson
svn-id: r35603
2008-12-21Move all video players to separate directoryEugene Sandulenko
svn-id: r35470
2008-12-14Enable Smacker support, and switch later HE games to Smacker support (since ↵Travis Howell
they aren't supported yet). svn-id: r35368
2008-12-03Changed readLine_OLD() to readLine_NEW(). I guess both this and the previousTorbjörn Andersson
readLine() change could be more robust, but at least it should be no worse than it was before. svn-id: r35226
2008-12-03Converted the credits scroller to use readLine_NEW() instead of readLine_OLD().Torbjörn Andersson
svn-id: r35224
2008-11-14Committed my patch #2123680 "SDL: Backend transaction / rollback support".Johannes Schickel
svn-id: r35062
2008-11-09Only hide the cursor for in-game pausing. Pausing from the outside is assumed toTorbjörn Andersson
bring up the GUI, which has its own cursor. (This fixes the cursor disappearing when pausing on one of the engine's own dialog windows.) svn-id: r34977
2008-11-09Added a getMaximumSaveSlot() implementation for sword1 and sword2Filippos Karapetis
svn-id: r34969
2008-11-09Removed some code that was added earlier to deal with dimming/undimming theTorbjörn Andersson
palette when pausing the game in a mid-fade. The game can only be paused in mid-fade from the outside, and then the palette isn't dimmed/undimmed. svn-id: r34958
2008-11-09Allow pausing (from the outside) during credits and palette fades. ↵Torbjörn Andersson
Refactored the code to distinguish outside pausing from in-game pausing, to avoid cursor-related problems. The screen is now only dimmed during in-game pausing. svn-id: r34957
2008-11-09Fixed pausing during credits.Torbjörn Andersson
svn-id: r34956
2008-11-09Allow pausing during cutscene movies. (This will need an update to the mixer'sTorbjörn Andersson
getSoundElapsedTime() function to work better.) svn-id: r34954
2008-11-09Moved sound-related settings to syncSoundSettings() for the global options ↵Torbjörn Andersson
dialog. svn-id: r34947
2008-11-06Switched various Engine APIs to use Common::ErrorMax Horn
svn-id: r34916
2008-11-06Got rid of OSystem::colorToRGB and RGBToColor; added implementations for ↵Max Horn
OSystem::getOverlayFormat to several ports (pending testing by the porters) svn-id: r34912
2008-11-05Turned enum PluginError into Common::Error, which in the future is to be ↵Max Horn
used in more places. Help with this is highly welcome svn-id: r34906
2008-11-05Got rid of the unused 'filename' attribute in SaveStateDescriptorMax Horn
svn-id: r34905
2008-11-04Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some ↵Max Horn
EngineFeature comments svn-id: r34896
2008-10-26Renamed engine feature kSupportsDirectLoad to kSupportsLoadingDuringStartup, ↵Filippos Karapetis
as discussed in patch #2122869 svn-id: r34854
2008-10-13Use the save file manager's listSavefiles() function to find out if any ↵Torbjörn Andersson
savegames exist at all. (The old method was to potentially try and open a hundred files, though it would stop after finding the first one.) svn-id: r34790
2008-10-02Engine class changed:Max Horn
- 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-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-30Renamed Engine::quit to Engine::shouldQuit (previously, it was easily ↵Max Horn
confused with Engine::quitGame); also cleaned up engine.h a bit svn-id: r34700
2008-09-13Big patch changing the signature of various Stream methods (some ports may ↵Max Horn
need to be slightly tweaked to fix overloading errors/warnings) svn-id: r34514
2008-09-11Committed my patch #2105593 "Launcher/MetaEngine: Finnished removeSaveState".Johannes Schickel
svn-id: r34495
2008-09-07Replaced Engine::_gameDataPath (a String) by Engine::_gameDataDir (an ↵Max Horn
FSNode); adapted code to that (by using getChild() to get subdirs, not string concatenation svn-id: r34434
2008-09-04Use readLine() instead of readLine_OLD().Torbjörn Andersson
svn-id: r34336
2008-09-03Renamed SeekableReadStream::readLine to SeekableReadStream::readLine_OLD; ↵Max Horn
added a new alternate SeekableReadStream::readLine() instead svn-id: r34315
2008-09-03Moved check for shouldRTL() from engines to scummvm_mainMax Horn
svn-id: r34310
2008-09-03Moved FilesystemNode / FSList to namespace Common; also got rid of some ↵Max Horn
'typedef Common::String String;' name aliases svn-id: r34302
2008-08-16Added a MetaEngineFeature for RTL support, the RTL button is disabled in the ↵Christopher Page
GMM if the engine doesn't support it svn-id: r33921
2008-08-15Defined some MetaEngineFeatures for the engines, the launcher uses these ↵Christopher Page
features to allow/disallow loading and deleting saves svn-id: r33909
2008-08-04Merged revisions ↵Christopher Page
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-07-29Changed class File (and derived classes) to only support read-only access; ↵Max Horn
added a new class DumpFile for writing svn-id: r33412
2008-07-29Added --list-saves support for SWORD2Christopher Page
svn-id: r33396
2008-07-21Merged revisions ↵Christopher Page
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-18Don't crash if you try to use music file #2 as music file #1. When the musicTorbjörn Andersson
wasn't found, it would close the file even if something else was already playing from it. (Some music is in both files.) svn-id: r33094
2008-07-16Quit and RTL code is more modular now. EVENT_RTL no longer sets ↵Christopher Page
_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-13SWORD2 works with the new GMM implementationChristopher Page
svn-id: r33044
2008-06-26Sword2 now uses the new _quit flagChristopher Page
svn-id: r32794
2008-06-04- Removed -Wconversion from compiler options for g++ 4.3, it's behavior has ↵Johannes Schickel
fundamently changed in g++ 4.3 - Added -Wno-empty-body and -Wno-parentheses as compiler flags for g++ 4.3 for *now* (we should think of removing -Wparentheses though) - Fixed some warnings for g++ 4.3 (only for the engines I'm using) svn-id: r32540
2008-05-29Rewrote dimPalette() so that the dimming is now a "filter" between the ScreenTorbjörn Andersson
class and the backend, i.e. as far as the game engine is concerned the palette remains unchanged. (This is similar how to the SCUMM engine handles the "noir" mode in Sam & Max.) This is one small step towards allowing the game to be paused anywhere. svn-id: r32369
2008-05-23Initial implementation of pauseEngineIntern(). There are issues, though, sinceTorbjörn Andersson
the engine doesn't always allow the game to be paused, and some things (GUI, movie cutscenes, credits, ...) are outside the main engine loop. svn-id: r32232
2008-05-07Changed all delete [] usages to delete[].Johannes Schickel
svn-id: r31927
2008-05-06Allow static and dynamic plugins to be used at the same timeJordi Vilalta Prat
svn-id: r31888
2008-02-15Merged lots of _mixer->isReady() warnings into a single one in Engine ↵Max Horn
constructor svn-id: r30871
2008-02-08Initial support for plugin typesJordi Vilalta Prat
svn-id: r30825
2008-02-05I think this is slightly easier to read...Torbjörn Andersson
svn-id: r30803