aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/part.cpp
AgeCommit message (Collapse)Author
2010-04-21CINE: Change Doxygen commands to match our CFCMax Horn
svn-id: r48764
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-01-30do not include common/debug.h from common/util.hMax Horn
svn-id: r36143
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-08-19Fix for bug #2057637: FW: Spaceship glitches in demo (regression).Kari Salminen
This was caused by assuming in-place decompression is ok, it wasn't, although AFAIK the original did decompression in-place too. Changed unpacking to be done not in-place and the glitch vanished. Also changed the unpacker to also handle uncompressed input data. svn-id: r34034
2008-08-12Added possibility to get the read resource's size from readBundleFile. Made ↵Kari Salminen
loadMsg handle input data that has empty strings residing just beyond the input buffer (Thanks Valgrind :-)). svn-id: r33810
2008-08-11Changed partBuffer from a pointer to a Common::Array. Removed ↵Kari Salminen
numElementInPart variable as it's now equivalent with partBuffer.size(). svn-id: r33783
2008-08-11Added a safeguard to readBundleFile so it shouldn't corrupt memory even if ↵Kari Salminen
the input says the data's unpacked size is less than its packed size (This shouldn't ever happen with non-corrupted data). svn-id: r33782
2008-08-11Changed readBundleFile to unpack data in-place and added debugging messages ↵Kari Salminen
to the function. svn-id: r33781
2008-08-09Small cleanup: Renamed rol to rolByte and made it handle all cases.Kari Salminen
svn-id: r33708
2008-08-08Added detection entry for the Sony published CD version of Future Wars.Kari Salminen
Also added decrypting of the crypted AUTO00.PRC for this particular version. Now this version should work but no CD audio support for it yet though. svn-id: r33703
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-06-13Made CineUnpacker::unpack more robust & secure. It shouldn't crash now with ↵Kari Salminen
any input (Before making reading or writing operations they are checked to be in bounds). Also updated some comments and added some error message(s). svn-id: r32687
2008-06-10Objectified the Delphine decompression routine (i.e. delphineUnpack).Kari Salminen
svn-id: r32646
2008-06-08Fixed readVolCnf() filename length detection and converted ↵Kari Salminen
fixVolCnfFileName-function to something easier to understand. svn-id: r32618
2008-04-07Patch #1913862: "CinE Script system"Eugene Sandulenko
svn-id: r31444
2007-12-14CleanupFilippos Karapetis
svn-id: r29858
2007-12-08amiga demo version of OS has a VOL.CNF file so I assume full versions of the ↵Gregory Montoir
game also use it ; enabled readVolCnf for all versions of OS. svn-id: r29760
2007-12-08reverted part of commit #29749, inplace unpacking doesn't work with .ani dataGregory Montoir
svn-id: r29756
2007-12-07backported some changes for OSGregory Montoir
- added parsing of VOL.CNF to get the (filename,bundle) mapping (should be more efficient than testing every bundle file) - delphineUnpack allows "inplace unpacking", use this instead of allocating temporary buffers - relation script run count should be set in _localVars[0] - added comments for some "special" script variables svn-id: r29749
2007-06-08Fixed some Valgrind warnings (overlapping source and destination in strcpy()).Torbjörn Andersson
svn-id: r27207
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-05-30cleanup, don't rely on assert() to ensure a gamefile/savefile is opened. ↵Gregory Montoir
Also removed the use of Common::File global objects. svn-id: r27021
2007-05-29added code for freePartRange, freePartEntry and freeOverlay (also renamed ↵Gregory Montoir
some functions and variables). svn-id: r27006
2007-05-20made the resource loading function case insensitive to the filename and ↵Gregory Montoir
removed a NULL dereference if a file is not found svn-id: r26885
2007-05-13removed duplicated code (BASESON datafiles can be loaded with the existing ↵Gregory Montoir
bundle related functions) svn-id: r26836
2006-11-23Dump global scripts too.Eugene Sandulenko
svn-id: r24767
2006-11-22Fix MSVC2005 warnings. Please, review the changes.Eugene Sandulenko
svn-id: r24760
2006-10-15Add proper game detection to CinE engine.Eugene Sandulenko
svn-id: r24320
2006-05-26As far as I can tell, there's no longer any reason for PartBuffer and AnimDataTorbjörn Andersson
to be packed, so I've removed the packing and added the 'refresh' field to AnimData instead of having it as a separate array. On the other hand, animHeaderStruct and animHeader2Struct *should* have been packed, but weren't. I've changed they way they are initialised so that the packing should no longer matter for them either. svn-id: r22651
2006-03-23uint8 -> byteEugene Sandulenko
svn-id: r21414
2006-03-23Got rid of ASSERT and ASSERT_PTR definesEugene Sandulenko
svn-id: r21412
2006-03-23Make copy protection in OS and FW turnable. Still buggyEugene Sandulenko
svn-id: r21411
2006-03-16- added defines to handle the different mouse cursorsGregory Montoir
- revised the way NUM_MAX_PARTDATA and NUM_MAX_ANIMDATA are used - renamed some variables - constify'ed function arguments - minor cleanup svn-id: r21338
2006-03-15added mouse cursorsGregory Montoir
svn-id: r21321
2006-03-03Eliminate flip_support.cpp file.Eugene Sandulenko
svn-id: r21045
2006-02-27cleanupGregory Montoir
svn-id: r20957
2006-02-25cleanup unpacking function and get rid of an old hack to prevent buffer ↵Gregory Montoir
overflows. svn-id: r20884
2006-02-25cleanup (endianess fixes, fixed partBufferStruct structure)Gregory Montoir
svn-id: r20881
2006-02-25Some more cine header cleanupMax Horn
svn-id: r20859
2006-02-25Reducing the header dependencies in cine a bit moreMax Horn
svn-id: r20857
2006-02-25Use static/const on data tables when possible (this helps the compiler to ↵Max Horn
optimize things better) svn-id: r20853
2006-02-25Moved cine engine into namespace CineMax Horn
svn-id: r20851
2006-02-23formating codePaweł Kołodziejski
svn-id: r20835
2006-02-23Cleanup to remove duplicate type definesTravis Howell
svn-id: r20821
2006-02-22Initial version of Cinematique engine evo 1.Eugene Sandulenko
svn-id: r20813