--- deliantra/server/include/face.h 2007/07/12 08:40:14 1.19 +++ deliantra/server/include/face.h 2007/09/15 15:58:06 1.21 @@ -60,6 +60,8 @@ faceinfo () : number (0), smooth (0), type (0), smoothlevel (0), visibility (0), magicmap (0) { } + + facedata *data (int faceset) const; }; inline void @@ -97,11 +99,11 @@ struct animation { - shstr name; /* Name of the animation sequence */ - animidx number; - uint8 num_animations; /* How many different faces to animate */ - uint8 facings; /* How many facings (1,2,4,8) */ faceidx *faces; /* The different animations */ + int num_animations; /* How many different faces to animate */ + sint8 facings; /* How many facings (1,2,4,8) */ + animidx number; + shstr name; /* Name of the animation sequence */ static animation &create (const char *name, uint8 frames, uint8 facings = 1); static animation &find (const char *name);