--- deliantra/server/include/face.h 2007/06/06 05:41:26 1.16 +++ deliantra/server/include/face.h 2007/07/01 04:08:14 1.17 @@ -48,16 +48,18 @@ struct faceinfo { shstr name; - facedata data32, data64; + std::string meta; + facedata data32, data64; // either 32/64 face or data32 == generic resource faceidx number; /* This is the image id. It should be the */ /* same value as its position in the array */ faceidx smooth; /* the smooth face for this face, or 0 */ + uint8 type; // 0 normal face, 1 generic resource uint8 smoothlevel; // smoothlevel is per-face in 2.x servers uint8 visibility; uint8 magicmap; /* Color to show this in magic map */ faceinfo () - : number (0), smooth (0), smoothlevel (0), visibility (0), magicmap (0) + : number (0), smooth (0), type (0), smoothlevel (0), visibility (0), magicmap (0) { } };