Author: muggenhor Date: Sun May 27 17:50:56 2007 New Revision: 1361 URL: http://svn.gna.org/viewcvs/warzone?rev=1361&view=rev Log: * now load resources of type "IMG" directly from their file rather than an intermediate memory buffer * make definitions of IMAGEHEADER and IMAGEDEF safe for loading on systems with different sizes for datatypes * Allocate IMAGEDEF in a function of its own: iV_AllocImageFile (uses only one malloc call so we don't need to go and toy with lots free() calls on failure) * Use PHYSFS_read* functions for endian correctness (rather than the endian_*word stuff)
Modified: trunk/lib/ivis_common/bitimage.c trunk/lib/ivis_common/bitimage.h trunk/lib/ivis_common/ivisdef.h trunk/src/data.c _______________________________________________ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits