Searched refs:shkp (Results 1 - 25 of 26) sorted by relevance

12

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dshk.c157 next_shkp(shkp, withbill)
158 register struct monst *shkp;
161 for (; shkp; shkp = shkp->nmon) {
162 if (DEADMONSTER(shkp)) continue;
163 if (shkp->isshk && (ESHK(shkp)->billct || !withbill)) break;
166 if (shkp) {
167 if (NOTANGRY(shkp)) {
398 struct monst *shkp; local
446 struct monst *shkp; local
507 register struct monst *shkp; local
673 struct monst *shkp, *this_shkp = shop_keeper(inside_shop(u.ux, u.uy)); local
721 struct monst *shkp = rmno >= ROOMOFFSET ? local
786 register struct monst *shkp; local
910 register struct monst *shkp; local
1097 register struct monst *shkp; local
2063 register struct monst *shkp; local
2080 register struct monst *shkp; local
2194 register struct monst *shkp; local
2304 register struct monst *shkp = shop_keeper(*u.ushops); local
2450 register struct monst *shkp = shop_keeper(*in_rooms(x, y, SHOPBASE)); local
2545 register struct monst *shkp; local
2765 struct monst *shkp; local
2889 register struct monst *shkp; local
3333 register struct monst *shkp = shop_keeper(*u.ushops); local
3449 register struct monst *shkp = (struct monst *)0; local
3607 register struct monst *shkp; local
3627 register struct monst *shkp; local
3651 struct monst *shkp = shop_keeper(inside_shop(u.ux, u.uy)); local
3891 struct monst *shkp; local
3936 register struct monst *shkp; local
3972 register struct monst *shkp; local
4005 register struct monst *shkp; local
4064 struct monst *shkp; local
[all...]
H A Ddokick.c345 struct monst *shkp; local
354 costly = ((shkp = shop_keeper(*in_rooms(x, y, SHOPBASE))) &&
379 (boolean)shkp->mpeaceful, TRUE);
391 make_angry_shk(shkp, x, y);
394 mon_nam(shkp), loss, currency(loss));
404 register struct monst *mon, *shkp; local
471 costly = ((shkp = shop_keeper(*in_rooms(x, y, SHOPBASE))) &&
574 (boolean)shkp->mpeaceful, FALSE);
585 (boolean)shkp->mpeaceful, FALSE);
1156 register struct monst *shkp; local
[all...]
H A Ddothrow.c686 struct monst *shkp = shop_keeper(*u.ushops); local
688 if(!shkp) return;
693 (boolean)shkp->mpeaceful, FALSE);
694 subfrombill(obj, shkp);
704 (boolean)shkp->mpeaceful, FALSE);
705 subfrombill(obj, shkp);
709 if(obj->unpaid) subfrombill(obj, shkp);
710 else if(!(x == shkp->mx && y == shkp->my))
1600 struct monst *shkp local
[all...]
H A Dshknam.c495 /* does shkp's shop stock this item type? */
497 saleable(shkp, obj)
498 struct monst *shkp;
501 int i, shp_indx = ESHK(shkp)->shoptype - SHOPBASE;
H A Dlock.c169 struct monst *shkp; local
174 shkp = costly ? shop_keeper(*u.ushops) : 0;
186 (boolean)shkp->mpeaceful, TRUE);
203 (boolean)shkp->mpeaceful, TRUE);
H A Drestore.c177 struct monst *shkp = shop_keeper(*shp); local
179 if (shkp && inhishop(shkp) &&
180 repair_damage(shkp, tmp_dam, TRUE))
H A Dzap.c781 struct monst *shkp = (struct monst *)0; local
788 shkp = shop_keeper(*u.ushops);
789 if (!shkp) return;
796 shkp = shop_keeper(objroom);
797 if (!shkp || !inhishop(shkp)) return;
1417 register struct monst *shkp = local
1422 (contained_cost(obj, shkp, 0L, FALSE, FALSE) != 0L)))
1423 && inhishop(shkp)) {
1424 if(shkp
[all...]
H A Dpotion.c1166 register struct monst *shkp = local
1169 if(!shkp)
1173 (boolean)shkp->mpeaceful, FALSE);
1174 subfrombill(obj, shkp);
H A Dengrave.c1039 struct monst *shkp = shop_keeper(*u.ushops); local
1040 if (shkp) {
H A Dtrap.c3644 struct monst *shkp = 0; local
3651 (shkp = shop_keeper(*in_rooms(ox, oy,
3661 (boolean)shkp->mpeaceful, TRUE);
3680 otmp->oy, (boolean)shkp->mpeaceful,
3694 make_angry_shk(shkp, ox, oy);
H A Dinvent.c127 struct monst *shkp; local
137 (shkp = shop_keeper(inside_shop(obj->ox, obj->oy))) != 0) {
146 else if (inhishop(shkp)) return (struct obj *)0;
H A Dobjnam.c769 struct monst *shkp = (struct monst *)0; local
774 (shkp = shop_keeper(*in_rooms(ox, oy, SHOPBASE))))
775 quotedprice += contained_cost(obj, shkp, 0L, FALSE, TRUE);
H A Dpickup.c2010 struct monst *shkp; local
2018 if (*u.ushops && (shkp = shop_keeper(*u.ushops)) != 0) {
2021 (boolean)shkp->mpeaceful, TRUE);
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dshk.c157 next_shkp(shkp, withbill)
158 register struct monst *shkp;
161 for (; shkp; shkp = shkp->nmon) {
162 if (DEADMONSTER(shkp)) continue;
163 if (shkp->isshk && (ESHK(shkp)->billct || !withbill)) break;
166 if (shkp) {
167 if (NOTANGRY(shkp)) {
398 struct monst *shkp; local
446 struct monst *shkp; local
507 register struct monst *shkp; local
673 struct monst *shkp, *this_shkp = shop_keeper(inside_shop(u.ux, u.uy)); local
721 struct monst *shkp = rmno >= ROOMOFFSET ? local
786 register struct monst *shkp; local
910 register struct monst *shkp; local
1097 register struct monst *shkp; local
2063 register struct monst *shkp; local
2080 register struct monst *shkp; local
2194 register struct monst *shkp; local
2304 register struct monst *shkp = shop_keeper(*u.ushops); local
2450 register struct monst *shkp = shop_keeper(*in_rooms(x, y, SHOPBASE)); local
2545 register struct monst *shkp; local
2765 struct monst *shkp; local
2889 register struct monst *shkp; local
3333 register struct monst *shkp = shop_keeper(*u.ushops); local
3449 register struct monst *shkp = (struct monst *)0; local
3607 register struct monst *shkp; local
3627 register struct monst *shkp; local
3651 struct monst *shkp = shop_keeper(inside_shop(u.ux, u.uy)); local
3891 struct monst *shkp; local
3936 register struct monst *shkp; local
3972 register struct monst *shkp; local
4005 register struct monst *shkp; local
4064 struct monst *shkp; local
[all...]
H A Ddokick.c345 struct monst *shkp; local
354 costly = ((shkp = shop_keeper(*in_rooms(x, y, SHOPBASE))) &&
379 (boolean)shkp->mpeaceful, TRUE);
391 make_angry_shk(shkp, x, y);
394 mon_nam(shkp), loss, currency(loss));
404 register struct monst *mon, *shkp; local
471 costly = ((shkp = shop_keeper(*in_rooms(x, y, SHOPBASE))) &&
574 (boolean)shkp->mpeaceful, FALSE);
585 (boolean)shkp->mpeaceful, FALSE);
1156 register struct monst *shkp; local
[all...]
H A Ddothrow.c686 struct monst *shkp = shop_keeper(*u.ushops); local
688 if(!shkp) return;
693 (boolean)shkp->mpeaceful, FALSE);
694 subfrombill(obj, shkp);
704 (boolean)shkp->mpeaceful, FALSE);
705 subfrombill(obj, shkp);
709 if(obj->unpaid) subfrombill(obj, shkp);
710 else if(!(x == shkp->mx && y == shkp->my))
1600 struct monst *shkp local
[all...]
H A Dshknam.c495 /* does shkp's shop stock this item type? */
497 saleable(shkp, obj)
498 struct monst *shkp;
501 int i, shp_indx = ESHK(shkp)->shoptype - SHOPBASE;
H A Dlock.c169 struct monst *shkp; local
174 shkp = costly ? shop_keeper(*u.ushops) : 0;
186 (boolean)shkp->mpeaceful, TRUE);
203 (boolean)shkp->mpeaceful, TRUE);
H A Drestore.c177 struct monst *shkp = shop_keeper(*shp); local
179 if (shkp && inhishop(shkp) &&
180 repair_damage(shkp, tmp_dam, TRUE))
H A Dzap.c781 struct monst *shkp = (struct monst *)0; local
788 shkp = shop_keeper(*u.ushops);
789 if (!shkp) return;
796 shkp = shop_keeper(objroom);
797 if (!shkp || !inhishop(shkp)) return;
1417 register struct monst *shkp = local
1422 (contained_cost(obj, shkp, 0L, FALSE, FALSE) != 0L)))
1423 && inhishop(shkp)) {
1424 if(shkp
[all...]
H A Dpotion.c1166 register struct monst *shkp = local
1169 if(!shkp)
1173 (boolean)shkp->mpeaceful, FALSE);
1174 subfrombill(obj, shkp);
H A Dengrave.c1039 struct monst *shkp = shop_keeper(*u.ushops); local
1040 if (shkp) {
H A Dtrap.c3644 struct monst *shkp = 0; local
3651 (shkp = shop_keeper(*in_rooms(ox, oy,
3661 (boolean)shkp->mpeaceful, TRUE);
3680 otmp->oy, (boolean)shkp->mpeaceful,
3694 make_angry_shk(shkp, ox, oy);
H A Dinvent.c127 struct monst *shkp; local
137 (shkp = shop_keeper(inside_shop(obj->ox, obj->oy))) != 0) {
146 else if (inhishop(shkp)) return (struct obj *)0;
H A Dobjnam.c769 struct monst *shkp = (struct monst *)0; local
774 (shkp = shop_keeper(*in_rooms(ox, oy, SHOPBASE))))
775 quotedprice += contained_cost(obj, shkp, 0L, FALSE, TRUE);

Completed in 122 milliseconds

12