ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/image.C
(Generate patch)

Comparing deliantra/server/common/image.C (file contents):
Revision 1.13 by root, Fri Jan 19 17:50:10 2007 UTC vs.
Revision 1.14 by root, Fri Feb 2 22:49:11 2007 UTC

44{ 44{
45 char *name; 45 char *name;
46 unsigned int number; 46 unsigned int number;
47}; 47};
48 48
49void free (bmappair *); // guard to catch free when delete should be used
50
51static struct bmappair *xbm = NULL; 49static struct bmappair *xbm = NULL;
52 50
53/* Following can just as easily be pointers, but
54 * it is easier to keep them like this.
55 */
56facetile *blank_face, *dark_faces[3], *empty_face, *smooth_face; 51facetile *blank_face, *dark_faces[3], *empty_face, *smooth_face;
57
58 52
59/* nroffiles is the actual number of bitmaps defined. 53/* nroffiles is the actual number of bitmaps defined.
60 * nrofpixmaps is the number of bitmaps loaded. With 54 * nrofpixmaps is the number of bitmaps loaded. With
61 * the automatic generation of the bmaps file, this is now equal 55 * the automatic generation of the bmaps file, this is now equal
62 * to nroffiles. 56 * to nroffiles.
70int nrofpixmaps = 0; 64int nrofpixmaps = 0;
71 65
72/** 66/**
73 * id is the face to smooth, smooth is the 16x2 face used to smooth id. 67 * id is the face to smooth, smooth is the 16x2 face used to smooth id.
74 */ 68 */
75struct smoothing:zero_initialised 69struct smoothing : zero_initialised
76{ 70{
77 uint16 id; 71 uint16 id;
78 uint16 smooth; 72 uint16 smooth;
79}; 73};
80
81void free (smoothing *); // guard to catch free when delete should be used
82 74
83/** 75/**
84 * Contains all defined smoothing entries. smooth is an array of nrofsmooth 76 * Contains all defined smoothing entries. smooth is an array of nrofsmooth
85 * entries. It is sorted by smooth[].id. 77 * entries. It is sorted by smooth[].id.
86 */ 78 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines