Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-04-22 | * Added new virtual base class 'Stream', ReadStream and | Max 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-01-09 | Added new interface SeekableReadStream | Max Horn | |
svn-id: r16493 | |||
2005-01-01 | Updated copyright | Max Horn | |
svn-id: r16398 | |||
2004-11-27 | Make use of our String class instead of juggling with char pointers; added ↵ | Max Horn | |
File::exists method svn-id: r15913 | |||
2004-11-14 | Extend fopenNoCase with probe of capitalized files, such as Cave.mid. | Eugene Sandulenko | |
svn-id: r15812 | |||
2004-11-07 | For now, perform writing always in the current directory (the old code would ↵ | Max Horn | |
just create a new file in the first place it was looking at when using the write mode, which definitely is not what we want in most cases) svn-id: r15730 | |||
2004-10-19 | Got rid of ungetc() to save Chrilith from the trouble of implementing it | Torbjörn Andersson | |
himself on PalmOS. svn-id: r15616 | |||
2004-10-18 | Accepted patch #1048693 -- Making File::gets() more well-defined. | Eugene Sandulenko | |
svn-id: r15608 | |||
2004-10-16 | Fix bug #1048129 which prevented eof() method from working. | Eugene Sandulenko | |
svn-id: r15573 | |||
2004-10-16 | Add gets() method to File class. | Eugene Sandulenko | |
svn-id: r15572 | |||
2004-08-05 | Try the current dir last, not first | Max Horn | |
svn-id: r14469 | |||
2004-07-31 | Fixed bug #1001069; clarified/simplified some error messages | Max Horn | |
svn-id: r14375 | |||
2004-07-26 | slightly more informative error messages in class File | Max Horn | |
svn-id: r14345 | |||
2004-07-23 | Allow subclasses to modify File class members (e.g. to set _ioFailed); ↵ | Max Horn | |
change some warnings into errors svn-id: r14302 | |||
2004-07-18 | Simplified fopenNoCase (and reduced the code redundancy) | Max Horn | |
svn-id: r14252 | |||
2004-07-01 | Fix bug introduced with last addDefaultDirectory() change. It prevented | Eugene Sandulenko | |
lowercase files from opening. svn-id: r14148 | |||
2004-06-28 | Added simple ref-counting to the File class | Max Horn | |
svn-id: r14106 | |||
2004-06-28 | Enhanced default directory support in the File class; now one can specify ↵ | Max Horn | |
arbitrary many default search directories svn-id: r14095 | |||
2004-06-27 | Reversed param order of File::open() -- this allowed me to get rid of a few ↵ | Max Horn | |
more getGameDataPath() calls svn-id: r14090 | |||
2004-04-17 | Removed XOR encoding stuff from File class; instead the new Scumm::XORFile ↵ | Max Horn | |
class provides this functionality now svn-id: r13597 | |||
2004-04-17 | Fix byte reads | Max Horn | |
svn-id: r13596 | |||
2004-04-17 | Introduce ReadStream and WriteStream (as explained in my File class design ↵ | Max Horn | |
mails on scummvm-devel) svn-id: r13595 | |||
2004-02-10 | Previous method wouldn't work, since each langague is in different directory. | Travis Howell | |
svn-id: r12810 | |||
2004-02-06 | Add extra paths for international version of Simon the Sorcerer 1, so game ↵ | Travis Howell | |
can be played from CD. svn-id: r12745 | |||
2004-01-06 | add missing comma to ensure all directories are checked | Jonathan Gray | |
svn-id: r12177 | |||
2004-01-06 | updated copyright notice | Max Horn | |
svn-id: r12176 | |||
2003-12-27 | Search additional folder for BS1 | Travis Howell | |
svn-id: r11956 | |||
2003-12-25 | be stricter about File::open params | Max Horn | |
svn-id: r11919 | |||
2003-11-30 | cleanup | Max Horn | |
svn-id: r11432 | |||
2003-11-18 | Add extra directory checks for Macintosh versions of indy3/loom | Travis Howell | |
svn-id: r11333 | |||
2003-10-10 | some cleanup | Max Horn | |
svn-id: r10720 | |||
2003-09-24 | Add Acorn version of Simon the Sorcerer 1 Talkie | Travis Howell | |
svn-id: r10389 | |||
2003-09-17 | added a static method setDefaultDirectory to class File; used this to ↵ | Max Horn | |
simplify some code; added a global g_sound pointer in bs2, this cuts down on uses of g_sword2 (of course both should be removed on the long run); some other minor tweaks/fixes svn-id: r10278 | |||
2003-09-17 | delete name only after closing the file | Max Horn | |
svn-id: r10270 | |||
2003-09-10 | moved declaration of error/warning/debug from engine.h to util.h | Max Horn | |
svn-id: r10149 | |||
2003-09-08 | Some files are located in a different folder in Atari-ST version of Zak | Chris Apers | |
svn-id: r10087 | |||
2003-08-22 | add sword2 cd dirs | Jonathan Gray | |
svn-id: r9816 | |||
2003-08-21 | patch #791738 g++ 3.4 compile fix, from Falk Hueffner and a few minor local ↵ | Jonathan Gray | |
bits in my tree svn-id: r9807 | |||
2003-08-01 | mingw compile broken when include order was changed | Travis Howell | |
svn-id: r9363 | |||
2003-08-01 | #include cleanup (explicityl specify the location for headers from common/, ↵ | Max Horn | |
so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level) svn-id: r9359 | |||
2003-07-03 | Made read() return the number of bytes that were actually read, rather than | Torbjörn Andersson | |
the number that was requested. A lot of our code obviously assumes this behaviour, and the MP3 file player depends on it because otherwise, when reaching the end of the file, it will think it read a full buffer, when in fact it only got part of it and the rest is the remains from the previous read. This would cause a brief note from earlier in the track at the end of the MI1 chapter one screen. Probably other cases as well. Of course, this may cause regressions but only - I think - if the code was buggy to begin with. svn-id: r8721 | |||
2003-06-27 | ops | Paweł Kołodziejski | |
svn-id: r8667 | |||
2003-06-27 | chenged ifdef to handle all win32 ports | Paweł Kołodziejski | |
svn-id: r8666 | |||
2003-06-15 | Parentheses didn't compile on WIN32 | Bertrand Augereau | |
svn-id: r8512 | |||
2003-06-14 | fixed aquadran's Windows fix (a pointer is const for good reasons; simply ↵ | Max Horn | |
casting it to something non-const is bad, and undermines the compilers aliasing detection svn-id: r8481 | |||
2003-06-14 | fix for bug #749249, related with path of game data placed on root drive ↵ | Paweł Kołodziejski | |
under win98 svn-id: r8478 | |||
2003-05-28 | the _encbyte code was evil, because it modified the memory passed to ↵ | Max Horn | |
write(); worse, though, it incremented ptr2, which then was later passed to fwrite - hence if used to write something while _encbyte != 0, write() resulted in wrong data being written svn-id: r8055 | |||
2003-05-28 | added some missing checks for file being open before reading/writing | Max Horn | |
svn-id: r8043 | |||
2003-05-21 | added fixme comment | Max Horn | |
svn-id: r7791 | |||
2003-05-19 | Patch #739911: Fix for undefined behaviour in fopenNoCase() | Max Horn | |
svn-id: r7695 |