#define RELIGION_NONE 0 #define RELIGION_CHEMOSH 1 #define RELIGION_HIDDUKEL 2 #define RELIGION_NUITARI 3 #define RELIGION_SARGONNAS 4 #define RELIGION_ZEBOIM 5 #define RELIGION_BRANCHALA 6 #define RELIGION_HABBAKUK 7 #define RELIGION_KIRI-JOLITH 8 #define RELIGION_MAJERE 9 #define RELIGION_MISHAKAL 10 #define RELIGION_SOLINARI 11 #define RELIGION_CHISLEV 12 #define RELIGION_GILEAN 13 #define RELIGION_LUNITARI 14 #define RELIGION_REORX 15 #define RELIGION_SHINARE 16 #define RELIGION_SIRRION 17 #define RELIGION_ZIVILYN 18 #define RELIGION_TAKHISIS 19 #define RELIGION_PALADINE 20 #define MAX_RELIGION 22 #define MEMBER 0 #define JUNIOR 1 #define SENIOR 2 #define DEPUTY 3 #define SECOND 4 #define LEADER 5 #define MAX_RANK 6 int religion_lookup (const char *name); extern const char * lookup_rank(int); struct religion_titles { char *rank; }; // extern struct religion_type religion_table[MAX_RELIGION]; extern const struct religion_titles religion_rank_table[MAX_RANK];