Commit Graph
83 Commits
Author SHA1 Message Date
Alyssa Milburn 7a12796bba SKY: Support external digital music tracks.
This allows replacement of the supplied MIDI music with tracks from
the Music Enhancement Project.
2011-11-14 20:45:00 +01:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion 9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
dhewg 5e8907fc3c SKY: Cleanup volume levels initialization 2011-03-19 16:49:15 +01:00
dhewg f621f6a505 SKY: get rid of timer based gfx updates
on most platforms timers are implemented using threads. never ever make
gfx updates from another thread other than the main one. seriously.
replace the whole timer crap in sky with timestamp based updates.
this fixes crashes when OpenGL is enabled (android included).

needs more testing.
2011-02-14 10:18:38 +01:00
Max Horn 42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Torbjörn Andersson c91a07229a JANITORIAL: Removed most punctuation at end of warning() and error()
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.

svn-id: r52791
2010-09-18 10:55:16 +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
Florian Kagerer c35e350531 AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either select MDT_PREFER_MT32 or MDT_PREFER_GM
svn-id: r50288
2010-06-25 20:51:57 +00:00
Max Horn bbad3f333a Patch #1956501: "GUI/LAUNCHER: Midi device selection"
svn-id: r50128
2010-06-21 21:36:36 +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
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
Johannes Schickel 0d995c5920 Rename all "Adlib" uses to "AdLib" to match the real name of the sound card / company.
Check this for reference:
http://en.wikipedia.org/wiki/Ad_Lib,_Inc.
http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card)

This commit does not touch "adlib" and "ADLIB" uses!

Also it does not update all the SCUMM detection entries, which still use "Adlib".

svn-id: r47279
2010-01-12 21:07:56 +00:00
Max Horn c8873d8492 Changed MidiDriver::createMidi to take a MidiDriverType instead of an int
svn-id: r46316
2009-12-09 18:12:51 +00:00
Max Horn 51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Joost Peters 72e2b9fe5a commit peres' patch for #2813472: BASS: "showgrid" enabled triggers an assert
svn-id: r42470
2009-07-14 09:44:56 +00:00
Travis Howell 64498f074d Add German floppy demo of BASS.
svn-id: r40234
2009-05-02 05:44:40 +00:00
Torbjörn Andersson baca072844 Call updateScreen() from the delay() function, like we do in so many other
engines, to ensure smooth mouse movement.

svn-id: r39433
2009-03-15 22:52:40 +00:00
Joost Peters f7b963101f Fix 1690836: "BASS: Speed difference"
The original game's delay was 4 50hz ticks = 80ms (1000 / 50 * 4).
Changing gameSpeed to match this makes it run at exactly the same speed as in dosbox.

svn-id: r36318
2009-02-14 00:21:53 +00:00
Joost Peters f051fbb9d8 Formatting changes / consistency
svn-id: r36304
2009-02-13 16:55:16 +00:00
Max Horn df20d264fd Pushing down some header deps (on common/system.h, mostly)
svn-id: r35542
2008-12-25 20:40:00 +00:00
Torbjörn Andersson c2424b04a5 Fixed bug #2394861 ("BASS: artifacts if skipping intro on wrong screen"). As an
added bonus, the Intro class is now freed as soon as the intro is over, rather
than at the end of the game.

svn-id: r35280
2008-12-07 17:32:25 +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 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 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 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 8b01922317 Improved GMM sound settings support for SKY
svn-id: r33178
2008-07-21 19:37:12 +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 27c427add2 Scumm and sky now use the new _quit flag
svn-id: r32775
2008-06-25 03:17:01 +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 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