Crossfire Server, Trunk  R20513
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;
18  struct artifactstruct *next;
21 } artifact;
22 
26 typedef struct artifactliststruct {
31 } artifactlist;
32 
33 #endif /* ARTIFACT_H */
uint8_t type
Object type that this list represents.
Definition: artifact.h:27
unsigned char uint8_t
Definition: win32.h:161
struct artifactstruct * items
Artifacts for this type.
Definition: artifact.h:30
uint16_t total_chance
Sum of chance for are artifacts on this list.
Definition: artifact.h:28
struct artifactliststruct * next
Next list of artifacts.
Definition: artifact.h:29
uint8_t difficulty
Minimum map difficulty for the artifact to happen.
Definition: artifact.h:17
struct artifactstruct artifact
This is one artifact, ie one special item.
linked_char * allowed
List of archetypes the artifact can affect.
Definition: artifact.h:19
This represents all archetypes for one particular object type.
Definition: artifact.h:26
This is one artifact, ie one special item.
Definition: artifact.h:14
struct artifactliststruct artifactlist
This represents all archetypes for one particular object type.
unsigned short uint16_t
Definition: win32.h:163
int allowed_size
Length of allowed, for faster computation.
Definition: artifact.h:20
object * item
Special values of the artifact.
Definition: artifact.h:15
uint16_t chance
Chance of the artifact to happen.
Definition: artifact.h:16
struct artifactstruct * next
Next artifact in the list.
Definition: artifact.h:18