Debian Codegraph @

include/god.h

raw symbols SCIP
1 /**
2 * @file
3 * God-related structure.
4 */
5
6 #ifndef GOD_H
7 #define GOD_H
8
9 /**
10 * Used to link together the gods.
11 */
12 typedef struct glnk {
13 const char *name; /**< Name of this god. */
14 struct archt *arch; /**< Pointer to the archetype of this god. */
15 int id; /**< Id of the god. */
16 struct glnk *next; /**< Next god. */
17 } godlink;
18
19
20 /**
21 * @defgroup GOD_xxx God description flags, used with describe_god().
22 */
23 /*@{*/
24 #define GOD_ENEMY 1 /**< Write down god's enemy. */
25 #define GOD_HOLYWORD 2 /**< Write holy word information. */
26 #define GOD_RESISTANCES 4 /**< Write resistances. */
27 #define GOD_SACRED 8 /**< Write sacred creatures. */
28 #define GOD_BLESSED 16 /**< Write various information (resistances?). */
29 #define GOD_IMMUNITIES 32 /**< Write immunities. */
30 #define GOD_PATHS 64 /**< Path information. */
31 #define GOD_ALL 0xFF /**< Give all god information. */
32 /*@}*/
33
34 #endif /* GOD_H */