aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/resource_intern.cpp
AgeCommit message (Collapse)Author
2009-03-09Rewrote Common::List iterator code to ensure const correctness is preserved.Max Horn
We tried to implement the list iterators in a clever way, to reduce code duplication. But this is essentially impossible to do properly, sadly -- this is one of the places where the ugly drawbacks of C++ really show. As a consequence, our implementation had a bug which allowed one to convert any const_iterator to an iterator, thus allowing modifying elements of const lists. This rewrite reintroduces code duplication but at least ensures that no const list is written to accidentally. Also fix some places which incorrectly used iterator instead of const_iterator or (in the kyra code) accidentally wrote into a const list. svn-id: r39279
2009-01-23Renamed Kyra's Resource::getFileStream to createReadStreamMax Horn
svn-id: r36022
2009-01-23Renamed Archive::openFile to createReadStreamForMemberMax Horn
svn-id: r36021
2009-01-23Renamed ArchiveMember::open -> createReadStream, and made it a cv member ↵Max Horn
(const); same for Archive::openFile svn-id: r36020
2009-01-18Fixed bug in PAK link list code, now file links are correctly initialized.Johannes Schickel
svn-id: r35902
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-19KYRA: fix mt-32 sysex loading for LOL floppyFlorian Kagerer
svn-id: r35434
2008-11-21Added ArchiveMember::getDisplayName() method; changed ↵Max Horn
ArchiveMember::getName() to always return a name compatible with Archive::openFile() svn-id: r35139
2008-11-01Commit of patch #2207782 "ARCHIVE: New method 'getMember'".Johannes Schickel
svn-id: r34871
2008-10-13- fix installer file support for Kyra 2 and 3Florian Kagerer
- fix bug in pc98 audio driver svn-id: r34791
2008-10-03Check all 'kyra.dat' files in setup paths instead of only the first one found.Johannes Schickel
svn-id: r34735
2008-10-03Committed slightly modified patch #2034983 "Case-insensitivy and directory ↵Johannes Schickel
handling for engines". svn-id: r34734
2008-09-13Big patch changing the signature of various Stream methods (some ports may ↵Max Horn
need to be slightly tweaked to fix overloading errors/warnings) svn-id: r34514
2008-09-07Moved Kyra resource code to a SearchSet/Archive based implementation, this ↵Johannes Schickel
removes dependencies on Common::File. svn-id: r34428