aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/resource.h
AgeCommit message (Collapse)Author
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: 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: cleanupMax Horn
svn-id: r49808
2010-06-15SCI: Move ResourceSource to new header resource_intern.hMax Horn
svn-id: r49807
2010-06-13Added a default constructor for the ResourceSource structFilippos Karapetis
svn-id: r49622
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-07SCI: slight cleanup on processPatch, etc.Martin Kiewitz
svn-id: r49495
2010-06-07Some initial code for audio36 and sync36 patch supportFilippos Karapetis
svn-id: r49477
2010-06-06Now opening all files via getVolumeFile()Filippos Karapetis
svn-id: r49451
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-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-06-01Fixed the detection of SCI2.1 games in the fallback detectorFilippos Karapetis
svn-id: r49382
2010-05-29Added a method to the resource manager, to limit the places where script ↵Filippos Karapetis
exports are accessed, since for SCI11 and newer exports can be functions and objects (first step in removing scriptRelocateExportsSci11(), which is a gross hack and it fails in QFG1VGA) svn-id: r49308
2010-05-27Split all of the audio-related functions of the resource manager in a ↵Filippos Karapetis
separate file svn-id: r49260
2010-05-24Add support for showing the icon bar in SCI1.1 Mac.Matthew Hoops
svn-id: r49196
2010-05-23Cleaned up the game ID code:Filippos Karapetis
- The game ID is now obtained from ScummVM ID directly, not by converting Sierra's internal ID - Moved the code which reads the internal Sierra ID inside the resource manager - Moved the code which converts the internal Sierra ID to ScummVM's IDs together with the rest of the detection code svn-id: r49152
2010-05-19Added a new method to the resource manager, to help determine if we got a ↵Filippos Karapetis
SCI1.1 Mac game. Started rewriting the fallback detector so that it doesn't rely on the segment manager to find the internal game ID svn-id: r49102
2010-05-10Add support for loading SCI games from Mac resource forks. The games ↵Matthew Hoops
themselves do not work yet as some (not all) of the data is in BE order instead of LE. They currently error out because it thinks the relocation block is outside of the script. svn-id: r48998
2010-05-04Get rid of Engine::_gameDataDir.Max Horn
This greatly reduces indirect dependencies on several header files from common. svn-id: r48933
2010-04-29SCI: audio compression supportMartin Kiewitz
svn-id: r48856
2010-04-17SCI: key presses of extended chars (umlauts, etc.) will now get ignored in ↵Martin Kiewitz
games that don't support them (which is all non-multilingual games) svn-id: r48693
2010-03-22Patch #2973290: Semicolon cleanupMax Horn
svn-id: r48359
2010-02-17SCI: Rename some members of class ResourceMax Horn
svn-id: r48085
2010-02-17SCI: Cleanup resource.hMax Horn
svn-id: r48084
2010-01-31SCI: Handle -1 properly when passed as a language id to DoAudioWalter van Niftrik
svn-id: r47774
2010-01-28SCI: detecting hires for SCI2+ games, qfg4cd is sci2.1 but still 320x200Martin Kiewitz
svn-id: r47651
2010-01-27The two unknown fields point to the beginning and end of the sound sampleFilippos Karapetis
svn-id: r47601
2010-01-27Improve support for the SCI2.1/SCI3 file naming scheme. Multiple maps can be ↵Matthew Hoops
used and have to be matched up with their volume counterparts. Adding detection for the Phantasmagoria Demo too. svn-id: r47588
2010-01-26SCI: Add driver for Yamaha FB-01. Cleanup.Walter van Niftrik
svn-id: r47571
2010-01-25SCI: created isAmiga32color(), using this method instead of comparing ↵Martin Kiewitz
against viewType svn-id: r47554
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-16SCI: Fix rhythm channel handling in SCI0Walter van Niftrik
svn-id: r47326
2010-01-16The GM patches from Sierra's GM utility can now also be processed with their ↵Filippos Karapetis
original names. Thus, the user can just extract the patches from Sierra's GM utility in the extras folder, and it's not necessary to rename each individual file to "4.pat" and place it inside the associated game (works with the games that Sierra's GM patch updates, i.e. LSL1, LSL5, Hoyle3, SQ1, SQ4, Eco1, Longbow and Fairy tales) svn-id: r47318
2010-01-09SCI: Move music device IDs to drivers.Walter van Niftrik
svn-id: r47190
2010-01-06SCI: add robot/.rbt files to resourcemanager classMartin Kiewitz
svn-id: r47096
2010-01-05More renamingFilippos Karapetis
svn-id: r47009
2010-01-05Renamed /gui to /graphics and /sfx to /sound, to better illustrate their purposeFilippos Karapetis
svn-id: r47007
2010-01-03Made the "version" command more verbose, listing all the automatically ↵Filippos Karapetis
detected game features, along with the detected SCI version svn-id: r46943
2010-01-03Add support for wave files in the audio volume. This is used in Pharkas CD ↵Matthew Hoops
and GK1 CD. svn-id: r46916
2010-01-02SCI/new sound code: disabled some unused code and named a previously unknown ↵Filippos Karapetis
variable of the sound channel data svn-id: r46872
2009-12-27Fix regression in SCI1/1.1 wave sound from r46660. I knew it was a bad omen ↵Matthew Hoops
to have that revision number :P svn-id: r46664
2009-12-27Add support for external wave files used as audio resources in the ↵Matthew Hoops
ResourceManager. The GK1 CD main menu music now works. svn-id: r46660
2009-12-27SCI/newmusic: now playing sample data for sci0 games (this also fixes sq3 ↵Martin Kiewitz
amiga freezing during pot exit) svn-id: r46631
2009-12-27SCI/newmusic: now adding digital sample data as separate channel for sci0 ↵Martin Kiewitz
games (not yet playing) svn-id: r46629
2009-12-24SCI: channels are now filtered for sci0 (fixes garbled music)Martin Kiewitz
svn-id: r46525
2009-12-23SCI: new music code / removed unused sz from Track structMartin Kiewitz
svn-id: r46503