Searched refs:cost (Results 1 - 20 of 20) sorted by relevance

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dobjects.c34 # define OBJECT(obj,bits,prp,sym,prob,dly,wt,cost,sdam,ldam,oc1,oc2,nut,color) \
43 # define OBJECT(obj,bits,prp,sym,prob,dly,wt,cost,sdam,ldam,oc1,oc2,nut,color) \
45 prob, wt, cost, sdam, ldam, oc1, oc2, nut}
59 #define WEAPON(name,app,kn,mg,bi,prob,wt,cost,sdam,ldam,hitbon,typ,sub,metal,color) \
63 wt, cost, sdam, ldam, hitbon, 0, wt, color )
64 #define PROJECTILE(name,app,kn,prob,wt,cost,sdam,ldam,hitbon,metal,sub,color) \
69 wt, cost, sdam, ldam, hitbon, 0, wt, color )
70 #define BOW(name,app,kn,prob,wt,cost,hitbon,metal,sub,color) \
74 wt, cost, 2, 2, hitbon, 0, wt, color )
279 #define ARMOR(name,desc,kn,mgc,blk,power,prob,delay,wt,cost,a
[all...]
H A Dwrite.c6 STATIC_DCL int FDECL(cost,(struct obj *));
12 cost(otmp) function
168 basecost = cost(new_obj);
175 /* we're really going to write now, so calculate cost
H A Dmhitu.c2363 long cost; local
2366 cost = (long) rnd(LARGEST_INT) + 500L;
2368 cost = (long) rnd((int)u.ugold + 10) + 500L;
2370 cost /= 5L;
2371 if (!cost) cost = 1L;
2373 if (cost > u.ugold) cost = u.ugold;
2374 if (!cost) verbalize("It's on the house!");
2377 noit_Monnam(mon), cost, currenc
[all...]
H A Dshk.c1569 "paid for %s at a cost of %ld gold piece%s.%s" :
2286 pline("%s will cost you %ld %s%s.",
2859 /* simpler hunger check, (2-4)*cost */
2919 add_damage(x, y, cost)
2921 long cost;
2938 tmp_dam->cost += cost;
2945 tmp_dam->cost = cost;
3467 if (!tmp_dam->cost)
3648 long cost; local
[all...]
H A Dinvent.c1596 xprname(obj, txt, let, dot, cost, quan)
1600 boolean dot; /* append period; (dot && cost => Iu) */
1601 long cost; /* cost (for inventory of unpaid or expended items) */
1622 if (cost != 0 || let == '*') {
1626 (txt ? txt : doname(obj)), cost, currency(cost));
1882 long cost, totcost; local
1901 cost = totcost = 0;
1916 totcost += cost
[all...]
H A Dartifact.c296 /* Since almost every artifact is SPFX_RESTR, it doesn't cost
1453 else if (artilist[(int) otmp->oartifact].cost)
1454 return (artilist[(int) otmp->oartifact].cost);
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dobjects.c34 # define OBJECT(obj,bits,prp,sym,prob,dly,wt,cost,sdam,ldam,oc1,oc2,nut,color) \
43 # define OBJECT(obj,bits,prp,sym,prob,dly,wt,cost,sdam,ldam,oc1,oc2,nut,color) \
45 prob, wt, cost, sdam, ldam, oc1, oc2, nut}
59 #define WEAPON(name,app,kn,mg,bi,prob,wt,cost,sdam,ldam,hitbon,typ,sub,metal,color) \
63 wt, cost, sdam, ldam, hitbon, 0, wt, color )
64 #define PROJECTILE(name,app,kn,prob,wt,cost,sdam,ldam,hitbon,metal,sub,color) \
69 wt, cost, sdam, ldam, hitbon, 0, wt, color )
70 #define BOW(name,app,kn,prob,wt,cost,hitbon,metal,sub,color) \
74 wt, cost, 2, 2, hitbon, 0, wt, color )
279 #define ARMOR(name,desc,kn,mgc,blk,power,prob,delay,wt,cost,a
[all...]
H A Dwrite.c6 STATIC_DCL int FDECL(cost,(struct obj *));
12 cost(otmp) function
168 basecost = cost(new_obj);
175 /* we're really going to write now, so calculate cost
H A Dmhitu.c2363 long cost; local
2366 cost = (long) rnd(LARGEST_INT) + 500L;
2368 cost = (long) rnd((int)u.ugold + 10) + 500L;
2370 cost /= 5L;
2371 if (!cost) cost = 1L;
2373 if (cost > u.ugold) cost = u.ugold;
2374 if (!cost) verbalize("It's on the house!");
2377 noit_Monnam(mon), cost, currenc
[all...]
H A Dshk.c1569 "paid for %s at a cost of %ld gold piece%s.%s" :
2286 pline("%s will cost you %ld %s%s.",
2859 /* simpler hunger check, (2-4)*cost */
2919 add_damage(x, y, cost)
2921 long cost;
2938 tmp_dam->cost += cost;
2945 tmp_dam->cost = cost;
3467 if (!tmp_dam->cost)
3648 long cost; local
[all...]
H A Dinvent.c1596 xprname(obj, txt, let, dot, cost, quan)
1600 boolean dot; /* append period; (dot && cost => Iu) */
1601 long cost; /* cost (for inventory of unpaid or expended items) */
1622 if (cost != 0 || let == '*') {
1626 (txt ? txt : doname(obj)), cost, currency(cost));
1882 long cost, totcost; local
1901 cost = totcost = 0;
1916 totcost += cost
[all...]
H A Dartifact.c296 /* Since almost every artifact is SPFX_RESTR, it doesn't cost
1453 else if (artilist[(int) otmp->oartifact].cost)
1454 return (artilist[(int) otmp->oartifact].cost);
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dartifact.h50 long cost; /* price when sold to hero (default 100 x base cost) */ member in struct:artifact
H A Dartilist.h8 #define A(nam,typ,s1,s2,mt,atk,dfn,cry,inv,al,cl,rac,cost) nam
14 #define A(nam,typ,s1,s2,mt,atk,dfn,cry,inv,al,cl,rac,cost) \
15 { typ, nam, s1, s2, mt, atk, dfn, cry, inv, al, cl, rac, cost }
32 /* Artifact cost rationale:
33 * 1. The more useful the artifact, the better its cost.
H A Drm.h439 long when, cost; member in struct:damage
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dartifact.h50 long cost; /* price when sold to hero (default 100 x base cost) */ member in struct:artifact
H A Dartilist.h8 #define A(nam,typ,s1,s2,mt,atk,dfn,cry,inv,al,cl,rac,cost) nam
14 #define A(nam,typ,s1,s2,mt,atk,dfn,cry,inv,al,cl,rac,cost) \
15 { typ, nam, s1, s2, mt, atk, dfn, cry, inv, al, cl, rac, cost }
32 /* Artifact cost rationale:
33 * 1. The more useful the artifact, the better its cost.
H A Drm.h439 long when, cost; member in struct:damage
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/doc/
H A DGuidebook.tex3072 paltry cost of not getting on the high score list.
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/doc/
H A DGuidebook.tex3072 paltry cost of not getting on the high score list.

Completed in 129 milliseconds