Crossfire Server, Trunk
artifact.h
Go to the documentation of this file.
1 
8 #ifndef ARTIFACT_H
9 #define ARTIFACT_H
10 
14 typedef struct artifactstruct {
15  object *item;
16  uint16_t chance;
17  uint8_t difficulty;
18  struct artifactstruct *next;
21 } artifact;
22 
26 typedef struct artifactliststruct {
27  uint8_t type;
28  uint16_t total_chance;
31 } artifactlist;
32 
33 #endif /* ARTIFACT_H */
artifact
struct artifactstruct artifact
artifactliststruct::total_chance
uint16_t total_chance
Definition: artifact.h:28
artifactlist
struct artifactliststruct artifactlist
artifactliststruct::items
struct artifactstruct * items
Definition: artifact.h:30
linked_char
Definition: global.h:86
artifactstruct::chance
uint16_t chance
Definition: artifact.h:16
artifactstruct::next
struct artifactstruct * next
Definition: artifact.h:18
artifactliststruct::next
struct artifactliststruct * next
Definition: artifact.h:29
artifactstruct::difficulty
uint8_t difficulty
Definition: artifact.h:17
artifactstruct::allowed_size
int allowed_size
Definition: artifact.h:20
artifactliststruct
Definition: artifact.h:26
artifactstruct
Definition: artifact.h:14
artifactstruct::item
object * item
Definition: artifact.h:15
artifactliststruct::type
uint8_t type
Definition: artifact.h:27
artifactstruct::allowed
linked_char * allowed
Definition: artifact.h:19