--- deliantra/server/include/face.h 2006/08/31 17:54:14 1.3 +++ deliantra/server/include/face.h 2006/09/16 22:06:17 1.4 @@ -21,34 +21,31 @@ The author can be reached via e-mail to mark@pyramid.com */ - /* New face structure - this enforces the notion that data is face by * face only - you can not change the color of an item - you need to instead * create a new face with that color. */ -typedef struct new_face_struct +struct New_Face { uint16 number; /* This is the image id. It should be the */ /* same value as its position in the array */ shstr name; uint8 visibility; uint8 magicmap; /* Color to show this in magic map */ -} -New_Face; +}; -typedef struct map_look_struct +struct MapLook { New_Face *face; uint8 flags; -} MapLook; +}; -typedef struct +struct Animations { shstr name; /* Name of the animation sequence */ uint8 num_animations; /* How many different faces to animate */ uint8 facings; /* How many facings (1,2,4,8) */ Fontindex *faces; /* The different animations */ uint16 num; /* Where we are in the array */ -} Animations; - +};