Commit Graph

24 Commits

Author SHA1 Message Date
Max Horn
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Kari Salminen
00cbedb25f Added possibility to get the read resource's size from readBundleFile. Made loadMsg handle input data that has empty strings residing just beyond the input buffer (Thanks Valgrind :-)).
svn-id: r33810
2008-08-12 22:45:38 +00:00
Kari Salminen
2d5a140725 Changed partBuffer from a pointer to a Common::Array. Removed numElementInPart variable as it's now equivalent with partBuffer.size().
svn-id: r33783
2008-08-11 20:41:13 +00:00
Kari Salminen
c1462dda14 Added a safeguard to readBundleFile so it shouldn't corrupt memory even if 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-11 20:18:33 +00:00
Kari Salminen
c0701bfcb6 Added detection entry for the Sony published CD version of Future Wars.
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-08-08 18:28:13 +00:00
Eugene Sandulenko
732774fd8d Patch #1913862: "CinE Script system"
svn-id: r31444
2008-04-07 20:24:40 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Gregory Montoir
73210b4aa3 added code for freePartRange, freePartEntry and freeOverlay (also renamed some functions and variables).
svn-id: r27006
2007-05-29 20:22:20 +00:00
Gregory Montoir
b37c83448a made the resource loading function case insensitive to the filename and removed a NULL dereference if a file is not found
svn-id: r26885
2007-05-20 11:48:53 +00:00
Gregory Montoir
e6ef2348a4 removed duplicated code (BASESON datafiles can be loaded with the existing bundle related functions)
svn-id: r26836
2007-05-13 16:07:33 +00:00
Torbjörn Andersson
f36beed55d Changed CINE_*_H_ to CINE_*_H for consistency with other engines. (Oh, who am I
kidding, I'm still testing the SVN change.)

svn-id: r24806
2006-12-03 18:29:58 +00:00
Eugene Sandulenko
51a621fe98 Dump global scripts too.
svn-id: r24767
2006-11-23 06:47:41 +00:00
Torbjörn Andersson
985215a04a As far as I can tell, there's no longer any reason for PartBuffer and AnimData
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-05-26 09:36:41 +00:00
Eugene Sandulenko
0b35672f78 uint8 -> byte
svn-id: r21414
2006-03-23 03:45:52 +00:00
Eugene Sandulenko
36302c0921 Make copy protection in OS and FW turnable. Still buggy
svn-id: r21411
2006-03-23 03:15:39 +00:00
Gregory Montoir
61a5fb7064 - added defines to handle the different mouse cursors
- 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-16 20:29:07 +00:00
Lars Persson
dad7ee3e2f Add PACK macros to structs for it to work on all platforms
svn-id: r21009
2006-03-02 10:52:27 +00:00
Gregory Montoir
9c80770411 cleanup
svn-id: r20957
2006-02-27 21:25:59 +00:00
Gregory Montoir
0364eeed5c cleanup (endianess fixes, fixed partBufferStruct structure)
svn-id: r20881
2006-02-25 18:16:40 +00:00
Max Horn
5ea3b8f9cd - avoid using typedef for structs (it is just not necessary in C++)
- added a const/static here and there
- started to reduce header dependencies

svn-id: r20856
2006-02-25 00:46:56 +00:00
Max Horn
2fc23c85da Moved cine engine into namespace Cine
svn-id: r20851
2006-02-25 00:26:14 +00:00
Gregory Montoir
481094ada0 cleanup
svn-id: r20846
2006-02-24 22:34:22 +00:00
Travis Howell
3fe8c971f2 Cleanup to remove duplicate type defines
svn-id: r20821
2006-02-23 09:12:21 +00:00
Eugene Sandulenko
71c170bb13 Initial version of Cinematique engine evo 1.
svn-id: r20813
2006-02-22 22:40:53 +00:00