Lines Matching defs:bill
162 * Descriptor of current shopkeeper. Note that the bill need not be
166 static struct bill_x *bill;
168 struct obj *billobjs; /* objects on bill with bp->useup */
206 bill = (struct bill_x *) - 1000; /* dump core when
216 bill = &(ESHK(shopkeeper)->bill[0]);
250 struct bill_x *bp = bill;
359 bill = &(ESHK(shopkeeper)->bill[0]);
376 bill = (struct bill_x *) - 1000; /* dump core when referenced */
385 for (bp = bill; bp < &bill[ESHK(shopkeeper)->billct]; bp++)
388 pline("onbill: paid obj on bill?");
392 pline("onbill: unpaid obj not on bill?");
413 impossible("obfree: not on bill??");
419 *bp = bill[ESHK(shopkeeper)->billct];
543 bp = &bill[tmp];
550 bill[tmp] = bill[--ESHK(shopkeeper)->billct];
578 impossible("Paid object on bill??");
611 /* routine called after dying (or quitting) with nonempty bill */
670 bp = &bill[ESHK(shopkeeper)->billct];
687 impossible("splitbill: not on bill?");
691 impossible("Negative quantity on bill??");
694 impossible("Zero quantity on bill??");
703 bp = &bill[ESHK(shopkeeper)->billct];
737 *bp = bill[ESHK(shopkeeper)->billct];
791 for (bp = bill; bp - bill < ESHK(shopkeeper)->billct; bp++)
806 for (bp = bill; bp - bill < ESHK(shopkeeper)->billct; bp++) {