Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-17 | Strict mode: Turned several severe errors (almost all detection related) ↵ | Filippos Karapetis | |
into errors, instead of warnings svn-id: r49972 | |||
2010-06-16 | SCI: Avoid using g_sci in resman (as it might not yet be inited) | Max Horn | |
svn-id: r49897 | |||
2010-06-15 | SCI: Pass resman to scanSource() methods | Max Horn | |
svn-id: r49863 | |||
2010-06-15 | SCI: Add Resource::getNumber method | Max Horn | |
svn-id: r49848 | |||
2010-06-15 | Fix spelling, cleanup | Max Horn | |
svn-id: r49843 | |||
2010-06-15 | SCI: Make Resource::_id protected | Max Horn | |
svn-id: r49842 | |||
2010-06-15 | SCI: OOpify class ResourceId | Max Horn | |
svn-id: r49841 | |||
2010-06-15 | SCI: Add ResourceManager::getVolVersion() | Max Horn | |
svn-id: r49840 | |||
2010-06-15 | Reduce header dependencies | Max Horn | |
svn-id: r49836 | |||
2010-06-15 | SCI: Move decompress & readResourceInfo to Resource; more cleanup | Max Horn | |
svn-id: r49835 | |||
2010-06-15 | SCI: cleanup | Max Horn | |
svn-id: r49834 | |||
2010-06-15 | SCI: Move several methods from ResourceManager to Resource | Max Horn | |
svn-id: r49833 | |||
2010-06-15 | SCI: Add ResourceManager::updateResource(); change some code to use ↵ | Max Horn | |
addResource() svn-id: r49832 | |||
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 |