version 1.7 | | version 1.8 |
---|
| | |
/* | | /* |
* static char *rcsid_material_h = | | * static char *rcsid_material_h = |
* "$Id: material.h,v 1.7 2002/07/15 04:25:40 mwedel Exp $"; | | * "$Id: material.h,v 1.8 2003/01/30 00:07:08 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
#define M_BONE 2048 | | #define M_BONE 2048 |
#define M_ICE 4096 | | #define M_ICE 4096 |
| | |
| | /* |
typedef struct { | | typedef struct { |
char *name; | | char *name; |
sint8 save[NROFATTACKS]; | | sint8 save[NROFATTACKS]; |
} materialtype; | | } materialtype; |
| | |
EXTERN materialtype material[NROFMATERIALS]; | | EXTERN materialtype material[NROFMATERIALS]; |
| | */ |
| | |
| | typedef struct _materialtype { |
| | char *name; |
| | char *description; |
| | int material; |
| | sint8 save[NROFATTACKS]; |
| | sint8 mod[NROFATTACKS]; |
| | sint8 chance; |
| | sint8 difficulty; |
| | sint8 magic; |
| | sint8 damage; |
| | sint8 wc; |
| | sint8 ac; |
| | sint8 sp; |
| | int weight; |
| | int value; |
| | struct _materialtype *next; |
| | } materialtype_t; |
| | |
| | EXTERN materialtype_t *materialt; |
| | |
/* The data is initialized in common/item.c */ | | /* The data is initialized in common/item.c */ |
| | |