--- deliantra/server/include/face.h 2012/10/29 23:55:53 1.40 +++ deliantra/server/include/face.h 2012/11/11 04:29:11 1.42 @@ -27,20 +27,19 @@ #include #define CHKSUM_MAXLEN 15 -#define MAX_FACES 10000 // stupid gcfclient artificially limits - -typedef uint16 faceidx; +#define MAX_FACES 65535 // we reserve face #65535 extern faceidx blank_face, empty_face, magicmouth_face; struct facedata { - refcnt_buf data; // no need to be refcounted actually + uint32_t size; + uint32_t fofs; // file offste in facedatax uint8 chksum[CHKSUM_MAXLEN]; uint8 chksum_len; facedata () - : chksum_len (0) + : size (0), fofs (0), chksum_len (0) { } };