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.40 by root, Mon Oct 29 23:55:53 2012 UTC vs.
Revision 1.41 by root, Fri Nov 9 00:11:49 2012 UTC

25 25
26#include <util.h> 26#include <util.h>
27#include <tr1/unordered_map> 27#include <tr1/unordered_map>
28 28
29#define CHKSUM_MAXLEN 15 29#define CHKSUM_MAXLEN 15
30#define MAX_FACES 10000 // stupid gcfclient artificially limits 30#define MAX_FACES 65535 // we reserve face #65535
31 31
32typedef uint16 faceidx; 32typedef uint16 faceidx;
33 33
34extern faceidx blank_face, empty_face, magicmouth_face; 34extern faceidx blank_face, empty_face, magicmouth_face;
35 35
36struct facedata 36struct facedata
37{ 37{
38 refcnt_buf data; // no need to be refcounted actually 38 refcnt_buf data;
39 uint8 chksum[CHKSUM_MAXLEN]; 39 uint8 chksum[CHKSUM_MAXLEN];
40 uint8 chksum_len; 40 uint8 chksum_len;
41 41
42 facedata () 42 facedata ()
43 : chksum_len (0) 43 : chksum_len (0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines