aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/file.cpp
AgeCommit message (Collapse)Author
2010-11-23SCUMM: Use explicit XOR decoding code in BaseScummFile subclassesMax Horn
This made it possible to turn some MemoryReadStream pointers into plain SeekableReadStream pointers. svn-id: r54435
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-01ENGINES: Remove some 'using' statementsMax Horn
svn-id: r54001
2010-05-09Patch #2968610: Zak C64 German: crash due to padding bytesEugene Sandulenko
svn-id: r48981
2010-01-03Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is nullTorbjörn Andersson
before freeing it, which isn't necessary. svn-id: r46941
2009-07-20Make ScummFile::eos() consistent with Stream::eos().Willem Jan Palenstijn
Remove usage of ioFailed from SCUMM engine. Fix reading up to the end of a SCUMM SubFile. This hopefully fixes #2820957. svn-id: r42632
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-03-05Fix for bug #2664460: Various SeekableReadStream::seek() implementations (as ↵Max Horn
well as our unit tests, ouch) handled SEEK_END incorrectly (using -offset instead of offset), contrary to what the docs said and what fseek does. Hopefully I found and fixed all affected parts, but still watch out for regressions svn-id: r39135
2008-11-23Oops, removed the *actual* unused code, and fixed my previous incorrect ↵Filippos Karapetis
commit. DOTT and S&M work correctly again svn-id: r35162
2008-11-23Removed unused/dead codeFilippos Karapetis
svn-id: r35161
2008-09-29Added const qualifiersMax Horn
svn-id: r34682
2008-09-14Big patch changing semantics of ReadStream::eos():Willem Jan Palenstijn
eos() now only returns true _after_ trying to read past the end of the stream. This has a large potential for regressions. Please test! svn-id: r34549
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-06ScummFile: Don't use the File::_ioFailed flag, rather track the io status ↵Max Horn
separately; also, changed eof() -> eos() svn-id: r34389
2008-07-29Changed class File (and derived classes) to only support read-only access; ↵Max Horn
added a new class DumpFile for writing svn-id: r33412
2008-03-28cleanupMax Horn
svn-id: r31289
2007-08-08Put ScummNESFile class into separate file.Eugene Sandulenko
svn-id: r28497
2007-08-08Add Spanish MM NES (2/2)Eugene Sandulenko
svn-id: r28496
2007-07-01Re-added __attribute__(packed)Max Horn
svn-id: r27830
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-03-04Fix regression in Commodore 64 version of Zak McKracken.Travis Howell
svn-id: r25955
2007-02-25Rename file class, since it is been used for disk images of Apple II and ↵Travis Howell
Commodore 64 versions now. svn-id: r25847
2007-02-25Add support for using disks images for Apple II version of Maniac Mansion.Travis Howell
svn-id: r25846
2007-02-14Make use of md5_file_stringMax Horn
svn-id: r25593
2006-10-15Turning various static tables into static constMax Horn
svn-id: r24323
2006-07-23Use #include "..." instead of #include <...> for pack-start.h and pack-end.hTorbjörn Andersson
for consistency with other #includes. svn-id: r23585
2006-07-22Fix struct packing issues (macros are not resolve in #pragma params, at ↵Max Horn
least for GCC) svn-id: r23569
2006-07-21Removing GCC_PACK, we fully rely on START_PACK_STRUCTS / END_PACK_STRUCTS ↵Max Horn
now (hiya eriktorbjorn, this one is for you *ggg*) svn-id: r23547
2006-07-09Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of ↵Max Horn
checking for GCC / not GCC svn-id: r23458
2006-04-16Fixed broken svn:keywords valuesMax Horn
svn-id: r21939
2006-04-14Changed File::open to take a Common::String as file name parameterMax Horn
svn-id: r21867
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-03-03Moved ScummFile etc. to the new file.cpp / file.hMax Horn
svn-id: r21038