ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/face.h
(Generate patch)

Comparing deliantra/server/include/face.h (file contents):
Revision 1.16 by root, Wed Jun 6 05:41:26 2007 UTC vs.
Revision 1.17 by root, Sun Jul 1 04:08:14 2007 UTC

46 * create a new face with that color. 46 * create a new face with that color.
47 */ 47 */
48struct faceinfo 48struct faceinfo
49{ 49{
50 shstr name; 50 shstr name;
51 facedata data32, data64; 51 std::string meta;
52 facedata data32, data64; // either 32/64 face or data32 == generic resource
52 faceidx number; /* This is the image id. It should be the */ 53 faceidx number; /* This is the image id. It should be the */
53 /* same value as its position in the array */ 54 /* same value as its position in the array */
54 faceidx smooth; /* the smooth face for this face, or 0 */ 55 faceidx smooth; /* the smooth face for this face, or 0 */
56 uint8 type; // 0 normal face, 1 generic resource
55 uint8 smoothlevel; // smoothlevel is per-face in 2.x servers 57 uint8 smoothlevel; // smoothlevel is per-face in 2.x servers
56 uint8 visibility; 58 uint8 visibility;
57 uint8 magicmap; /* Color to show this in magic map */ 59 uint8 magicmap; /* Color to show this in magic map */
58 60
59 faceinfo () 61 faceinfo ()
60 : number (0), smooth (0), smoothlevel (0), visibility (0), magicmap (0) 62 : number (0), smooth (0), type (0), smoothlevel (0), visibility (0), magicmap (0)
61 { } 63 { }
62}; 64};
63 65
64inline void 66inline void
65object_freezer::put (keyword k, faceinfo *v) 67object_freezer::put (keyword k, faceinfo *v)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines