faction.h

src/faction.h · 670 B

From the archive cyhawk_mud.tar.gz

Download the archive   « Back to the archive contents

#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);

Site Stats

Snippets: 1791
Codebases: 571