aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/sword2.cpp
AgeCommit message (Collapse)Author
2010-07-23SWORD2: Improve sync between local and global "mute" settingsTorbjörn Andersson
Broken Sword 2's options dialog allows you to mute any of speech, sound and sound effects, whereas ScummVM's options dialog just has one "master" mute setting. This is an attempt to keep them better in sync, though it's not perfect. Still, it may be good enough to fix bug #3032763 ("SWORD2: Mute setting does not work"). svn-id: r51218
2010-07-17DEBUGGER: Simplify how our console debugger works / is usedMax Horn
* Remove _isAttached member var and isAttached method * Engines now always call the onFrame method; whether it does something is decided by the debugger class resp. its subclasses * Make detach() protected instead of private, so that subclasses can invoke it * Remove _detach_now member var (call detach() instead). * Rename _frame_countdown to _frameCountdown and properly document it. * Add more doxygen comments * Cleanup svn-id: r50963
2010-05-04Move initGraphics and initCommonGFX from to new header.Max Horn
These functions are only used internally be Engine subclasses, and by moving them to a separate header we can reduce indirect header dependencies. svn-id: r48934
2010-05-04Get rid of Engine::_gameDataDir.Max Horn
This greatly reduces indirect dependencies on several header files from common. svn-id: r48933
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-02-21Patch for bug 2943361 by littleboy, adding full kb modifier support to all ↵Yotam Barnoy
engines + GUI and proper keypad handling svn-id: r48101
2010-01-03Change BS 1 & 2 to I & II (see discussion on -devel)Max Horn
svn-id: r46951
2009-09-23Got rid of Common::File::addDefaultDirectory, instead implemented the ↵Johannes Schickel
solution proposed in "Case agnostic handling for directories (and files)" on -devel. svn-id: r44266
2009-07-25Move the event recorder to its own class (EventRecoder inside ↵Johannes Schickel
common/EventRecorder.[h/cpp]). svn-id: r42751
2009-06-06Add GUI options support to Sky, Queen and Sword1&2 engines (which do not use AD)Eugene Sandulenko
svn-id: r41274
2009-05-29Changed SaveFileManager methods to take Common::String params (instead of ↵Max Horn
char pointers) svn-id: r41000
2009-05-27sword2: base psx demo detection on screens.clu, and let the user decide ↵Fabio Battaglia
between full and demo version at the time of adding the game svn-id: r40937
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-06Const correctnessEugene Sandulenko
svn-id: r40346
2009-04-18sword2: add support for BS2 PSX demoFabio Battaglia
svn-id: r39977
2009-04-07Sword2: PSX version support, and GMM loading/savingFabio Battaglia
svn-id: r39896
2009-03-15sword2: added detection for Broken Sword 2 PSX, and a check to say wether pc ↵Fabio Battaglia
or psx version is run svn-id: r39417
2009-03-05Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match ↵Jordi Vilalta Prat
the meaning of the returned string, as discussed some time ago in scummvm-devel svn-id: r39132
2009-03-01Engines: Fused several init&go methods into a single run methodMax Horn
svn-id: r39003
2009-02-15Applied my patch for the BS1/2 video playerFilippos Karapetis
- Support for the MPEG2 videos in BS1/2 has been dropped. The MPEG2 videos were lossy, and support for them complicated the code a lot. - Support for the non-existing enhanced MPEG cutscene packs for BS1 has been dropped. As a consequence, the credits player and the splitted audio stream players used for these packs has been removed - The original Smacker videos for both games are now supported, using our Smacker player (which is based off publically available specs and FFMPEG) - The animations now use the common video player code. Both the Smacker videos and our DXA video packs are supported svn-id: r38236
2009-02-07Make the subtitle settings in Options section of the global main menu ↵Travis Howell
optional, and enable only for game engines where subtitles settings are synced. svn-id: r36237
2009-01-31Disable the "press c for credits" hotkey (which wasn't in the original anyway)Torbjörn Andersson
because of strange rumors about the credits running spontaneously every few minutes. I don't know if this is a temporary or permanent measure. svn-id: r36155
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
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-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-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-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-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-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-07-29Added --list-saves support for SWORD2Christopher Page
svn-id: r33396
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-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-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