Home | History | Annotate | Download | only in hack

Lines Matching defs:otmp

595 		struct obj     *otmp = billobjs;
599 while (otmp && otmp->nobj != obj)
600 otmp = otmp->nobj;
601 if (otmp)
602 otmp->nobj = obj->nobj;
680 splitbill(struct obj *obj, struct obj *otmp)
682 /* otmp has been split off from obj */
690 if (bp->bquan < otmp->quan) {
693 if (bp->bquan == otmp->quan) {
696 bp->bquan -= otmp->quan;
698 /* addtobill(otmp); */
700 otmp->unpaid = 0;
704 bp->bo_id = otmp->o_id;
705 bp->bquan = otmp->quan;
717 struct obj *otmp;
725 otmp = newobj(0);
726 *otmp = *obj;
727 bp->bo_id = otmp->o_id = flags.ident++;
728 otmp->quan = (bp->bquan -= obj->quan);
729 otmp->owt = 0; /* superfluous */
730 otmp->onamelth = 0;
732 otmp->nobj = billobjs;
733 billobjs = otmp;
907 struct obj *otmp = invent;
908 while (otmp) {
909 if (otmp->olet == FOOD_SYM && !otmp->unpaid)
910 tmp += objects[otmp->otyp].nutrition;
911 otmp = otmp->nobj;