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

Comparing deliantra/server/include/artifact.h (file contents):
Revision 1.2 by root, Tue Aug 29 08:01:36 2006 UTC vs.
Revision 1.3 by root, Sat Sep 16 22:06:17 2006 UTC

1typedef struct artifactstruct { 1struct artifact
2{
2 object *item; 3 object *item;
3 uint16 chance; 4 uint16 chance;
4 uint8 difficulty; 5 uint8 difficulty;
5 struct artifactstruct *next; 6 artifact *next;
6 linked_char *allowed; 7 linked_char *allowed;
7} artifact; 8};
8 9
9typedef struct artifactliststruct { 10struct artifactlist
11{
10 uint8 type; /* Object type that this list represents */ 12 uint8 type; /* Object type that this list represents */
11 uint16 total_chance; /* sum of chance for are artifacts on this list */ 13 uint16 total_chance; /* sum of chance for are artifacts on this list */
12 struct artifactliststruct *next;
13 struct artifactstruct *items;
14} artifactlist; 14 artifactlist *next;
15 15 artifact *items;
16};

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines