aboutsummaryrefslogtreecommitdiff
path: root/engines/draci
AgeCommit message (Collapse)Author
2011-06-10DRACI: Switch to alternate AdvancedMetaEngine, avoid ADParamsMax Horn
2011-06-10ENGINES: Change incorrect use of 'target' to 'gameid'Max Horn
2011-06-02ENGINES: Change 2nd param of Engine::saveGameState to Common::StringMax Horn
2011-06-02DRACI: Remove all instances of s(n)printfMax Horn
2011-06-02DRACI: Replace snprintf() usage with Common::String::format()D G Turner
Safer and less portability issues.
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-22ENGINES: Further unify engine namesThierry Crozat
2011-05-17COMMON: Registers RandomSources in constructor with the event recorderMax Horn
This also removes the dependency of engines on the event recorder header and API, and will make it easier to RandomSources that are not properly registered.
2011-05-16ENGINES: Unify engine namesThierry Crozat
This unifies the engine names in MetaEngine::getName() and the credits. In particular drop "Engine" or "engine" from the names when it was present and use expanded names in credits when the MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
2011-04-22DRACI: Fix VS2010 Code Analysis Warnings Reported in Bug #3290634D G Turner
Minor correction to use integer value, rather than boolean.
2011-04-18Merge pull request "New mixer mute handling."Johannes Schickel
See https://github.com/scummvm/scummvm/pull/12 for more information.
2011-04-17DRACI: Prefer Surface::create taking a PixelFormat over the one taking a ↵Johannes Schickel
byte depth.
2011-04-16AUDIO: Renamed mute related functions in Mixer.Johannes Schickel
This renames setMuteForSoundType to muteSoundType and getMuteForSoundType to isSoundTypeMuted.
2011-04-14ALL: colour -> colorMax Horn
2011-04-13DRACI: Adapt to new muting style.Johannes Schickel
2011-03-28AUDIO: Add Audio::MidiPlayer::createDriver(), let some engines use itMax Horn
2011-03-25AUDIO: Move more common code to Audio::MidiPlayerMax Horn
This also should fix some regressions from the previous commits, related to MidiParser's either being leaked, or being deleted and then used again (i.e., crashing). I tested as many games as I had available, but further testing of all affected engines is called for anyway.
2011-03-24DRACI: Change MusicPlayer to derive from Audio::MidiPlayerMax Horn
2011-03-24DRACI: Fix incorrect 'all notes off' handlingMax Horn
2011-03-23ENGINES: Remove unused MIDI pass-through codeMax Horn
2011-03-23ENGINES: Further simplify pseudo MidiDrivers; fix some regressionsMax Horn
The regression affected AGOS and maybe some others; specifically, the real MidiDriver would have been deleted twice -- I previously missed that the Engine instances takes care of freeing the real MidiDriver, not the MidiPlayer wrapping it. This commit should clarify the ownership of the real MidiDriver for most pseudo MidiDrivers.
2011-03-23AUDIO: Change several fake MidiDrivers to MidiDriver_BASE subclassesMax Horn
Many engines follow the advice in audio/midiparser.h and create a "pseudo-MidiDriver" subclass. But MidiParser really only needs a tiny subset of the MidiDriver capabilities, namely those found in MidiDriver_BASE. So we try to subclass from that whenever possible; this allows us to remove many stub methods, and enables further future simplifications.
2011-03-22AUDIO: Add pure virtual MidiDriver::isOpen() methodMax Horn
This in turn enables modifying MidiDriver_MPU401::close() to allow it to be called on a midi driver that has not yet been opened. The specific issue that triggered me to make these changes was a crash-upon-quit in HUGO, caused by it instantiating a midi driver, then encountering an error (missing hugo.dat) *before* having opened the new midi driver; the general cleanup code then tries to close the (not yet opened) midi driver -> kaboom Also fixed some engines which were leaking MidiDriver instances.
2011-03-19DRACI: Respect global mute settingsdhewg
2011-03-19DRACI: Init volume levels on startupdhewg
2011-02-14DRACI: Adapt to setPalette RGBA->RGB.Johannes Schickel
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2010-12-07DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engineMax Horn
svn-id: r54815
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-18ENGINES: Do not use MemoryReadStream where (Seekable)ReadStream suffices; ↵Max Horn
avoid using 'using' svn-id: r54323
2010-11-07DRACI: Added basic debugging console to engineDavid Turner
Since DRACI uses Debug Channels, this allows for the interactive setting of debugflags as well as providing a base for adding further debugging commands. svn-id: r54116
2010-11-07ENGINES: Unify code layout of all ADParams instancesMax Horn
svn-id: r54105
2010-10-29DRACI: Switch to the new play time counting of the Engine class.Johannes Schickel
svn-id: r53925
2010-10-23ALL: Fix indention (whitespaces -> tabs)Max Horn
svn-id: r53738
2010-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
2010-09-15DRACI: Initialize MIDI channel volume properly.Johannes Schickel
This fixes bug #3067148 "DRACI: Volume range not respected". It seems Draci's MIDI files do not setup the channel volume properly before using the channels, but rely on having the maxed out. Since formerly the channel volume was initialized to 255, it caused the channel volume to be zero in case the user used 128 for his volume settings (128*255/255=128, and MIDI volume goes from 0-127). svn-id: r52738
2010-09-15MIDI: Send a reset MIDI device signal on startup.Johannes Schickel
This is currently done in the engine code. I adapted AGI, AGOS, DRACI, GROOVIE, LURE, MADE, QUEEN, SAGA, SKY, TINSEL and TOUCHE to send a reset device on startup. The sound output still works fine (started up a game from every engine), so this should hopefully not introduce any regressions. As far as I can tell it seems that SCUMM does send a proper device reset, so I did not touch it. KYRA only sends a proper reset for MT-32 currently. I am not sure about SCI though. This fixes bug #3066826 "SIMON: MIDI notes off when using RTL after SCI". svn-id: r52736
2010-08-17DRACI: Fix warningsEugene Sandulenko
svn-id: r52144
2010-08-03DRACI: recognize German translationRobert Špalek
svn-id: r51707
2010-07-29BUILD: Remove redundant MODULE_DIRS modificationMax Horn
svn-id: r51464
2010-07-14Changed abs() to ABS() in a few places.Torbjörn Andersson
svn-id: r50890
2010-07-03Finish support of compressed dubbingRobert Špalek
Now even the length of a compressed stream is measured precisely and the dubbing sounds exactly like the original. svn-id: r50618
2010-07-03Dragon History tries uses compressed dubbing when availableRobert Špalek
Timing of speaking is not fixed yet. svn-id: r50614
2010-07-01Fix a typo in the RAW format bugfix :-)Robert Špalek
svn-id: r50559