Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2003-05-01 | fix leak | Jonathan Gray | |
svn-id: r7244 | |||
2003-04-30 | more PalmOS changes | Max Horn | |
svn-id: r7220 | |||
2003-04-10 | fixed GP32 port | Joost Peters | |
svn-id: r6958 | |||
2003-03-06 | updated copyrights headers | Paweł Kołodziejski | |
svn-id: r6726 | |||
2003-03-06 | next pedantic cleanup code | Paweł Kołodziejski | |
svn-id: r6714 | |||
2003-01-12 | search for files in voices/ subdir (useful for Simon2Mac) | Max Horn | |
svn-id: r6409 | |||
2003-01-09 | indention | Max Horn | |
svn-id: r6369 | |||
2002-12-24 | File object stores file name (useful for debugging) | Max Horn | |
svn-id: r6089 | |||
2002-11-02 | Added simon sound bugfix, patch #632518 | Travis Howell | |
Added fix for simon sound-related crash, patch #632517 svn-id: r5377 | |||
2002-10-22 | fixed warnings (and simplified the code, gosh, aquadran, why so complicated? :-) | Max Horn | |
svn-id: r5264 | |||
2002-10-22 | cleanup array | Paweł Kołodziejski | |
svn-id: r5250 | |||
2002-10-22 | don't shadow vars | Max Horn | |
svn-id: r5237 | |||
2002-10-22 | don't shadow vars | Max Horn | |
svn-id: r5236 | |||
2002-10-21 | The 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-17 | Appending a slash in all cases breaks some games on MOS | Ruediger Hanke | |
svn-id: r4961 | |||
2002-09-15 | improved open function in File class | Paweł Kołodziejski | |
svn-id: r4945 | |||
2002-09-13 | factored 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-13 | ugh! 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-10 | changed scumm file io to class File | Paweł Kołodziejski | |
svn-id: r4920 | |||
2002-09-08 | rewrote config class; cleanup; code restructuring | Max Horn | |
svn-id: r4903 | |||
2002-09-02 | added write support to File | Paweł Kołodziejski | |
svn-id: r4900 | |||
2002-09-02 | removed (+ pos) | Paweł Kołodziejski | |
svn-id: r4899 | |||
2002-09-02 | corrected lower/upper changes in File | Paweł Kołodziejski | |
svn-id: r4898 | |||
2002-09-02 | fixes | Paweł Kołodziejski | |
svn-id: r4897 | |||
2002-09-02 | changed file io in sounds to class File | Paweł Kołodziejski | |
svn-id: r4896 | |||
2002-08-31 | fixed 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-31 | updated | Paweł Kołodziejski | |
svn-id: r4875 | |||
2002-08-31 | added class File | Paweł Kołodziejski | |
svn-id: r4873 |