Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-04-12 | COMMON: Replace MKID_BE by MKTAG | Max Horn | |
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro. | |||
2011-04-06 | SAGA: Fixed bug #3275973 - "IHNM: Dialog options vanish" | md5 | |
2011-03-29 | JANITORIAL: Remove/comment unused vars | dhewg | |
Found by GCC 4.6's -Wunused-but-set-variable | |||
2011-03-28 | AUDIO: Add Audio::MidiPlayer::createDriver(), let some engines use it | Max Horn | |
2011-03-25 | SAGA: Add missing include | dhewg | |
2011-03-25 | SAGA: Change Sage to use Audio::MidiPlayer | Max Horn | |
2011-03-24 | SAGA: Rename some MusicDriver members to match Audio::MidiPlayer | Max Horn | |
2011-03-23 | ENGINES: Further simplify pseudo MidiDrivers; fix some regressions | Max 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-23 | AUDIO: Change several fake MidiDrivers to MidiDriver_BASE subclasses | Max 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-22 | AUDIO: Add pure virtual MidiDriver::isOpen() method | Max 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-19 | SAGA: Cleanup syncSoundSettings() | dhewg | |
And respect global mute settings | |||
2011-02-20 | SAGA: Fixed palette setting inside Gfx::setPaletteColor() (thanks to ↵ | md5 | |
LordHoto for noticing this) | |||
2011-02-19 | SAGA: Convert Gfx::palFade to the setPalette RGBA->RGB change too. | Johannes Schickel | |
2011-02-14 | SAGA: Adapt to setPalette RGBA->RGB change. | Johannes Schickel | |
2011-02-09 | AUDIO: Rename sound/ dir to audio/ | Max Horn | |
svn-id: r55850 | |||
2011-02-07 | ALL: Fix whitespaces / indention | Max Horn | |
svn-id: r55818 | |||
2011-02-07 | COMMON: OSystem now has a PaletteManager | Max Horn | |
svn-id: r55806 | |||
2011-02-02 | MIDI: Fix for bug #3170988 - "MONKEY2: Messed up MT-32 music" | Filippos Karapetis | |
This is a regression from r55256. Apparently, SCUMM has issues when sending a sustain off on a notes off event. Thus, this has been turned into a feature, which is disabled by default. Since MADE, SAGA and tinsel all share the same music code and play regular MIDI files, and this feature fixes hanging notes for them, it has been enabled for them. Also, applied a patch for a bug regarding the notes off event in MADE and tinsel, which has been applied in SAGA already svn-id: r55746 | |||
2011-01-31 | SAGA: Simplified loadActorResources() and removed the unused _disabled field | Filippos Karapetis | |
svn-id: r55687 | |||
2011-01-31 | SAGA: Fixed compilation with MSVC | Filippos Karapetis | |
svn-id: r55683 | |||
2011-01-31 | SAGA: Fixed compilation | Filippos Karapetis | |
svn-id: r55680 | |||
2011-01-31 | SAGA: Fixed some typos, and removed an obsolete comment | Filippos Karapetis | |
svn-id: r55679 | |||
2011-01-31 | SAGA: Split the resource patching code into appropriate game-specific ↵ | Filippos Karapetis | |
resource methods svn-id: r55678 | |||
2011-01-31 | SAGA: Turned several unnecessarily inherited classes into typedefs | Filippos Karapetis | |
svn-id: r55677 | |||
2011-01-31 | SAGA: Rewrote the MacBinary resource loading code | Filippos Karapetis | |
This simplifies the overall code and makes it easier to understand. Also, a bug with the speech in the MacBinary packed version has been corrected, so there are no more clicking sounds before each sample. The Common::MacResMan code isn't really useful here, since it doesn't expose the offsets and sizes of the actual files, which is what is needed in SAGA. svn-id: r55674 | |||
2011-01-23 | VIDEO: Move video classes to Video:: namespace | Eugene Sandulenko | |
svn-id: r55479 | |||
2011-01-23 | GRAPHICS: Move graphics/video/ to video/. Step 1/2 | Eugene Sandulenko | |
svn-id: r55473 | |||
2011-01-08 | SAGA: Include scummsys.h to force rebuild after reconfigure | Willem Jan Palenstijn | |
svn-id: r55155 | |||
2010-12-16 | VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointer | Matthew Hoops | |
svn-id: r54927 | |||
2010-11-23 | COMMON: Remove default value for endianess in ReadStreamEndian subclasses | Max Horn | |
svn-id: r54441 | |||
2010-11-19 | COMMON: Split common/stream.h into several headers | Max Horn | |
svn-id: r54385 | |||
2010-11-18 | ENGINES: Do not use MemoryReadStream where (Seekable)ReadStream suffices; ↵ | Max Horn | |
avoid using 'using' svn-id: r54323 | |||
2010-11-08 | BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes only | Max Horn | |
This commit contains the AudioCDManager changes from the gsoc2010-opengl branch. The other changes in that branch are restricted to the backends directory only (plus configure). The Nintendo DS and Dreamcast ports still need to be ported over to the new Audio CD system, but that should be fairly easy to do. svn-id: r54147 | |||
2010-10-24 | SAGA: reduce memory usage | Andrew Kurushin | |
svn-id: r53782 | |||
2010-10-24 | SAGA: fix SAGA_DEBUG; fix IHNM cutaway typo | Andrew Kurushin | |
svn-id: r53781 | |||
2010-10-24 | SAGA: fix const cast warns | Andrew Kurushin | |
svn-id: r53780 | |||
2010-10-24 | SAGA: replace Resource:loadResource malloc with ByteArray class | Andrew Kurushin | |
svn-id: r53779 | |||
2010-10-24 | SAGA: replace Scene::_resourceList, Interface::_inventory malloc arrays with ↵ | Andrew Kurushin | |
Common::Array svn-id: r53773 | |||
2010-10-24 | SAGA: replace Actor::_actors and _objs malloc base arrays with Common::Array | Andrew Kurushin | |
svn-id: r53766 | |||
2010-10-24 | ALL: Fix various typos (patch #3093266) | Max Horn | |
svn-id: r53762 | |||
2010-10-23 | SAGA: replace Events malloc base linked list with Common::List | Andrew Kurushin | |
svn-id: r53751 | |||
2010-10-23 | SAGA: fix typo | Andrew Kurushin | |
svn-id: r53750 | |||
2010-10-23 | SAGA: replace decodeBGImage malloc with ByteArray | Andrew Kurushin | |
svn-id: r53748 | |||
2010-10-23 | ALL: Fix indention (whitespaces -> tabs) | Max Horn | |
svn-id: r53738 | |||
2010-10-23 | SAGA: Add some const qualifiers to SagaEngine methods | Max Horn | |
svn-id: r53737 | |||
2010-10-23 | SAGA: Improve comment for ByteArray::getBuffer() | Max Horn | |
svn-id: r53736 | |||
2010-10-22 | SAGA: fix gcc size_t warns | Andrew Kurushin | |
svn-id: r53722 | |||
2010-10-22 | SAGA: replace Actor::_pathCell, Anim::*, Converse::text, IsoMap::*, ↵ | Andrew Kurushin | |
Music::_songTable, ObjectMap::*, PalAnim::*, Scene::sceneLut, SndRes::_fxTable* malloc based arrays with Common::Array implementation add ByteArray type fix debug Tile Hittest frame drawing debug 0x%x => 0x%X svn-id: r53719 | |||
2010-10-21 | SAGA: fix gcc warn | Andrew Kurushin | |
svn-id: r53679 | |||
2010-10-21 | SAGA: replace Script and Thread "::*alloc" & "::free" with Common::Array | Andrew Kurushin | |
svn-id: r53678 |