Crossfire Server, Trunk  R20513
god.h
Go to the documentation of this file.
1 
6 #ifndef GOD_H
7 #define GOD_H
8 
12 typedef struct glnk {
13  const char *name;
14  struct archt *arch;
15  int id;
16  struct glnk *next;
17 } godlink;
18 
19 
24 #define GOD_ENEMY 1
25 #define GOD_HOLYWORD 2
26 #define GOD_RESISTANCES 4
27 #define GOD_SACRED 8
28 #define GOD_BLESSED 16
29 #define GOD_IMMUNITIES 32
30 #define GOD_PATHS 64
31 #define GOD_ALL 0xFF
33 
34 #endif /* GOD_H */
struct archt * arch
Pointer to the archetype of this god.
Definition: god.h:14
Used to link together the gods.
Definition: god.h:12
const char * name
Name of this god.
Definition: god.h:13
The archetype structure is a set of rules on how to generate and manipulate objects which point to ar...
Definition: object.h:465
struct glnk * next
Next god.
Definition: god.h:16
int id
Id of the god.
Definition: god.h:15
struct glnk godlink
Used to link together the gods.