--- deliantra/server/include/material.h 2006/02/03 07:12:49 1.1 +++ deliantra/server/include/material.h 2006/08/29 08:01:36 1.3 @@ -46,11 +46,11 @@ #define M_BONE 2048 #define M_ICE 4096 #define M_SPECIAL 8192 /* when displaying names, don't show the - materialname */ + materialname */ -typedef struct _materialtype { +struct materialtype_t { const char *name; - const char *description; + const char *description; int material; sint8 save[NROFATTACKS]; sint8 mod[NROFATTACKS]; @@ -60,13 +60,13 @@ sint8 damage; sint8 wc; sint8 ac; - sint8 sp; + sint8 sp; int weight; int value; - struct _materialtype *next; -} materialtype_t; + struct materialtype_t *next; +}; -EXTERN materialtype_t *materialt; +extern materialtype_t *materialt; #endif /* MATERIAL_H_1 */