version 1.33 | | version 1.34 |
---|
| | |
/* | | /* |
* static char *rcsid_c_misc_c = | | * static char *rcsid_c_misc_c = |
* "$Id: c_misc.c,v 1.33 2003/06/30 19:59:20 tchize Exp $"; | | * "$Id: c_misc.c,v 1.34 2003/08/27 00:00:47 temitchell Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
pl->socket.host, | | pl->socket.host, |
pl->ob->map->path, | | pl->ob->map->path, |
QUERY_FLAG(pl->ob,FLAG_WIZ)?" [WIZ]":"", | | QUERY_FLAG(pl->ob,FLAG_WIZ)?" [WIZ]":"", |
pl->peaceful?"P":"W",pl->ob->count); | | pl->peaceful?"Peaceful":"Hostile",pl->ob->count); |
else | | else |
(void) sprintf(buf,"%s the %s (@%s) [%s]%s%s",pl->ob->name, | | (void) sprintf(buf,"%s the %s [%s]%s%s",pl->ob->name, |
(pl->own_title[0]=='\0'?pl->title:pl->own_title), | | (pl->own_title[0]=='\0'?pl->title:pl->own_title), |
pl->socket.host, | | |
pl->ob->map->path, | | pl->ob->map->path, |
QUERY_FLAG(pl->ob,FLAG_WIZ)?" [WIZ]":"", | | QUERY_FLAG(pl->ob,FLAG_WIZ)?" [WIZ]":"", |
pl->peaceful?"P":"W"); | | pl->peaceful?"Peaceful":"Hostile"); |
new_draw_info(NDI_UNIQUE, 0,op,buf); | | new_draw_info(NDI_UNIQUE, 0,op,buf); |
} | | } |
} | | } |
| | |
pl->contr->orig_stats.Pow, pl->stats.Pow, 20+pl->arch->clone.stats.Pow); | | pl->contr->orig_stats.Pow, pl->stats.Pow, 20+pl->arch->clone.stats.Pow); |
new_draw_info_format(NDI_UNIQUE, 0, pl, "Cha %2d/ %3d/%3d", | | new_draw_info_format(NDI_UNIQUE, 0, pl, "Cha %2d/ %3d/%3d", |
pl->contr->orig_stats.Cha, pl->stats.Cha, 20+pl->arch->clone.stats.Cha); | | pl->contr->orig_stats.Cha, pl->stats.Cha, 20+pl->arch->clone.stats.Cha); |
| | new_draw_info_format(NDI_UNIQUE, 0, pl, "\nAttack Mode: %s",pl->contr->peaceful? "Peaceful":"Hostile"); |
| | |
/* Can't think of anything else to print right now */ | | /* Can't think of anything else to print right now */ |
return 0; | | return 0; |