aboutsummaryrefslogtreecommitdiff
path: root/common/file.cpp
AgeCommit message (Collapse)Author
2003-06-15Parentheses didn't compile on WIN32Bertrand Augereau
svn-id: r8512
2003-06-14fixed 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-14fix for bug #749249, related with path of game data placed on root drive ↵Paweł Kołodziejski
under win98 svn-id: r8478
2003-05-28the _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-28added some missing checks for file being open before reading/writingMax Horn
svn-id: r8043
2003-05-21added fixme commentMax Horn
svn-id: r7791
2003-05-19Patch #739911: Fix for undefined behaviour in fopenNoCase()Max Horn
svn-id: r7695
2003-05-01fix leakJonathan Gray
svn-id: r7244
2003-04-30more PalmOS changesMax Horn
svn-id: r7220
2003-04-10fixed GP32 portJoost Peters
svn-id: r6958
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06next pedantic cleanup codePaweł Kołodziejski
svn-id: r6714
2003-01-12search for files in voices/ subdir (useful for Simon2Mac)Max Horn
svn-id: r6409
2003-01-09indentionMax Horn
svn-id: r6369
2002-12-24File object stores file name (useful for debugging)Max Horn
svn-id: r6089
2002-11-02Added simon sound bugfix, patch #632518Travis Howell
Added fix for simon sound-related crash, patch #632517 svn-id: r5377
2002-10-22fixed warnings (and simplified the code, gosh, aquadran, why so complicated? :-)Max Horn
svn-id: r5264
2002-10-22cleanup arrayPaweł Kołodziejski
svn-id: r5250
2002-10-22don't shadow varsMax Horn
svn-id: r5237
2002-10-22don't shadow varsMax Horn
svn-id: r5236
2002-10-21The terms Word and DWord are somewhat Windows centric; in fact there are ↵Max Horn
systems on which word is 32bit, as opposed to our 16 bits. Hence, use the uin16/uint32 naming scheme, which is not ambigious svn-id: r5216
2002-09-17Appending a slash in all cases breaks some games on MOSRuediger Hanke
svn-id: r4961
2002-09-15improved open function in File classPaweł Kołodziejski
svn-id: r4945
2002-09-13factored out the case-insensitive fopen into its own function - makes it ↵Max Horn
easier to adapt all the code to use it. TODO: improve it to work like in exult, i.e. sometimes other parts of the path have to be changed to upper/lower case (e.g. video vs. VIDEO) svn-id: r4935
2002-09-13ugh! yes, negative offsets for seek do occur! Thus using an unsigned isn't ↵Max Horn
such a good choice for the offset parameter svn-id: r4927
2002-09-10changed scumm file io to class FilePaweł Kołodziejski
svn-id: r4920
2002-09-08rewrote config class; cleanup; code restructuringMax Horn
svn-id: r4903
2002-09-02added write support to FilePaweł Kołodziejski
svn-id: r4900
2002-09-02removed (+ pos)Paweł Kołodziejski
svn-id: r4899
2002-09-02corrected lower/upper changes in FilePaweł Kołodziejski
svn-id: r4898
2002-09-02fixesPaweł Kołodziejski
svn-id: r4897
2002-09-02changed file io in sounds to class FilePaweł Kołodziejski
svn-id: r4896
2002-08-31fixed compilation on Mac OS X; some cleanup; moved header file ↵Max Horn
scumm/smusH/rect.h to common/rect.h svn-id: r4877
2002-08-31updatedPaweł Kołodziejski
svn-id: r4875
2002-08-31added class FilePaweł Kołodziejski
svn-id: r4873