Lines Matching refs:billct
242 ESHK(shopkeeper)->billct = 0;
249 int ct = ESHK(shopkeeper)->billct;
267 if (ESHK(shopkeeper)->billct) {
385 for (bp = bill; bp < &bill[ESHK(shopkeeper)->billct]; bp++)
418 ESHK(shopkeeper)->billct--;
419 *bp = bill[ESHK(shopkeeper)->billct];
497 if (!ESHK(shkp)->billct) {
542 while (tmp < ESHK(shopkeeper)->billct) {
550 bill[tmp] = bill[--ESHK(shopkeeper)->billct];
615 if (shlevel == dlevel && shopkeeper && ESHK(shopkeeper)->billct) {
666 if (ESHK(shopkeeper)->billct == BILLSZ) {
670 bp = &bill[ESHK(shopkeeper)->billct];
675 ESHK(shopkeeper)->billct++;
699 if (ESHK(shopkeeper)->billct == BILLSZ)
703 bp = &bill[ESHK(shopkeeper)->billct];
708 ESHK(shopkeeper)->billct++;
736 ESHK(shopkeeper)->billct--;
737 *bp = bill[ESHK(shopkeeper)->billct];
749 if (ESHK(shopkeeper)->billct == BILLSZ ||
791 for (bp = bill; bp - bill < ESHK(shopkeeper)->billct; bp++)
806 for (bp = bill; bp - bill < ESHK(shopkeeper)->billct; bp++) {
1008 if (ESHK(shkp)->billct)
1020 if (((!ESHK(shkp)->robbed && !ESHK(shkp)->billct) || avoid)