aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
AgeCommit message (Collapse)Author
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-03-08Tweak makeVOCDiskStreamMax Horn
* now takes a SeekableReadStream *pointer* like (almost) all other audiostream factories * fix potential memory leak in it * rename takeOwnershipOfStream to disposeAfterUse for consistency svn-id: r48184
2010-03-04Fix item exchange string in Kyra 1 Amiga (both English and German).Johannes Schickel
svn-id: r48159
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-19Fix for bug #2954279 "KYRA: Error when loading non-existent savegame".Johannes Schickel
svn-id: r48089
2010-02-17Use Common::KEYCODE_* instead of ASCII values for keycode comparison.Johannes Schickel
svn-id: r48079
2010-02-17Use Common::KeyCode instead of int as key type for KeyMap.Johannes Schickel
svn-id: r48078
2010-02-09LOL: fixed script bug in castle cimmeria that would cause out of bounds mem ↵Florian Kagerer
access (should fix bug #2948109) svn-id: r48016
2010-02-07LOL: fixed handling of invalid monster attack sfx in the Urbish mines ↵Florian Kagerer
(should fix bug no #2945950) svn-id: r47967
2010-02-03- Rename FlacStream to FLACStream.Johannes Schickel
- Rename makeFlacStream to makeFLACStream. svn-id: r47846
2010-01-30Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.Johannes Schickel
svn-id: r47716
2010-01-29Fix yet another use of possibly undefined behavior reported by syke.Johannes Schickel
svn-id: r47689
2010-01-29Fix use of undefined behavior. (Thanks to syke for reporting)Johannes Schickel
svn-id: r47685
2010-01-27Fix invalid sample position on Timestamp to sample conversion for Stereo ↵Johannes Schickel
streams. svn-id: r47591
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-25Remove HACK, which is obsolete because of r47336.Johannes Schickel
svn-id: r47548
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-24Fixed warning.Torbjörn Andersson
svn-id: r47504
2010-01-24LOL: save/load menu speed upFlorian Kagerer
svn-id: r47501
2010-01-23Reorder params to Audio::makeRawMemoryStreamMax Horn
svn-id: r47492
2010-01-23Paranoia change: add some explicit terminating 0 after some strncpy uses.Johannes Schickel
svn-id: r47479
2010-01-23Get rid of deprecated makeRawDiskStream variants; rename deprecated ↵Max Horn
makeRawMemoryStream variant to makeRawMemoryStream_OLD; adapt some code to this change svn-id: r47472
2010-01-22Silenced some more cppcheck warnings. Some of these may seem silly, but the wayTorbjörn Andersson
I figure it the changes are harmless at worst, and making them will make it easier to find real errors in the (still quite long) list of warnings. svn-id: r47443
2010-01-19Move raw audio flags from sound/mixer.h to sound/raw.hMax Horn
svn-id: r47395
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-18LOL: minor key map fixFlorian Kagerer
svn-id: r47359
2010-01-18LOL: cleanup last commitFlorian Kagerer
svn-id: r47354
2010-01-18LOL: fixed spell array sizeFlorian Kagerer
svn-id: r47353
2010-01-17Delay the time a sysEx takes to send instead of the old (incorrect) way of ↵Johannes Schickel
delaying only 45ms between two sysEx calls. (Code thankfully borrowed from waltervn). svn-id: r47336
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-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-09Replace AppendableAudioStream by QueuingAudioStreamMax Horn
svn-id: r47189
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- Simplify Audio::calculateSampleOffset.Johannes Schickel
- Made Audio::calculateSampleOffset accessable from outside audiostream.cpp. - Adapt KYRA's AUDStream to use Audio::calculateSampleOffset. svn-id: r47082
2010-01-06Adapt KYRA to use the new FLAC, Vorbis and MP3 factories.Johannes Schickel
svn-id: r47062
2010-01-05Properly adapt AUDStream to be a SeekableAudioStream and switched KYRA3 to ↵Johannes Schickel
use playAudioStreamLooping for its looping purposes. svn-id: r47060
2010-01-05Remove unsafe getTotalPlayTime from AudioStream.Johannes Schickel
svn-id: r47037
2010-01-05Add a "getLength" function to SeekableAudioStream.Johannes Schickel
svn-id: r47036
2010-01-05- Add a new SeekableAudioStream interface. Soon to be used to replace audio ↵Johannes Schickel
stream specific looping code by generic code in Mixer... - Adapted some existing AudioStreams to implement that interface (not tested!) svn-id: r47013
2010-01-03Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is nullTorbjörn Andersson
before freeing it, which isn't necessary. svn-id: r46941
2010-01-02Use Common::StackLock.Johannes Schickel
svn-id: r46870
2010-01-01LOL: cleanupFlorian Kagerer
svn-id: r46866
2010-01-01Merge update_nop1 and update_nop2.Johannes Schickel
svn-id: r46860
2010-01-01- Fix out of bounds array access.Johannes Schickel
- Add some asserts in output related functions svn-id: r46859
2010-01-01- Add some assertsJohannes Schickel
- Renamed snd_unkOpcode3 to snd_stopChannel - Cleanup svn-id: r46855