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.20 by root, Tue Jul 24 04:55:34 2007 UTC vs.
Revision 1.21 by root, Sat Sep 15 15:58:06 2007 UTC

97 97
98typedef uint16 animidx; 98typedef uint16 animidx;
99 99
100struct animation 100struct animation
101{ 101{
102 faceidx *faces; /* The different animations */
103 int num_animations; /* How many different faces to animate */
104 sint8 facings; /* How many facings (1,2,4,8) */
105 animidx number;
102 shstr name; /* Name of the animation sequence */ 106 shstr name; /* Name of the animation sequence */
103 animidx number;
104 uint8 num_animations; /* How many different faces to animate */
105 uint8 facings; /* How many facings (1,2,4,8) */
106 faceidx *faces; /* The different animations */
107 107
108 static animation &create (const char *name, uint8 frames, uint8 facings = 1); 108 static animation &create (const char *name, uint8 frames, uint8 facings = 1);
109 static animation &find (const char *name); 109 static animation &find (const char *name);
110 110
111 void resize (int new_size); 111 void resize (int new_size);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines