aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/resource_intern.cpp
AgeCommit message (Collapse)Author
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
2010-08-24KYRA: Cleanup.Johannes Schickel
svn-id: r52348
2010-08-24KYRA: Implement new handling of KYRA3's TLK files.Johannes Schickel
This speeds up loading of KYRA3's TLK files by a lot, since only the index table will be load now. This should help the startup time for KYRA3 when playing from CD or other slow storages. svn-id: r52347
2010-08-24KYRA: Simplify PAK/INS/TLK loading.Johannes Schickel
This also reduces the number of seeks done while loading TLK files. svn-id: r52346
2010-08-19KYRA: Cleanup.Johannes Schickel
svn-id: r52200
2010-05-17Some more enforcement of our formatting conventions in KYRA too.Johannes Schickel
svn-id: r49069
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-08Move DisposeAfterUse::Flag from Common to global namespace, and into a new ↵Max Horn
header common/types.h svn-id: r47180
2009-11-28Fix for bug #2905439 "AmigaOS: Recent Kryandia changes broke compilation".Johannes Schickel
svn-id: r46178
2009-11-28LOL/Floppy: fixed crashFlorian Kagerer
svn-id: r46177
2009-11-28Fix compilation on 64bit systems.Johannes Schickel
svn-id: r46176
2009-11-28LOL: completed support for floppy installer filesFlorian Kagerer
svn-id: r46174
2009-10-18Introduced new type Common::DisposeAfterUse::FlagMax Horn
svn-id: r45233
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-05-29Formatting.Johannes Schickel
svn-id: r40991
2009-03-15Cleanup.Johannes Schickel
svn-id: r39421
2009-03-15Fix for loading Kyra1 Amiga PAK files.Johannes Schickel
svn-id: r39420
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