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.3 by root, Thu Aug 31 17:54:14 2006 UTC vs.
Revision 1.4 by root, Sat Sep 16 22:06:17 2006 UTC

19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 20
21 The author can be reached via e-mail to mark@pyramid.com 21 The author can be reached via e-mail to mark@pyramid.com
22*/ 22*/
23 23
24
25/* New face structure - this enforces the notion that data is face by 24/* New face structure - this enforces the notion that data is face by
26 * face only - you can not change the color of an item - you need to instead 25 * face only - you can not change the color of an item - you need to instead
27 * create a new face with that color. 26 * create a new face with that color.
28 */ 27 */
29typedef struct new_face_struct 28struct New_Face
30{ 29{
31 uint16 number; /* This is the image id. It should be the */ 30 uint16 number; /* This is the image id. It should be the */
32 /* same value as its position in the array */ 31 /* same value as its position in the array */
33 shstr name; 32 shstr name;
34 uint8 visibility; 33 uint8 visibility;
35 uint8 magicmap; /* Color to show this in magic map */ 34 uint8 magicmap; /* Color to show this in magic map */
36} 35};
37New_Face;
38 36
39typedef struct map_look_struct 37struct MapLook
40{ 38{
41 New_Face *face; 39 New_Face *face;
42 uint8 flags; 40 uint8 flags;
43} MapLook; 41};
44 42
45typedef struct 43struct Animations
46{ 44{
47 shstr name; /* Name of the animation sequence */ 45 shstr name; /* Name of the animation sequence */
48 uint8 num_animations; /* How many different faces to animate */ 46 uint8 num_animations; /* How many different faces to animate */
49 uint8 facings; /* How many facings (1,2,4,8) */ 47 uint8 facings; /* How many facings (1,2,4,8) */
50 Fontindex *faces; /* The different animations */ 48 Fontindex *faces; /* The different animations */
51 uint16 num; /* Where we are in the array */ 49 uint16 num; /* Where we are in the array */
52} Animations; 50};
53 51
54

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines