ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/material.h
(Generate patch)

Comparing deliantra/server/include/material.h (file contents):
Revision 1.10 by root, Tue Feb 6 13:21:29 2007 UTC vs.
Revision 1.11 by root, Wed Feb 7 23:50:01 2007 UTC

44#define M_SPECIAL 8192 /* when displaying names, don't show the 44#define M_SPECIAL 8192 /* when displaying names, don't show the
45 materialname */ 45 materialname */
46 46
47struct materialtype_t : zero_initialised 47struct materialtype_t : zero_initialised
48{ 48{
49 struct materialtype_t *next;
49 shstr name; 50 shstr name;
50 shstr description; 51 shstr description;
51 int material; 52 int material;
52 sint8 save[NROFATTACKS]; 53 sint8 save[NROFATTACKS];
53 sint8 mod[NROFATTACKS]; 54 sint8 mod[NROFATTACKS];
58 sint8 wc; 59 sint8 wc;
59 sint8 ac; 60 sint8 ac;
60 sint8 sp; 61 sint8 sp;
61 int weight; 62 int weight;
62 int value; 63 int value;
63 int density; // g/cm² * 1000 == kg/m³ 64 int density; // g/cm³ * 1000 == kg/m³
64 struct materialtype_t *next;
65}; 65};
66 66
67extern materialtype_t *materialt; 67extern materialtype_t *materialt;
68 68
69#endif /* MATERIAL_H_1 */ 69#endif /* MATERIAL_H_1 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines