Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-15 | SCI: Move _associatedMap to VolumeResourceSource and make it const | Max Horn | |
svn-id: r49831 | |||
2010-06-15 | SCI: Move _audioCompression(Type|OffsetMapping) to AudioVolumeResourceSource | Max Horn | |
svn-id: r49830 | |||
2010-06-15 | SCI: cleanup | Max Horn | |
svn-id: r49829 | |||
2010-06-15 | SCI: Get rid of ugly resMan params to ResourceSource methods | Max Horn | |
We might want to add a ResourceSource::_resMan member, but for now I am not adding one on purpose; many more things might still move between ResourceSource and ResourceManager, so we should wait till the refactoring is complete. svn-id: r49828 | |||
2010-06-15 | SCI: Merge ResourceManager::checkIfAudioVolumeIsCompressed into ↵ | Max Horn | |
AudioVolumeResourceSource constructor svn-id: r49827 | |||
2010-06-15 | SCI: Make ResourceSource::_resourceFile const | Max Horn | |
svn-id: r49826 | |||
2010-06-15 | SCI: Revise how ResourceManager is instantiated. | Max Horn | |
This should allow for better error handling. Also, it means that g_sci->getResMan() returns a valid value much sooner, allowing me to simplify some code. Also added a note about potentially replacing Common::FSList usage by Common::Archive (and FSNode by Archive/ArchiveMember ?). This might be a way to unify the addAppropriateSources variants again. svn-id: r49825 | |||
2010-06-15 | SCI: Rename ResourceSource members to follow _camelCase convention | Max Horn | |
svn-id: r49823 | |||
2010-06-15 | SCI: Pass volume number to ResourceSource subclass constructors; make ↵ | Max Horn | |
ResourceSource::volume_number const svn-id: r49822 | |||
2010-06-15 | SCI: Add loadResource impls for WaveResourceSource and AudioVolumeResourceSource | Max Horn | |
svn-id: r49821 | |||
2010-06-15 | SCI: Add loadResource impls to MacResourceForkResourceSource and ↵ | Max Horn | |
PatchResourceSource; move _macResMan to MacResourceForkResourceSource svn-id: r49820 | |||
2010-06-15 | SCI: Move code from ResourceManager::loadResource to ↵ | Max Horn | |
ResourceSource::loadResource svn-id: r49819 | |||
2010-06-15 | SCI: Rename ResourceSource::resourceFile to _resourceFile | Max Horn | |
svn-id: r49818 | |||
2010-06-15 | SCI: Merge MacResourceForkResourceSource::scanSource and ↵ | Max Horn | |
ResourceManager::readMacResourceFork svn-id: r49817 | |||
2010-06-15 | SCI: Add virtual method ResourceSource::scanSource | Max Horn | |
svn-id: r49816 | |||
2010-06-15 | SCI: Change ResourceManager::getVolume() to use new classes | Max 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-15 | SCI: Remove 'map' param from addSource, and let AudioVolumeResourceSource ↵ | Max Horn | |
subclass VolumeResourceSource svn-id: r49814 | |||
2010-06-15 | SCI: Convert code to use ResourceSource subclasses | Max Horn | |
svn-id: r49813 | |||
2010-06-15 | SCI: Add ResourceSource subclasses, one for each type | Max Horn | |
svn-id: r49812 | |||
2010-06-15 | SCI: Changed some 'const char *' to Common::String | Max Horn | |
svn-id: r49811 | |||
2010-06-15 | SCI: 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-15 | SCI: Only use MacResManager if needed; start to OOPify ResourceSource | Max Horn | |
svn-id: r49809 | |||
2010-06-15 | SCI: Move ResourceSource to new header resource_intern.h | Max Horn | |
svn-id: r49807 | |||
2010-06-13 | Added a default constructor for the ResourceSource struct | Filippos Karapetis | |
svn-id: r49622 | |||
2010-06-12 | Initialize 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-10 | Add 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-08 | SCI: check for SOL header in audio36 patches | Martin Kiewitz | |
svn-id: r49520 | |||
2010-06-08 | Fixed compilation when the SCI32 code is disabled | Filippos Karapetis | |
svn-id: r49514 | |||
2010-06-08 | SCI: use base36 sync/audio patches for sci1.1 as well and also check if ↵ | Martin Kiewitz | |
patch filenames make sense, otherwise skip them - also remove hack for excluding bootdisk.* and aud*.drv svn-id: r49509 | |||
2010-06-08 | Add a version check for base36 encoded patches - they were introduced in SCI2 | Filippos Karapetis | |
svn-id: r49501 | |||
2010-06-07 | SCI: slight cleanup on processPatch, etc. | Martin Kiewitz | |
svn-id: r49495 | |||
2010-06-07 | SCI: fix regression from #49484, we were ignoring 65535 patches and this ↵ | Martin Kiewitz | |
broke kq6 - the check was previously for -1 and this case wasn't able to happen at all, maybe it was left-over code from freesci somehow svn-id: r49494 | |||
2010-06-07 | Added support for SCI2+ base36 encoded patches (audio36 and sync36) | Filippos Karapetis | |
svn-id: r49491 | |||
2010-06-07 | Fix gcc warning about an comparison which is always false due to data type ↵ | Johannes Schickel | |
range. svn-id: r49484 | |||
2010-06-07 | Allow for the other audio36 patch naming schemes (Mac and some Torin ones). | Matthew Hoops | |
svn-id: r49482 | |||
2010-06-07 | Some initial code for audio36 and sync36 patch support | Filippos Karapetis | |
svn-id: r49477 | |||
2010-06-06 | Now opening all files via getVolumeFile() | Filippos Karapetis | |
svn-id: r49451 | |||
2010-06-05 | Rewrote 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-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-02 | If we can't find the game object or game ID in fallback detection, break out ↵ | Matthew Hoops | |
instead of assuming the script is there. Fixes a segfault when detecting an LSCI game. svn-id: r49389 | |||
2010-06-02 | Fix warning | Max Horn | |
svn-id: r49386 | |||
2010-06-01 | Fixed the detection of SCI2.1 games in the fallback detector | Filippos Karapetis | |
svn-id: r49382 | |||
2010-06-01 | Add support for SCI2.1 resource patches to the fallback detector | Filippos Karapetis | |
svn-id: r49380 | |||
2010-05-30 | Moved setScriptSize() inside Script::init(), and removed a FIXME - the ↵ | Filippos Karapetis | |
SCI1.1 word-align is done inside Script::init() svn-id: r49330 | |||
2010-05-30 | Fixed findGameObject() for SCI11 games | Filippos Karapetis | |
svn-id: r49326 | |||
2010-05-29 | Removed the hack inside findGameObject(), and replaced it with code from the ↵ | Filippos Karapetis | |
segment manager, till we find out why the segment is sometimes off by 1 (note that findGameObject() works fine for finding the game ID itself) svn-id: r49310 | |||
2010-05-29 | Fixed regression in SCI2-SCI21 games from commit 49308 | Filippos Karapetis | |
svn-id: r49309 | |||
2010-05-29 | Added 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-27 | Added an explanation for audio36 and sync36 external patches | Filippos Karapetis | |
svn-id: r49262 | |||
2010-05-27 | Split all of the audio-related functions of the resource manager in a ↵ | Filippos Karapetis | |
separate file svn-id: r49260 |