#define MAX_RANKS 10 struct faction_type { char * name; /* Internal Name */ char * plr_name; /* Player see Name */ char * display_name; /* Coloured Name */ int prime_guildhall; /* Primary Guild Hall */ char * ranks[MAX_RANKS]; /* Rank Names */ int advancement[MAX_RANKS]; /* Guild Points needed */ } FACTION; extern const struct faction_type faction_table[]; /* Functions */ int faction_lookup (const char *name); int faction_lookup2 (const char *name);