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.17 by root, Thu Feb 15 18:09:33 2007 UTC vs.
Revision 1.18 by root, Sun Mar 4 19:36:12 2007 UTC

48 unsigned int number; 48 unsigned int number;
49}; 49};
50 50
51static struct bmappair *xbm = NULL; 51static struct bmappair *xbm = NULL;
52 52
53facetile *blank_face, *dark_faces[3], *empty_face, *smooth_face; 53facetile *blank_face, *dark_faces[3], *empty_face;
54 54
55/* nroffiles is the actual number of bitmaps defined. 55/* nroffiles is the actual number of bitmaps defined.
56 * nrofpixmaps is the number of bitmaps loaded. With 56 * nrofpixmaps is the number of bitmaps loaded. With
57 * the automatic generation of the bmaps file, this is now equal 57 * the automatic generation of the bmaps file, this is now equal
58 * to nroffiles. 58 * to nroffiles.
323 323
324 dark_faces[0] = &new_faces[FindFace (DARK_FACE1_NAME, 0)]; 324 dark_faces[0] = &new_faces[FindFace (DARK_FACE1_NAME, 0)];
325 dark_faces[1] = &new_faces[FindFace (DARK_FACE2_NAME, 0)]; 325 dark_faces[1] = &new_faces[FindFace (DARK_FACE2_NAME, 0)];
326 dark_faces[2] = &new_faces[FindFace (DARK_FACE3_NAME, 0)]; 326 dark_faces[2] = &new_faces[FindFace (DARK_FACE3_NAME, 0)];
327 327
328 smooth_face = &new_faces[FindFace (SMOOTH_FACE_NAME, 0)];
329
330 bmaps_checksum = crc; 328 bmaps_checksum = crc;
331} 329}
332 330
333/* This returns an the face number of face 'name'. Number is constant 331/* This returns an the face number of face 'name'. Number is constant
334 * during an invocation, but not necessarily between versions (this 332 * during an invocation, but not necessarily between versions (this

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines