aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/resource_audio.cpp
AgeCommit message (Collapse)Author
2010-06-26SCI: do boundary checking when loading sci1 sounds and mixing them together. ↵Martin Kiewitz
The final end credits song (resource 699) in kq5 has some channels with invalid offsets, crashing ScummVM before svn-id: r50339
2010-06-25SCI: Introduce SciGameId enumMax Horn
svn-id: r50273
2010-06-22Add support for the QFG3 demo audio map and audio resources. Based on a ↵Matthew Hoops
patch by Walter. svn-id: r50144
2010-06-16SCI: implement channel remapping for SCI1Martin Kiewitz
svn-id: r49905
2010-06-16SCI: Avoid using g_sci in resman (as it might not yet be inited)Max Horn
svn-id: r49897
2010-06-15Fix wave patches.Matthew Hoops
svn-id: r49855
2010-06-15SCI: OOpify class ResourceIdMax Horn
svn-id: r49841
2010-06-15Reduce header dependenciesMax Horn
svn-id: r49836
2010-06-15SCI: Move decompress & readResourceInfo to Resource; more cleanupMax Horn
svn-id: r49835
2010-06-15SCI: cleanupMax Horn
svn-id: r49834
2010-06-15SCI: Move several methods from ResourceManager to ResourceMax Horn
svn-id: r49833
2010-06-15SCI: Add ResourceManager::updateResource(); change some code to use ↵Max Horn
addResource() svn-id: r49832
2010-06-15SCI: Move _associatedMap to VolumeResourceSource and make it constMax Horn
svn-id: r49831
2010-06-15SCI: Move _audioCompression(Type|OffsetMapping) to AudioVolumeResourceSourceMax Horn
svn-id: r49830
2010-06-15SCI: cleanupMax Horn
svn-id: r49829
2010-06-15SCI: Merge ResourceManager::checkIfAudioVolumeIsCompressed into ↵Max Horn
AudioVolumeResourceSource constructor svn-id: r49827
2010-06-15SCI: Rename ResourceSource members to follow _camelCase conventionMax Horn
svn-id: r49823
2010-06-15SCI: Pass volume number to ResourceSource subclass constructors; make ↵Max Horn
ResourceSource::volume_number const svn-id: r49822
2010-06-15SCI: Rename ResourceSource::resourceFile to _resourceFileMax Horn
svn-id: r49818
2010-06-15SCI: Change ResourceManager::getVolume() to use new classesMax Horn
* Add new ResourceSource::findVolume() virtual method * Rename ResourceManager::getVolume() to findVolume(), and change it to use the new ResourceSource method * Add some TODO comments pointing to further OOPification possibilities svn-id: r49815
2010-06-15SCI: Remove 'map' param from addSource, and let AudioVolumeResourceSource ↵Max Horn
subclass VolumeResourceSource svn-id: r49814
2010-06-15SCI: Convert code to use ResourceSource subclassesMax Horn
svn-id: r49813
2010-06-15SCI: Add ResourceSource subclasses, one for each typeMax Horn
svn-id: r49812
2010-06-15SCI: Changed some 'const char *' to Common::StringMax Horn
svn-id: r49811
2010-06-15SCI: Change ResourceSource to a class, further OOPify it.Max Horn
In particular, renamed location_name to _name and made it const and protected. Thus it cannot be changed after creation, and only read access is now possible, via a getter method. svn-id: r49810
2010-06-15SCI: Only use MacResManager if needed; start to OOPify ResourceSourceMax Horn
svn-id: r49809
2010-06-15SCI: Move ResourceSource to new header resource_intern.hMax Horn
svn-id: r49807
2010-06-12Initialize compression-related variables when loading external patch files. ↵Filippos Karapetis
Fixes Cassima's speech in the intro of KQ6 (the engine thought that the external patch files of her speech were compressed) svn-id: r49606
2010-06-10Add support for AIFF sound in SCI32 Mac games and add support for AIFF/WAVE ↵Matthew Hoops
audio36 patches; minor cleanup. svn-id: r49576
2010-06-09SCI: document raw lipsync data skipping in readAudioMapSCI11()Martin Kiewitz
svn-id: r49550
2010-06-06Now opening all files via getVolumeFile()Filippos Karapetis
svn-id: r49451
2010-06-05Rewrote the remaining parts of the ResourceManager class to work with file ↵Filippos Karapetis
streams, thus removing the SCI_detection hack in the fallback detector svn-id: r49438
2010-06-04Simplified the channel monitoring code inside the SoundResource classFilippos Karapetis
svn-id: r49429
2010-06-03Added code to get which channels are used by a sound. Also, fixed a crash ↵Filippos Karapetis
when using Sierra's GM patches, a regression from commit #49391. svn-id: r49415
2010-06-03Fixed crashing with wave file patches, a regression from commit #49391Filippos Karapetis
svn-id: r49411
2010-06-02- Fixed findGameObject() to properly handle SCI0-SCI1 games where the first ↵Filippos Karapetis
block of script 0 isn't the exports block - Changed many places where Common::File is used directly to use Common::SeekableReadStream instead (in order to ultimately remove the SCI_detection hack in the fallback detector) svn-id: r49391
2010-05-27Split all of the audio-related functions of the resource manager in a ↵Filippos Karapetis
separate file svn-id: r49260