aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
AgeCommit message (Collapse)Author
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2010-03-10Fix bug #2963556: SAGA: Memory leaks #2Andrew Kurushin
isomap-malloc to Common::Array conversation svn-id: r48232
2010-03-10Fix a valgrind warning.Johannes Schickel
It is *not* a good idea to pass a reference to a list entry to List::remove. Since List::remove will remove *all* occurances of that list entry, it will also invaldiate the reference, resulting in invalid memory reads after the entry has been removed from the list, when List::remove will continue to search the rest of the list for more occurances of the same entry. svn-id: r48225
2010-03-10Fix bug #2963556: SAGA: Memory leaksAndrew Kurushin
svn-id: r48224
2010-03-10Silenced some harmless cppcheck warnings about unreachable code after a return.Torbjörn Andersson
In this case, it was always a break after a return in a switch case. There are similar cases which cppcheck didn't detect, and a couple of cases where we have a break after a continue in a switch case (where the continue refers to an outer loop), but I didn't touch those. Not yet, at least. svn-id: r48218
2010-02-26Fixed the music in some Mac versions of ITE and disabled some unused code ↵Filippos Karapetis
for the original DOS demo of ITE svn-id: r48139
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-02-03- Rename FlacStream to FLACStream.Johannes Schickel
- Rename makeFlacStream to makeFLACStream. svn-id: r47846
2010-01-31Switch makeADPCMStream to DisposeAfterUse::FlagMax Horn
svn-id: r47736
2010-01-30Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.Johannes Schickel
svn-id: r47716
2010-01-30- Mark makeRawDiskStream factory as deprecated.Johannes Schickel
- Introduce two new makeRawStream factories, one is using RawStreamBlockList instead of an RawDiskStreamAudioBlock array. svn-id: r47713
2010-01-27Moved the Shorten decoder inside the SAGA engine, as it's the only one using ↵Filippos Karapetis
it (and it's still unfinished, too) svn-id: r47592
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-23Reorder params to Audio::makeRawMemoryStreamMax Horn
svn-id: r47492
2010-01-23Disabled the unused resource loading code for the unsupported QT MIDI ↵Filippos Karapetis
format, used in the Mac version of IHNM svn-id: r47474
2010-01-21Silenced some cppcheck warnings.Torbjörn Andersson
svn-id: r47427
2010-01-20SAGA: Change Sound::playSoundBuffer to enable looping for all sound formatsMax Horn
svn-id: r47405
2010-01-19Started to get rid of Audio::FLAG_LOOPMax Horn
svn-id: r47397
2010-01-19Move raw audio flags from sound/mixer.h to sound/raw.hMax Horn
svn-id: r47395
2010-01-19Convert more engines from Mixer::playRaw to Mixer::playInputStreamMax Horn
svn-id: r47377
2010-01-19SAGA: Move from Mixer::playRaw to playInputStream; add FIXME regarding ↵Max Horn
sounds not being looped svn-id: r47376
2010-01-19Get rid of Mixer::FLAG_AUTOFREE.Max Horn
Also fix several recently introduced new/delete vs. malloc/free mismatches. svn-id: r47369
2010-01-19Move raw audio streams to new header sound/raw.hMax Horn
svn-id: r47368
2010-01-19Rename 'Linear' audio streams to 'raw'Max Horn
svn-id: r47367
2010-01-16Switch most AudioStream factories to use DisposeAfterUse::FlagMax Horn
svn-id: r47334
2010-01-12Rename all "Adlib" uses to "AdLib" to match the real name of the sound card ↵Johannes Schickel
/ 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-11Fix bug #2929619: "IHNM: Small problem detecting German version"Eugene Sandulenko
svn-id: r47255
2010-01-10Fix a memory leak.Johannes Schickel
svn-id: r47227
2010-01-10- Add a SubLoopingAudioStream, which loops a nested part of a stream and ↵Johannes Schickel
thus features the same looping capabilites as LinearMemoryStream and LinearDiskStream. - Remove custom looping code from LinearMemoryStream and LinearDiskStream. - Adapt various client code to the changes. svn-id: r47226
2010-01-08Switch Mixer::playInputStream to use DisposeAfterUse::FlagMax Horn
svn-id: r47182
2010-01-08Move DisposeAfterUse::Flag from Common to global namespace, and into a new ↵Max Horn
header common/types.h svn-id: r47180
2010-01-08Since AudioStream looping is no longer handled by the Mixer, drop ↵Johannes Schickel
Mixer::playAudioStreamLooping. (There's Audio::makeLoopingAudioStream). svn-id: r47160
2010-01-06- Move openStreamFile from AudioStream to SeekableAudioStream.Johannes Schickel
- Fix documentation of openStreamFile. svn-id: r47080
2010-01-06Adapt SAGA to use Mixer::playAudioStreamLooping instead of relying the ↵Johannes Schickel
depracted in AudioStream looping support. svn-id: r47063
2010-01-02Implement FR #2827944: "SAGA: Hide in-game GUI on thumbnails"Eugene Sandulenko
svn-id: r46879
2010-01-02Removing now redundant comment. The fix was correct.Eugene Sandulenko
svn-id: r46868
2010-01-01Fix undefined operation in setNoPendingVerb (someone with knowledge of SAGA ↵Johannes Schickel
should review this, see the TODO comment). (Thanks to syke for reporting this) svn-id: r46848
2009-12-30Wrapped some IHNM-specific code around appropriate ifdef'sFilippos Karapetis
svn-id: r46749
2009-12-27fix resource refactor regressionAndrew Kurushin
svn-id: r46659
2009-12-24Fix detection for ITE Floppy ItalianEugene Sandulenko
svn-id: r46537
2009-12-23Add more information to Italian fan translations of ITE as mentioned inEugene Sandulenko
bugreport #2871990: "ITE: Italian FAN translation regression" svn-id: r46520
2009-12-09Changed MidiDriver::createMidi to take a MidiDriverType instead of an intMax Horn
svn-id: r46316
2009-12-04Fix warning.Johannes Schickel
svn-id: r46260
2009-12-04Silenced GCC warnings.Torbjörn Andersson
svn-id: r46258
2009-12-04refactor resource module:Andrew Kurushin
- struct ResourceContext => class ResourceContext - replace "*alloc","free" with array templates - simplify createContexts routines svn-id: r46254
2009-12-01Fill out doxygen comment about supported gamesEugene Sandulenko
svn-id: r46234
2009-11-25Cache resource file size to avoid excess file->size() calls.Eugene Sandulenko
svn-id: r46138
2009-11-24Added Doxygen comments for the various engine namespaces (currently mostly ↵Max Horn
without details; help filling these out is welcome) svn-id: r46128
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616