aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/resource.h
AgeCommit message (Collapse)Author
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: Add loadResource impls for WaveResourceSource and AudioVolumeResourceSourceMax Horn
svn-id: r49821
2010-06-15SCI: Add loadResource impls to MacResourceForkResourceSource and ↵Max Horn
PatchResourceSource; move _macResMan to MacResourceForkResourceSource svn-id: r49820
2010-06-15SCI: Move code from ResourceManager::loadResource to ↵Max Horn
ResourceSource::loadResource svn-id: r49819
2010-06-15SCI: Merge MacResourceForkResourceSource::scanSource and ↵Max Horn
ResourceManager::readMacResourceFork svn-id: r49817
2010-06-15SCI: Add virtual method ResourceSource::scanSourceMax Horn
svn-id: r49816
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