Lines Matching refs:buf
77 char buf[BUFSZ];
87 Strcpy(buf, shirt_msgs[scroll->o_id % SIZE(shirt_msgs)]);
90 wipeout_text(buf,
91 (int)(strlen(buf) * erosion / (2*MAX_ERODE)),
93 pline("\"%s\"", buf);
1431 char buf[BUFSZ];
1441 buf);
1442 (void)mungspaces(buf);
1443 } while (buf[0]=='\033' || !buf[0]);
1445 if (!strcmpi(buf, "none") ||
1446 !strcmpi(buf, "nothing")) return;
1448 if (strlen(buf) == 1) {
1449 if (buf[0] == ILLOBJ_SYM)
1450 buf[0] = def_monsyms[S_MIMIC];
1451 class = def_char_to_monclass(buf[0]);
1456 Strcpy(buf2, makesingular(buf));
1457 Strcpy(buf, buf2);
1462 strstri(monexplain[(int)mons[i].mlet], buf) != 0)
1479 (buf[0] == DEF_INVISIBLE && buf[1] == '\0'))
1483 if (wizard && buf[0] == '*') {
1591 char buf[BUFSZ];
1600 Strcpy(buf, ptr->mname);
1609 buf);
1610 (void)mungspaces(buf);
1612 if (!strcmpi(buf, "none") || !strcmpi(buf, "nothing")) {
1622 mndx = name_to_mon(buf);
1658 Strcpy(buf,youmonst.data->mname);
1660 Strcpy(buf, (flags.female && urole.name.f) ?
1662 buf[0] = lowc(buf[0]);
1665 Strcpy(buf, ptr->mname); /* make sure we have standard singular */
1673 (*which != 'a') ? buf : makeplural(buf));
1726 pline("Sent in some %s.", makeplural(buf));
1809 char buf[BUFSZ], *bufp, monclass = MAXMCLASSES;
1821 buf);
1822 bufp = mungspaces(buf);