powers.h
TinyMAZE/src/hdrs/powers.h · 1.7 KB
From the archive TinyMAZEv2.5a.tar.gz
Download the archive « Back to the archive contents
#ifndef POWERS_H
#define POWERS_H
#define CLASS_GUEST 0
#define CLASS_VISITOR 1
#define CLASS_GROUP 2
#define CLASS_CITIZEN 3
#define CLASS_PCITIZEN 4
#define CLASS_GUIDE 5
#define CLASS_OFFICIAL 6
#define CLASS_BUILDER 7
#define CLASS_ADMIN 8
#define CLASS_DIR 9
#define NUM_CLASSES 10
extern struct pow_list
{
char *name;
int num;
char *description;
int init[NUM_CLASSES];
int max[NUM_CLASSES];
} powers[];
#define PW_NO 0
#define PW_YESLT 1
#define PW_YESEQ 2
#define PW_YES 3
/* If you want your database to be portable to other TinyMAZE servers *
* then don't change any given power's number. */
#define POW_ANNOUNCE 0
#define POW_BACKSTAGE 1
#define POW_BEEP 2
#define POW_BOOT 3
#define POW_BROADCAST 4
#define POW_CHANNEL 5
#define POW_CHOWN 6
#define POW_CLASS 7
#define POW_UNUSED 8
#define POW_DB 9
#define POW_EXAMINE 10
#define POW_FREE 11
#define POW_FUNCTIONS 12
#define POW_HOST 13
#define POW_JOIN 14
#define POW_MISC 15
#define POW_MODIFY 16
#define POW_MONEY 17
#define POW_NEWPASS 18
#define POW_NOQUOTA 19
#define POW_NUKE 20
#define POW_PCREATE 21
#define POW_QUEUE 22
#define POW_SECURITY 23
#define POW_SEEATR 24
#define POW_SETPOW 25
#define POW_SETQUOTA 26
#define POW_SHUTDOWN 27
#define POW_SLAVE 28
#define POW_SPOOF 29
#define POW_STEAL 30
#define POW_SUMMON 31
#define POW_TELEPORT 32
#define POW_WATTR 33
#define POW_WFLAGS 34
#define POW_WHO 35
#define POW_UNUSED2 36
#define NUM_POWS 37
#define MAX_POWERNAMELEN 16
#endif /* POWERS_H */