Torbjörn Andersson
cc6f4f4cdc
SWORD2: Improve sync between local and global "mute" settings
...
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-23 19:52:58 +00:00
Max Horn
1d4c82885d
DEBUGGER: Simplify how our console debugger works / is used
...
* 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-07-17 18:38:42 +00:00
Max Horn
b3e404109c
Move initGraphics and initCommonGFX from to new header.
...
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-04 11:58:12 +00:00
Max Horn
5568a8473b
Get rid of Engine::_gameDataDir.
...
This greatly reduces indirect dependencies on several header files
from common.
svn-id: r48933
2010-05-04 11:56:52 +00:00
Max Horn
cac0ac66e2
COMMON: Get rid of Common::StringList
...
svn-id: r48287
2010-03-18 15:54:40 +00:00
Yotam Barnoy
ef330ed9b4
Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
...
svn-id: r48101
2010-02-21 04:04:13 +00:00
Max Horn
df81b68967
Change BS 1 & 2 to I & II (see discussion on -devel)
...
svn-id: r46951
2010-01-03 21:20:05 +00:00
Johannes Schickel
c50940bbf4
Got rid of Common::File::addDefaultDirectory, instead implemented the solution proposed in "Case agnostic handling for directories (and files)" on -devel.
...
svn-id: r44266
2009-09-23 00:15:00 +00:00
Johannes Schickel
7e71865e91
Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
...
svn-id: r42751
2009-07-25 12:59:46 +00:00
Eugene Sandulenko
eb909702af
Add GUI options support to Sky, Queen and Sword1&2 engines (which do not use AD)
...
svn-id: r41274
2009-06-06 17:57:39 +00:00
Max Horn
fb79b18571
Changed SaveFileManager methods to take Common::String params (instead of char pointers)
...
svn-id: r41000
2009-05-29 14:38:22 +00:00
Fabio Battaglia
c0d13da750
sword2: base psx demo detection on screens.clu, and let the user decide between full and demo version at the time of adding the game
...
svn-id: r40937
2009-05-27 09:52:32 +00:00
Johannes Schickel
b3c6751b9b
Strip trailing whitespaces in the whole code base.
...
svn-id: r40867
2009-05-24 15:17:42 +00:00
Eugene Sandulenko
af4d23f762
Const correctness
...
svn-id: r40346
2009-05-06 09:12:24 +00:00
Fabio Battaglia
0b2e06e4a4
sword2: add support for BS2 PSX demo
...
svn-id: r39977
2009-04-18 08:37:22 +00:00
Fabio Battaglia
dc9c538a62
Sword2: PSX version support, and GMM loading/saving
...
svn-id: r39896
2009-04-07 19:52:46 +00:00
Fabio Battaglia
1f299bb24a
sword2: added detection for Broken Sword 2 PSX, and a check to say wether pc or psx version is run
...
svn-id: r39417
2009-03-15 11:36:16 +00:00
Jordi Vilalta Prat
047f116515
Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
...
svn-id: r39132
2009-03-05 12:04:58 +00:00
Max Horn
dd98126423
Engines: Fused several init&go methods into a single run method
...
svn-id: r39003
2009-03-01 04:42:46 +00:00
Filippos Karapetis
781d7da6b1
Applied my patch for the BS1/2 video player
...
- 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-15 13:29:48 +00:00
Travis Howell
9f2d6d82ca
Make the subtitle settings in Options section of the global main menu optional, and enable only for game engines where subtitles settings are synced.
...
svn-id: r36237
2009-02-07 06:47:19 +00:00
Torbjörn Andersson
7cab911532
Disable the "press c for credits" hotkey (which wasn't in the original anyway)
...
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-31 07:57:41 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +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
Torbjörn Andersson
926193c9c3
Only hide the cursor for in-game pausing. Pausing from the outside is assumed to
...
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-09 20:35:06 +00:00
Filippos Karapetis
7d8e4ca59b
Added a getMaximumSaveSlot() implementation for sword1 and sword2
...
svn-id: r34969
2008-11-09 19:30:09 +00:00
Torbjörn Andersson
d896c892e5
Allow pausing (from the outside) during credits and palette fades. 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-09 14:32:24 +00:00
Torbjörn Andersson
2e9e68fc8e
Fixed pausing during credits.
...
svn-id: r34956
2008-11-09 13:50:41 +00:00
Torbjörn Andersson
db3438f2c9
Allow pausing during cutscene movies. (This will need an update to the mixer's
...
getSoundElapsedTime() function to work better.)
svn-id: r34954
2008-11-09 13:20:43 +00:00
Torbjörn Andersson
18414f0a0a
Moved sound-related settings to syncSoundSettings() for the global options dialog.
...
svn-id: r34947
2008-11-09 11:52:52 +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
c7fde102e3
Renamed FilesystemNode -> FSNode
...
svn-id: r34716
2008-10-02 16:58:59 +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
2bc093828f
Replaced Engine::_gameDataPath (a String) by Engine::_gameDataDir (an FSNode); adapted code to that (by using getChild() to get subdirs, not string concatenation
...
svn-id: r34434
2008-09-07 22:10:58 +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
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
cf97920930
Added --list-saves support for SWORD2
...
svn-id: r33396
2008-07-29 05:05:04 +00:00
Christopher Page
796e606971
SWORD2 works with the new GMM implementation
...
svn-id: r33044
2008-07-13 22:00:39 +00:00
Christopher Page
d2c0b9d003
Sword2 now uses the new _quit flag
...
svn-id: r32794
2008-06-26 04:54:29 +00:00
Torbjörn Andersson
7833dd87a5
Rewrote dimPalette() so that the dimming is now a "filter" between the Screen
...
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-29 20:32:27 +00:00
Torbjörn Andersson
4b06f42ff3
Initial implementation of pauseEngineIntern(). There are issues, though, since
...
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-23 17:54: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
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