--- deliantra/server/include/face.h 2006/08/29 08:01:36 1.2 +++ deliantra/server/include/face.h 2006/08/31 17:54:14 1.3 @@ -1,9 +1,4 @@ /* - * static char *rcsid_face_h = - * "$Id$"; - */ - -/* CrossFire, A Multiplayer game for X-windows Copyright (C) 1994 Mark Wedel @@ -31,26 +26,29 @@ * 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 { - uint16 number; /* This is the image id. It should be the */ +typedef struct new_face_struct +{ + uint16 number; /* This is the image id. It should be the */ /* same value as its position in the array */ - const char *name; - uint8 visibility; - uint8 magicmap; /* Color to show this in magic map */ -} New_Face; - -typedef struct map_look_struct { - New_Face *face; - uint8 flags; + shstr name; + uint8 visibility; + uint8 magicmap; /* Color to show this in magic map */ +} +New_Face; + +typedef struct map_look_struct +{ + New_Face *face; + uint8 flags; } MapLook; - -typedef struct { - const char *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 */ +typedef struct +{ + 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;