Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-20 | SCI: Fixed an off-by-one error in the resource manager - it tried to load ↵ | Filippos Karapetis | |
patches of type kResourceTypeInvalid svn-id: r51075 | |||
2010-07-18 | Cleanup and simplify resource type remapping. | Matthew Hoops | |
svn-id: r50975 | |||
2010-07-18 | In SCI2.1, the type numbers inside resource maps/patches have changed ↵ | Matthew Hoops | |
slightly. We no longer use the number Sierra gives us directly, but use a function to convert to our ResourceType enum based on version. This allows us to read the chunk type from SCI2.1 (a form of script). Also, allow debugging of Mac-specific resources from the console. svn-id: r50973 | |||
2010-07-17 | Add support for the altres.map/altres.000 map/volume pair in KQ7. | Matthew Hoops | |
svn-id: r50968 | |||
2010-07-16 | SCI: adding fixme and error() to fix crash when trying to run unmodified gk2 | Martin Kiewitz | |
svn-id: r50939 | |||
2010-06-25 | SCI: detect, if SCI1.1 game is merging or copying palette instead of using ↵ | Martin Kiewitz | |
gameIds. Also prints method used, when using debug command "version" svn-id: r50261 | |||
2010-06-20 | Cleaner fix for the QFG4 demo audio map problem. | Matthew Hoops | |
svn-id: r50104 | |||
2010-06-20 | Ignore the broken 65535x.map file in the QFG4 demo, mistakenly picked up ↵ | Matthew Hoops | |
when checking for patches. Audio now works there. svn-id: r50102 | |||
2010-06-19 | SCI: changing error to warning in ResMan::detectViewType() | Martin Kiewitz | |
svn-id: r50067 | |||
2010-06-18 | SCI: not using views coming from patch files anymore for detecting view type | Martin Kiewitz | |
svn-id: r50027 | |||
2010-06-18 | Don't throw a warning when we can't find hires content | Filippos Karapetis | |
svn-id: r50015 | |||
2010-06-18 | SCI: Unbreak diskdump console command, maybe others | Lars Skovlund | |
svn-id: r50014 | |||
2010-06-18 | SCI: changing error to warning inside detectHires() for gk1 to work again... | Martin Kiewitz | |
svn-id: r50008 | |||
2010-06-18 | SCI: reverting #49978, it worked correctly. the new values contain the full ↵ | Martin Kiewitz | |
height/width of the picture (may be much larger cause of scrollable areas) and we actually don't want that. the values before and now contain the height/width of the on-screen picture size - although this may contain 0, 0 for low-res games, but that's fine then svn-id: r50006 | |||
2010-06-18 | Fixed a bug in detectHires(), so that it actually works | Filippos Karapetis | |
svn-id: r49978 | |||
2010-06-17 | Renamed error -> errorNum to avoid name clashes with error() | Filippos Karapetis | |
svn-id: r49974 | |||
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 |