HomeSort by: relevance | last modified time | path
    Searched defs:otmp (Results 1 - 25 of 44) sorted by relevancy

1 2

  /src/games/hack/
hack.bones.c 81 struct obj *otmp; local in function:savebones
96 otmp = invent;
97 while (otmp) {
98 otmp->ox = u.ux;
99 otmp->oy = u.uy;
100 otmp->age = 0; /* very long ago */
101 otmp->owornmask = 0;
103 otmp->cursed = 1;
104 if (!otmp->nobj) {
105 otmp->nobj = fobj
    [all...]
hack.bones.c 81 struct obj *otmp; local in function:savebones
96 otmp = invent;
97 while (otmp) {
98 otmp->ox = u.ux;
99 otmp->oy = u.uy;
100 otmp->age = 0; /* very long ago */
101 otmp->owornmask = 0;
103 otmp->cursed = 1;
104 if (!otmp->nobj) {
105 otmp->nobj = fobj
    [all...]
hack.mkobj.c 77 struct obj *otmp = mkobj(let); local in function:mkobj_at
78 otmp->ox = x;
79 otmp->oy = y;
80 otmp->nobj = fobj;
81 fobj = otmp;
82 return (otmp);
88 struct obj *otmp = mksobj(otyp); local in function:mksobj_at
89 otmp->ox = x;
90 otmp->oy = y;
91 otmp->nobj = fobj
115 struct obj *otmp; local in function:mksobj
    [all...]
hack.steal.c 118 struct obj *otmp; local in function:stealarm
120 for (otmp = invent; otmp; otmp = otmp->nobj)
121 if (otmp->o_id == stealoid) {
125 freeinv(otmp);
126 pline("%s steals %s!", Monnam(mtmp), doname(otmp));
127 mpickobj(mtmp, otmp);
145 struct obj *otmp; local in function:steal
240 struct obj *otmp; local in function:stealamulet
260 struct obj *otmp, *otmp2; local in function:relobj
    [all...]
hack.wizard.c 89 struct obj *otmp; local in function:amulet
97 for (otmp = invent; otmp; otmp = otmp->nobj)
98 if (otmp->olet == AMULET_SYM && !otmp->spe) {
120 struct obj *otmp; local in function:wiz_hit
122 for (otmp = fobj; otmp; otmp = otmp->nobj
    [all...]
hack.mkobj.c 77 struct obj *otmp = mkobj(let); local in function:mkobj_at
78 otmp->ox = x;
79 otmp->oy = y;
80 otmp->nobj = fobj;
81 fobj = otmp;
82 return (otmp);
88 struct obj *otmp = mksobj(otyp); local in function:mksobj_at
89 otmp->ox = x;
90 otmp->oy = y;
91 otmp->nobj = fobj
115 struct obj *otmp; local in function:mksobj
    [all...]
hack.steal.c 118 struct obj *otmp; local in function:stealarm
120 for (otmp = invent; otmp; otmp = otmp->nobj)
121 if (otmp->o_id == stealoid) {
125 freeinv(otmp);
126 pline("%s steals %s!", Monnam(mtmp), doname(otmp));
127 mpickobj(mtmp, otmp);
145 struct obj *otmp; local in function:steal
240 struct obj *otmp; local in function:stealamulet
260 struct obj *otmp, *otmp2; local in function:relobj
    [all...]
hack.wizard.c 89 struct obj *otmp; local in function:amulet
97 for (otmp = invent; otmp; otmp = otmp->nobj)
98 if (otmp->olet == AMULET_SYM && !otmp->spe) {
120 struct obj *otmp; local in function:wiz_hit
122 for (otmp = fobj; otmp; otmp = otmp->nobj
    [all...]
hack.potion.c 77 struct obj *otmp, *objs; local in function:dodrink
81 otmp = getobj("!", "drink");
82 if (!otmp)
84 if (!strcmp(objects[otmp->otyp].oc_descr, "smoky") && !rn2(13)) {
88 switch (otmp->otyp) {
146 strange_feeling(otmp, "You feel threatened.");
161 strange_feeling(otmp, "You feel a pull downward.");
248 impossible("What a funny potion! (%u)", otmp->otyp);
255 if (otmp->dknown && !objects[otmp->otyp].oc_name_known)
    [all...]
hack.save.c 165 struct obj *otmp; local in function:dorecover
170 for (otmp = invent; otmp; otmp = otmp->nobj)
171 if (otmp->owornmask)
172 setworn(otmp, otmp->owornmask);
209 for (otmp = fobj; otmp; otmp = otmp->nobj
246 struct obj *otmp, *otmp2 = NULL; local in function:restobjchn
    [all...]
hack.potion.c 77 struct obj *otmp, *objs; local in function:dodrink
81 otmp = getobj("!", "drink");
82 if (!otmp)
84 if (!strcmp(objects[otmp->otyp].oc_descr, "smoky") && !rn2(13)) {
88 switch (otmp->otyp) {
146 strange_feeling(otmp, "You feel threatened.");
161 strange_feeling(otmp, "You feel a pull downward.");
248 impossible("What a funny potion! (%u)", otmp->otyp);
255 if (otmp->dknown && !objects[otmp->otyp].oc_name_known)
    [all...]
hack.save.c 165 struct obj *otmp; local in function:dorecover
170 for (otmp = invent; otmp; otmp = otmp->nobj)
171 if (otmp->owornmask)
172 setworn(otmp, otmp->owornmask);
209 for (otmp = fobj; otmp; otmp = otmp->nobj
246 struct obj *otmp, *otmp2 = NULL; local in function:restobjchn
    [all...]
hack.do.c 532 struct obj *otmp; local in function:splitobj
533 otmp = newobj(0);
534 *otmp = *obj; /* copies whole structure */
535 otmp->o_id = flags.ident++;
536 otmp->onamelth = 0;
539 otmp->quan -= num;
540 otmp->owt = weight(otmp); /* -= obj->owt ? */
541 obj->nobj = otmp;
543 splitbill(obj, otmp);
    [all...]
hack.do_wear.c 76 off_msg(struct obj *otmp)
78 pline("You were wearing %s.", doname(otmp));
84 struct obj *otmp; local in function:doremarm
89 otmp = (!uarmh && !uarms && !uarmg) ? uarm :
94 if (!otmp)
96 if (!(otmp->owornmask & (W_ARMOR - W_ARM2))) {
100 if (otmp == uarmg && uwep && uwep->cursed) { /* myers@uwmacc */
104 (void) armoroff(otmp);
143 dorr(struct obj *otmp)
145 if (cursed(otmp))
190 struct obj *otmp; local in function:doweararm
255 struct obj *otmp; local in function:dowearring
395 struct obj *otmp; local in function:glibr
    [all...]
hack.read.c 105 struct obj *otmp = some_armor(); local in function:doread
106 if (!otmp) {
112 objects[otmp->otyp].oc_name);
113 otmp->rustfree = 1;
116 if (otmp->spe > 3 && rn2(otmp->spe)) {
118 objects[otmp->otyp].oc_name);
119 useup(otmp);
123 objects[otmp->otyp].oc_name);
124 otmp->cursed = 0
130 struct obj *otmp = some_armor(); local in function:doread
    [all...]
hack.do.c 532 struct obj *otmp; local in function:splitobj
533 otmp = newobj(0);
534 *otmp = *obj; /* copies whole structure */
535 otmp->o_id = flags.ident++;
536 otmp->onamelth = 0;
539 otmp->quan -= num;
540 otmp->owt = weight(otmp); /* -= obj->owt ? */
541 obj->nobj = otmp;
543 splitbill(obj, otmp);
    [all...]
hack.do_wear.c 76 off_msg(struct obj *otmp)
78 pline("You were wearing %s.", doname(otmp));
84 struct obj *otmp; local in function:doremarm
89 otmp = (!uarmh && !uarms && !uarmg) ? uarm :
94 if (!otmp)
96 if (!(otmp->owornmask & (W_ARMOR - W_ARM2))) {
100 if (otmp == uarmg && uwep && uwep->cursed) { /* myers@uwmacc */
104 (void) armoroff(otmp);
143 dorr(struct obj *otmp)
145 if (cursed(otmp))
190 struct obj *otmp; local in function:doweararm
255 struct obj *otmp; local in function:dowearring
395 struct obj *otmp; local in function:glibr
    [all...]
hack.read.c 105 struct obj *otmp = some_armor(); local in function:doread
106 if (!otmp) {
112 objects[otmp->otyp].oc_name);
113 otmp->rustfree = 1;
116 if (otmp->spe > 3 && rn2(otmp->spe)) {
118 objects[otmp->otyp].oc_name);
119 useup(otmp);
123 objects[otmp->otyp].oc_name);
124 otmp->cursed = 0
130 struct obj *otmp = some_armor(); local in function:doread
    [all...]
hack.apply.c 229 struct obj *otmp; local in function:out_ice_box
233 for (otmp = fcobj; otmp->nobj != obj; otmp = otmp->nobj)
234 if (!otmp->nobj)
236 otmp->nobj = obj->nobj;
248 struct obj *otmp; local in function:use_ice_box
250 for (otmp = fcobj; otmp; otmp = otmp->nobj
    [all...]
hack.do_name.c 176 struct obj *otmp, *otmp2; local in function:do_oname
204 for (otmp = invent;; otmp = otmp->nobj) {
205 if (!otmp)
207 if (otmp->nobj == obj) {
208 otmp->nobj = otmp2;
hack.eat.c 170 struct obj *otmp; local in function:doeat
176 for (otmp = fobj; otmp; otmp = otmp->nobj) {
177 if (otmp->ox == u.ux && otmp->oy == u.uy &&
178 otmp->olet == FOOD_SYM) {
180 (otmp->quan == 1) ? "is" : "are",
181 doname(otmp),
    [all...]
hack.engrave.c 213 struct obj *otmp; local in function:doengrave
221 otmp = getobj("#-)/", "write with");
222 if (!otmp)
225 if (otmp == &zeroobj)
226 otmp = 0;
227 if (otmp && otmp->otyp == WAN_FIRE && otmp->spe) {
229 otmp->spe--;
231 /* first wield otmp */
    [all...]
hack.apply.c 229 struct obj *otmp; local in function:out_ice_box
233 for (otmp = fcobj; otmp->nobj != obj; otmp = otmp->nobj)
234 if (!otmp->nobj)
236 otmp->nobj = obj->nobj;
248 struct obj *otmp; local in function:use_ice_box
250 for (otmp = fcobj; otmp; otmp = otmp->nobj
    [all...]
hack.do_name.c 176 struct obj *otmp, *otmp2; local in function:do_oname
204 for (otmp = invent;; otmp = otmp->nobj) {
205 if (!otmp)
207 if (otmp->nobj == obj) {
208 otmp->nobj = otmp2;
  /src/sys/fs/nfs/common/
nfs_diskless.c 107 char *opts, *o, *otmp; local in function:nfs_parse_options
111 otmp = opts;
112 while ((o = strsep(&otmp, ":;, ")) != NULL) {

Completed in 29 milliseconds

1 2