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.3 by root, Tue Aug 29 08:01:36 2006 UTC vs.
Revision 1.4 by root, Sun Sep 3 00:18:41 2006 UTC

1/* 1/*
2 * static char *rcsid_material_h = 2 * static char *rcsid_material_h =
3 * "$Id: material.h,v 1.3 2006/08/29 08:01:36 root Exp $"; 3 * "$Id: material.h,v 1.4 2006/09/03 00:18:41 root Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
46#define M_BONE 2048 46#define M_BONE 2048
47#define M_ICE 4096 47#define M_ICE 4096
48#define M_SPECIAL 8192 /* when displaying names, don't show the 48#define M_SPECIAL 8192 /* when displaying names, don't show the
49 materialname */ 49 materialname */
50 50
51struct materialtype_t { 51struct materialtype_t : zero_initialised
52 const char *name; 52{
53 const char *description; 53 shstr name;
54 shstr description;
54 int material; 55 int material;
55 sint8 save[NROFATTACKS]; 56 sint8 save[NROFATTACKS];
56 sint8 mod[NROFATTACKS]; 57 sint8 mod[NROFATTACKS];
57 sint8 chance; 58 sint8 chance;
58 sint8 difficulty; 59 sint8 difficulty;
59 sint8 magic; 60 sint8 magic;
60 sint8 damage; 61 sint8 damage;
61 sint8 wc; 62 sint8 wc;
62 sint8 ac; 63 sint8 ac;
63 sint8 sp; 64 sint8 sp;
64 int weight; 65 int weight;
65 int value; 66 int value;
66 struct materialtype_t *next; 67 struct materialtype_t *next;
67}; 68};
68 69
69extern materialtype_t *materialt; 70extern materialtype_t *materialt;
70 71
71#endif /* MATERIAL_H_1 */ 72#endif /* MATERIAL_H_1 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines