aboutsummaryrefslogtreecommitdiff
path: root/common/stream.h
AgeCommit message (Collapse)Author
2006-04-26Added a 'skip' method to SeekableReadStream (just an alias for seek(X, ↵Max Horn
SEEK_CUR)) svn-id: r22178
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20510
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-13Improved savefile error handling:Marcus Comstedt
* New flush() method in WriteStream class to flush pending I/O, in order to detect any I/O errors * Use of flush() and ioFailed() added to scumm engine save function * Dreamcast backend extended to support the new checks svn-id: r19066
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-24Whitespace changes.Torbjörn Andersson
svn-id: r18449
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-06-20Added virtual destructor, to silence a few more GCC 4 warningsMax Horn
svn-id: r18419
2005-05-05Fixed some doxygen warningsMax Horn
svn-id: r17923
2005-04-28Moved Stream::eos() to ReadStream::eos()Max Horn
svn-id: r17853
2005-04-22* Added new virtual base class 'Stream', ReadStream andMax Horn
WriteStream are now subclasses of it. * Added new methods eos(), ioFailed(), clearIOFailed() to all streams. This allows better error checking. * SaveFile classes take advantage of these new standard stream APIS * Removed File::gets() * Added SeekableReadStream::readLine() (replaces File::gets) * Added WriteStream::writeString, for convenience svn-id: r17752
2005-03-30Forgot to init _encbyte in MemoryReadStream.Eugene Sandulenko
svn-id: r17301
2005-03-30Support for direct reading from NES ROM:Eugene Sandulenko
o extend MemoryReadStream with XOR facility o implement MemoryWriteStream o _fileHandle now is a reference to BaseScummFile class and is created on the fly o implement ScummNESFile class which is basically extract_mm_nes utility o update NES MM md5's due to above changes NOTE: to run MM NES now you need to remove *.LFL files and (probably) rename ROM to standard conventional name 'Maniac Mansion (XXX).nes' svn-id: r17300
2005-01-09Ensure these headers match the rest of ScummVMMax Horn
svn-id: r16505
2005-01-09Added new interface SeekableReadStreamMax Horn
svn-id: r16493
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-11Remove the 24 bit read/write methods -- we don't use them anymore and they ↵Max Horn
are weird anyway ;-) svn-id: r16037
2004-12-11Modified version of patch #1082777 (common/stream optimization)Max Horn
svn-id: r16034
2004-07-19Changed order of initialisation in XORReadStream::XORReadStream() to match ↵Bertrand Augereau
order of declaration, to avoid a pedantic warning svn-id: r14273
2004-06-27Cleanup for MemoryReadStream; made it match the File-class interfaceMax Horn
svn-id: r14086
2004-06-24Extended ReadMemoryStream class with seek methodEugene Sandulenko
svn-id: r14030
2004-05-04Enchance ReadStream and MemoryReadStream with 24bits operations as wellEugene Sandulenko
as tell() and rewind() methods, as needed by SAGA engine. svn-id: r13772
2004-05-03Well, now we use MemoryReadStream at least in SAGA engine.Eugene Sandulenko
Concept proved itself to be elegant and successful svn-id: r13770
2004-04-29Added signed read/write methods to the Stream classesMax Horn
svn-id: r13680
2004-04-17Removed XOR encoding stuff from File class; instead the new Scumm::XORFile ↵Max Horn
class provides this functionality now svn-id: r13597
2004-04-17Introduce ReadStream and WriteStream (as explained in my File class design ↵Max Horn
mails on scummvm-devel) svn-id: r13595