head 1.1; access ; symbols ; locks ; strict; comment @ * @; 1.1 date 89.03.13.09.37.44; author rsalz; state Exp; branches ; next ; desc @@ 1.1 log @Initial revision @ text @#include "kernel.h" #ifdef RCSID static char RCS[] = "$Header$"; #endif /* RCSID */ static char *Pflags[] = { "Female ", "No Exorcise ", "Pflag Edit ", "Oper ", "DebugMode ", "Patch ", "No Snoop ", "Audit ", "Brief ", "Invis Start ", "Guardian ", "System Debug", "No Hassle ", "Spare ", "Occupied ", "Spare ", NULL }; show_priv() { int ct; int c2; if (pl1 == -1) { bprintf("Who is that ?\n"); error(); return; } bprintf("Player : %s\n", pname(pl1)); bprintf("Privileges:\n"); for (c2 = 0, ct = 0; ct < 16; ct++) { if (ptstflg(pl1, ct)) { if (c2 % 6 == 5) bprintf("\n"); bprintf("%s ", Pflags[ct]); c2++; } } bprintf("\n"); } @