aboutsummaryrefslogtreecommitdiff
path: root/sky/disk.cpp
AgeCommit message (Collapse)Author
2004-08-19Fix potential OOB readJoost Peters
svn-id: r14643
2004-06-27Reversed param order of File::open() -- this allowed me to get rid of a few ↵Max Horn
more getGameDataPath() calls svn-id: r14090
2004-03-13some cleanupJoost Peters
svn-id: r13263
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2004-01-03remove 'Sky' name prefix for most stuff (not needed anymore since we are in ↵Max Horn
namespace 'Sky' now) svn-id: r12114
2004-01-03Introduce namespace 'Sky'Max Horn
svn-id: r12099
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11213
2003-10-10some cleanupMax Horn
svn-id: r10720
2003-10-10constnessMax Horn
svn-id: r10714
2003-10-05renamed SkyState to SkyEngine; cleaned the #include dependency mess a bit ↵Max Horn
(try to only #include files when you *have* to -> this reduces compilation time to a minimum when header file changes are made) svn-id: r10622
2003-10-01Whitespace changesTorbjörn Andersson
svn-id: r10516
2003-09-18moved engine.* to base; this fixes some linking issues when building a ↵Max Horn
barebone ScummVM (or maybe I just want to increase our CVS stats? <g>) svn-id: r10287
2003-09-17added 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-06Actually make these game version message shown by default, so users can ↵Travis Howell
better report bugs. svn-id: r10037
2003-08-15Replaced printf()s with debug() and warning().Torbjörn Andersson
svn-id: r9710
2003-07-16Quick-Fix for the OOB access in RNC decoder.Joost Peters
Obviously this should be fixed in the decoder itself, but for some reason I couldn't get it to work in a short period of time. (before every offending READ_UINT16(), I had a call to function that was like this: "if ((_srcPtr - _startPtr) >= _packLen) { _srcPtr -= 2; }", note that _srcPtr is the current position in the buffer, _startPos is the starting position of the buffer and _packLen is the (supposed?) size. but I would still get "Invalid Read of 2" with this in Valgrind ..maybe someone knows what I did wrong?) svn-id: r9050
2003-07-13debug/warning/error all automatically output a newlineMax Horn
svn-id: r8991
2003-07-12add some stuff for v0.0109Jonathan Gray
svn-id: r8936
2003-07-12floppy versions don't seem to have all languages in their datafiles.Robert Göffringmann
svn-id: r8927
2003-07-11big endian fixRobert Göffringmann
svn-id: r8912
2003-07-08fixed file loading bugs for v.0.0331, control panel works nowRobert Göffringmann
svn-id: r8868
2003-07-07applied patch #766979 (BASS: Possible fix for problem with cut-off speech).Robert Göffringmann
added small change to SFX samplerate, sparky doesn't sound like a bird now, either. svn-id: r8840
2003-07-07fixed M$VC++ warnings in text.cpp and added code to disk.cpp which may or ↵Robert Göffringmann
may not fix graphics problems in hobbins' room on big endian systems (can't test that). svn-id: r8830
2003-07-07use our standard cast styleMax Horn
svn-id: r8824
2003-07-06endian fix, cleanupMax Horn
svn-id: r8819
2003-07-04make sky detect v.0.0348 (even though not existing ;)Robert Göffringmann
svn-id: r8751
2003-07-04show detected game version at startup. (hopefully this will stop the wave of ↵Joost Peters
'how do I find out what version I have' questions. we still need to alter the detection to allow 0.0348 to be the detected since it can't be uniquely identified by the number of dnr-entries (i.e. it has the same amount as v0.0331) svn-id: r8734
2003-06-27some more loading & saving work (still unfinished)Robert Göffringmann
svn-id: r8663
2003-06-09fixed issue about file decompression.Robert Göffringmann
svn-id: r8421
2003-06-09some talk-related bugs fixedRobert Göffringmann
svn-id: r8412
2003-06-05fixed caching routinesRobert Göffringmann
svn-id: r8334
2003-06-02added some functions to SkyLogic, -Screen, -Talk and -Disk, moved SkyGrid ↵Robert Göffringmann
out of SkyState svn-id: r8266
2003-06-01basic ingame speech supportRobert Göffringmann
svn-id: r8220
2003-05-30cleanupOliver Kiehl
svn-id: r8138
2003-05-28fixes gcc compiler warningRobert Göffringmann
svn-id: r8061
2003-05-28Screen *kinda* works now.Robert Göffringmann
Though I wonder what the menu sprite is doing on the mainscreen, now. ;) svn-id: r8059
2003-05-20fixed prefetching bugRobert Göffringmann
svn-id: r7751
2003-05-14restructured some things (mainly the screen routines), moved things out from ↵Robert Göffringmann
SkyState. (not yet complete) svn-id: r7516
2003-04-21added detection for v0.0303Joost Peters
svn-id: r7061
2003-04-08applied eriktorbjorn's patch, removed unnecessary cast and renamed CD text ↵Joost Peters
decoder svn-id: r6939
2003-04-07new class SkyDiskOliver Kiehl
svn-id: r6932
2003-04-05changed warning() to error()Joost Peters
svn-id: r6915
2003-04-05Added text decoders + various other bits of codeJoost Peters
svn-id: r6913
2003-03-24Some more cleanup, loadFile now returns a uint8*/byte* so no casting is ↵Joost Peters
needed anymore. svn-id: r6854
2003-03-11added timers, full cd-intro and fixed some minor issuesJoost Peters
svn-id: r6797
2003-03-11add dumpFile(), as per rest of scummvm dumps dir must exist etc missed a file..Jonathan Gray
svn-id: r6796
2003-03-08Added voice support, and more (cd_)intro stuff + added myself to the README :)Joost Peters
svn-id: r6768
2003-03-07Some cleanup, now follows the ScummVM coding guidelines more closely, also ↵Joost Peters
added initialiseGrids() svn-id: r6741
2003-03-06Major cleanup in rnc_deco.cpp, is now a seperate RncDecoder class, modified ↵Joost Peters
disk.cpp to use the class + added rnc_deco.h svn-id: r6712
2003-03-06Some more cleanup + fixed the bug pertaining v0.0288 of the bass datafiles, ↵Joost Peters
should now work with _ALL_ bass versions svn-id: r6709