Home
last modified time | relevance | path

Searched refs:olet (Results 1 – 23 of 23) sorted by relevance

/original-bsd/games/hack/
H A Dhack.do.c24 if(obj->olet == '$') { /* pseudo object */
289 if(obj->olet == POTION_SYM) in dothrow()
304 } else if(obj->olet == POTION_SYM) { in dothrow()
325 obj->olet, in dothrow()
332 if(obj->olet == WEAPON_SYM) { in dothrow()
366 } else if(obj->olet == POTION_SYM && u.ulevel > rn2(15)) { in dothrow()
373 if(obj->olet == FOOD_SYM && mon->data->mlet == 'd') in dothrow()
375 if(obj->olet == GEM_SYM && mon->data->mlet == 'u' && in dothrow()
H A Dhack.steal.c92 switch(otmp->olet) {
134 if(otmp->olet == CHAIN_SYM) {
165 if(otmp->olet == AMULET_SYM) {
192 atl(otmp->ox,otmp->oy,otmp->olet);
H A Dhack.wield.c48 if(!uwep || uwep->olet != WEAPON_SYM) return; /* %% */ in corrode_weapon()
63 if(!uwep || uwep->olet != WEAPON_SYM) {
H A Dhack.invent.c279 otmp->olet = '$';
319 if(!*let || index(let, otmp->olet)) {
424 if(!allowall && let && !index(let,otmp->olet)) {
467 if(!index(ilets, otmp->olet)){
468 ilets[iletct++] = otmp->olet;
534 if(olets && *olets && !index(olets, otmp->olet)) continue;
650 if (!index (stuff, otmp->olet)) { in dotypeinv()
651 stuff[stct++] = otmp->olet; in dotypeinv()
689 if (c == otmp -> olet || (c == 'u' && otmp -> unpaid)) in dotypeinv()
775 (index("%*?!", obj->olet) ||
[all …]
H A Dhack.wizard.c26 if(otmp->olet == AMULET_SYM && !otmp->spe) { in amulet()
40 if(mtmp->minvent && mtmp->minvent->olet == AMULET_SYM &&
52 if(otmp->olet == AMULET_SYM && !otmp->spe) {
H A Ddef.obj.h16 char olet; member
H A Dhack.fight.c76 atl(mdef->mx,mdef->my,fobj->olet);
92 atl(mdef->mx,mdef->my,fobj->olet);
145 } else if(obj->olet == WEAPON_SYM || obj->otyp == PICK_AXE) {
296 if(uwep->olet == WEAPON_SYM || uwep->otyp == PICK_AXE)
H A Dhack.u_init.c260 if(obj->olet == WEAPON_SYM){
273 if(obj->olet == ARMOR_SYM){
292 if(obj->olet == WEAPON_SYM)
H A Dhack.zap.c83 ? GEM_SYM : obj->olet,
94 if(obj->spe && obj->olet != AMULET_SYM) {
584 if(obj->olet == FOOD_SYM && obj->otyp > CORPSE) {
618 obj->olet = WEAPON_SYM;
630 if(obj->olet == SCROLL_SYM) { in burn_scrolls()
H A Dhack.objnam.c94 switch(obj->olet) {
209 obj->olet,obj->olet,obj->otyp,obj->spe);
252 switch(obj->olet) {
H A Dhack.save.c142 if(otmp->olet == CHAIN_SYM) goto chainfnd;
148 if(otmp->olet == BALL_SYM && otmp->spe)
H A Dhack.pri.c317 atl(x,y,otmp->olet); in prl()
345 else if(!Blind && (otmp = o_at(x,y))) tmp = otmp->olet;
491 atl(obj->ox,obj->oy,obj->olet);
514 if(obj->olet == FOOD_SYM && obj->otyp >= CORPSE in seeobjs()
520 if(obj->olet == FOOD_SYM && obj->otyp >= CORPSE in seeobjs()
H A Dhack.bones.c65 if(otmp->olet == AMULET_SYM && !otmp->spe) { in savebones()
H A Dhack.dog.c86 switch(obj->olet) {
162 if(obj = o_at(omx,omy)) if(!index("0_", obj->olet)){
300 if(obj->olet == FOOD_SYM &&
H A Dhack.mkobj.c59 otmp->olet = let;
H A Dhack.shk.c604 ((tmp = shtypes[rooms[ESHK(shopkeeper)->shoproom].rtype-8]) && tmp != obj->olet)
605 || index("_0", obj->olet)) {
699 switch(obj->olet){
758 if(otmp->olet == FOOD_SYM && !otmp->unpaid) in realhunger()
H A Dhack.read.c287 if(obj->olet == FOOD_SYM) { in doread()
303 if(obj->olet == foodsym) in doread()
H A Dhack.mon.c360 if(likeobjs || otmp->olet == GEM_SYM)
464 if(otmp->olet == GEM_SYM)
758 atl(x,y,obj2->olet);
H A Dhack.potion.c102 at(objs->ox,objs->oy,objs->olet); in dodrink()
H A Dhack.end.c148 if(otmp->olet == GEM_SYM){
159 } else if(otmp->olet == AMULET_SYM) {
H A Dhack.eat.c98 otmp->olet == FOOD_SYM) { in doeat()
H A Dhack.trap.c436 if(obj->olet == SCROLL_SYM && rn2(12) > u.uluck) in drown()
H A Dhack.c194 if(cansee(rx,ry)) atl(rx,ry,otmp->olet); in domove()