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

1 2

  /src/games/hack/
hack.bones.c 81 struct obj *otmp; local
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
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
89 otmp->ox = x;
90 otmp->oy = y;
91 otmp->nobj = fobj
115 struct obj *otmp; local
    [all...]
hack.steal.c 118 struct obj *otmp; local
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
240 struct obj *otmp; local
260 struct obj *otmp, *otmp2; local
    [all...]
hack.wizard.c 89 struct obj *otmp; local
97 for (otmp = invent; otmp; otmp = otmp->nobj)
98 if (otmp->olet == AMULET_SYM && !otmp->spe) {
120 struct obj *otmp; local
122 for (otmp = fobj; otmp; otmp = otmp->nobj
    [all...]
hack.potion.c 77 struct obj *otmp, *objs; local
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
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
    [all...]
hack.do.c 532 struct obj *otmp; local
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
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
255 struct obj *otmp; local
395 struct obj *otmp; local
    [all...]
hack.apply.c 229 struct obj *otmp; local
233 for (otmp = fcobj; otmp->nobj != obj; otmp = otmp->nobj)
234 if (!otmp->nobj)
236 otmp->nobj = obj->nobj;
248 struct obj *otmp; local
250 for (otmp = fcobj; otmp; otmp = otmp->nobj
    [all...]
hack.do_name.c 176 struct obj *otmp, *otmp2; local
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
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
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.read.c 105 struct obj *otmp = some_armor(); local
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
    [all...]
hack.c 153 struct obj *otmp = NULL; local
230 while ((otmp = sobj_at(ENORMOUS_ROCK, u.ux + u.dx, u.uy + u.dy)) != NULL){
247 delobj(otmp);
252 delobj(otmp);
261 delobj(otmp);
264 otmp->ox = rx;
265 otmp->oy = ry;
266 /* pobj(otmp); */
268 atl(rx, ry, otmp->olet);
932 struct obj *otmp = invent local
956 struct obj *otmp = invent; local
    [all...]
hack.objnam.c 406 aobjnam(struct obj *otmp, const char *verb)
408 char *bp = xname(otmp);
415 if (otmp->quan != 1) {
416 Snprintf(prefix, sizeof(prefix), "%u ", otmp->quan);
422 if (otmp->quan != 1)
644 struct obj *otmp; local
646 otmp = mksobj(typ);
648 otmp->owt += 15;
651 otmp->quan = cnt;
653 if (spe > 3 && spe > otmp->spe
    [all...]
hack.zap.c 89 /* bhitm: monster mtmp was hit by the effect of wand otmp */
91 bhitm(struct monst *mtmp, struct obj *otmp)
94 switch (otmp->otyp) {
122 objects[otmp->otyp].oc_name_known = 1;
139 impossible("What an interesting wand (%u)", otmp->otyp);
144 * object obj was hit by the effect of wand otmp
148 bhito(struct obj *obj, struct obj *otmp)
155 switch (otmp->otyp) {
195 impossible("What an interesting wand (%u)", otmp->otyp);
223 struct obj *otmp = o_at(u.ux, u.uy) local
250 struct obj *otmp; local
397 struct obj *otmp; local
    [all...]
hack.end.c 226 struct obj *otmp; local
250 for (otmp = invent; otmp; otmp = otmp->nobj) {
251 if (otmp->olet == GEM_SYM) {
252 objects[otmp->otyp].oc_name_known = 1;
253 i = otmp->quan * objects[otmp->otyp].g_val;
255 worthlessct += otmp->quan
    [all...]
hack.pri.c 394 struct obj *otmp; local
414 } else if ((otmp = o_at(x, y)) && room->typ != POOL)
415 atl(x, y, otmp->olet);
433 struct obj *otmp; local
443 else if (!Blind && (otmp = o_at(x, y)))
444 tmp = otmp->olet;
  /src/external/bsd/libfido2/dist/tools/
config.c 156 char *otmp, *tmp, *cp; local
163 otmp = tmp;
173 free(otmp);
  /src/external/bsd/openldap/dist/servers/slapd/
operation.c 197 void *otmp = NULL; local
198 ldap_pvt_thread_pool_getkey( ctx, (void *)slap_op_free, &otmp, NULL );
199 if ( otmp ) {
200 op = otmp;
201 otmp = LDAP_STAILQ_NEXT( op, o_next );
203 otmp, slap_op_q_destroy, NULL, NULL );
  /src/sys/fs/nfs/common/
nfs_diskless.c 107 char *opts, *o, *otmp; local
111 otmp = opts;
112 while ((o = strsep(&otmp, ":;, ")) != NULL) {
  /src/crypto/external/apache2/openssl/dist/crypto/asn1/
tasn_enc.c 525 ASN1_OBJECT *otmp; local
559 otmp = (ASN1_OBJECT *)*pval;
560 cont = otmp->data;
561 len = otmp->length;
  /src/crypto/external/bsd/openssl/dist/crypto/asn1/
tasn_enc.c 533 ASN1_OBJECT *otmp; local
567 otmp = (ASN1_OBJECT *)*pval;
568 cont = otmp->data;
569 len = otmp->length;
  /src/crypto/external/bsd/openssl.old/dist/crypto/asn1/
tasn_enc.c 512 ASN1_OBJECT *otmp; local
546 otmp = (ASN1_OBJECT *)*pval;
547 cont = otmp->data;
548 len = otmp->length;
  /src/crypto/external/bsd/openssl.old/dist/apps/
opt.c 457 ASN1_OBJECT *otmp; local
470 otmp = OBJ_txt2obj(opt_arg(), 0);
471 if (otmp == NULL) {
475 X509_VERIFY_PARAM_add0_policy(vpm, otmp);

Completed in 62 milliseconds

1 2