aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/dataio.cpp
AgeCommit message (Collapse)Author
2011-08-26GOB: Fix 0OT resource loading, used in GeishaSven Hesse
0OT are compressed TOT files. The compression flag in the STK header is *not* set, and 0OT files are compressed in chunks, not as a whole.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-06GOB: Create a SafeSubReadStream for files in STKsSven Hesse
Instead of memcpy'ing them into a MemoryReadStream. This is necessary for the lower end PSPs to run Urban Runner with its comparably big VMD videos.
2010-12-07GOB: Fix byte *getFile() for loose filesSven Hesse
A very, very stupid error on my part :P svn-id: r54826
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-10-31GOB: Add listArchives debug console commandSven Hesse
svn-id: r53985
2010-10-31GOB: Clean up class DataIOSven Hesse
Removing the need for class DataStream and that handle mess. svn-id: r53984
2010-10-15GOB: Remove the now useless helper.hSven Hesse
svn-id: r53491
2010-10-15GOB: Remove strncpy0()Sven Hesse
Replacing it (and some strncpy + manual terminating) with Common::strlcpy() svn-id: r53490
2010-05-17Enforce conversion formatting on pointer casts in the DEV code.Johannes Schickel
svn-id: r49068
2009-10-08gob - Fix a Valgrind warning occuring in CD gamesArnaud Boutonné
svn-id: r44774
2009-09-29Playtoons - implement some functions related to hotspot textsArnaud Boutonné
Fascination - initial version of several 'Fascination Window' functions, proper naming of most of fascination OPCODEDRAW and OPCODEGOB functions svn-id: r44472
2009-09-29Gob - Silence a Valgrind warning by initializing a variable Arnaud Boutonné
svn-id: r44467
2009-08-08When opening a data stream, don't read the whole file into memory if not ↵Sven Hesse
necessary. This vastly improves the loading times of Gob3 on small devices svn-id: r43107
2009-07-09Giving Font its own real classSven Hesse
svn-id: r42277
2009-06-25Making _numDataChunks unsignedSven Hesse
svn-id: r41875
2009-06-24Checking for the file's existence in DataIO::getDataStream()Sven Hesse
svn-id: r41837
2009-06-22Adding DataIO::existData()Sven Hesse
svn-id: r41752
2009-05-31GOB: Replaced many uses of strdupcpy by Common::StringMax Horn
svn-id: r41077
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-21Splitting a few helper functions out of gob.hSven Hesse
svn-id: r40765
2009-04-21Patch #2725859 : Added some MD5 to the gob engine, modified the way the ↵Arnaud Boutonné
first STK and TOT is declared, added inter and draw skeleton for Fascination svn-id: r40059
2008-12-03Preliminary support for extra data and scripts in video files (urgh, this is ↵Sven Hesse
so...vile). Used in The Last Dynasty, which now plays a bit further (the video sequences, at least) svn-id: r35227
2008-09-14Big patch changing semantics of ReadStream::eos():Willem Jan Palenstijn
eos() now only returns true _after_ trying to read past the end of the stream. This has a large potential for regressions. Please test! svn-id: r34549
2008-09-13Big patch changing the signature of various Stream methods (some ports may ↵Max Horn
need to be slightly tweaked to fix overloading errors/warnings) svn-id: r34514
2008-07-29Changed class File (and derived classes) to only support read-only access; ↵Max Horn
added a new class DumpFile for writing svn-id: r33412
2008-05-13Added a warning when all chunk slots are full, as that's still a problem in ↵Sven Hesse
Woodruff (some videos aren't closed correctly yet). svn-id: r32091
2008-05-08Restructured sound codeSven Hesse
svn-id: r31937
2008-05-04Fixed DataStream::seek() (must have been drunk that day ;))Sven Hesse
svn-id: r31857
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-08-11Added a small safety check to avoid accidently overflowing buffers when ↵Sven Hesse
reading from files in STKs svn-id: r28536
2007-07-31Still partly broken/stubby VMD playingSven Hesse
svn-id: r28363
2007-07-31Minor DataIO-cleanupSven Hesse
svn-id: r28349
2007-07-30Restructured and cleaned-up IMD playingSven Hesse
svn-id: r28327
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-04-28Possible fix for bug #1709124 ("GOB3: (dos/russian) just dont run")Sven Hesse
svn-id: r26665
2007-04-05- Minor cleanupSven Hesse
- Added Inter_v3 (for new opcode o3_getTotTextItemPart) - Some fixes to let Gob3 start with the first screen svn-id: r26383
2007-04-02"char *" -> "byte *" where appropriateSven Hesse
svn-id: r26369
2007-03-30- Fixed the IMD playing within mults, the non-interactive Gob3 demo should ↵Sven Hesse
work better now - Replaced strcpy with strncpy where appropriate - Added detection entries for other languages of the multilingual Gob3 CD; bug #1691230 svn-id: r26327
2007-03-29- Properly implemented the ImdPlayerSven Hesse
- Some more clean-up svn-id: r26316
2007-03-20Major clean-up, including:Sven Hesse
- Cutting down the code-dup - Plucking leaks - Removing dead/unused code - Properly naming "word_2342F"-style variables and functions (removing the warnings alongside) - Fleshing out the "stubby" functions - Moving functions and variables to more appropriate/logical places - Re-ordering functions and variables - Re-structuring functions - Moving the IMD stuff into a new "Imd" class in the new imd.cpp/.h (still to be completely implemented and cleaned up) - Formatting - Getting rid off the classes "Anim", "Pack" and "Timer", along with their files svn-id: r26252
2007-01-13Rename special debug levels to conform our suggested naming scheme.Eugene Sandulenko
svn-id: r25073
2006-05-29- More GOB2 map conversionsSven Hesse
- Added Music_Dummy (for --music-driver=null) - Implemented IMDs. That took longer than I expected... On the bright side, Ween's intro now plays more correctly svn-id: r22754
2006-03-08Fixed tons of format string warnings for debug/error calls (including ↵Max Horn
several errors where the format string didn't match the number of arguments to the call) svn-id: r21141
2006-02-24Changed debug()s to debugC()sSven Hesse
svn-id: r20848
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582