Home
last modified time | relevance | path

Searched refs:SHIELD (Results 1 – 21 of 21) sorted by relevance

/original-bsd/games/battlestar/
H A Dnightobjs.c35 { 124, SHIELD },
38 { 144, SHIELD },
41 { 113, SHIELD },
44 { 161, SHIELD },
47 { 169, SHIELD },
50 { 182, SHIELD },
53 { 198, SHIELD },
56 { 212, SHIELD },
59 { 216, SHIELD },
62 { 226, SHIELD },
[all …]
H A Ddayobjs.c64 { 146, SHIELD },
H A Dextern.h46 #define SHIELD 9 macro
H A Dwords.c25 { "shield", SHIELD, OBJECT },
H A Dcom7.c227 …hurt = rnd(NUMOFINJURIES) - (testbit(inven,SHIELD) != 0) - (testbit(wear,MAIL) != 0) - (testbit(we…
/original-bsd/games/larn/
H A Dglobal.c268 if (c[SHIELD] >= 0) if (iven[c[SHIELD]] == OSHIELD) c[AC] += 2 + ivenarg[c[SHIELD]]; in recalc()
392 if (c[SHIELD]==k) c[SHIELD]= -1;
404 if (c[WEAR]<0) { if (c[SHIELD] < 0) in enchantarmor()
406 …else { tmp=iven[c[SHIELD]]; if (tmp != OSCROLL) if (tmp != OPOTION) { ivenarg[c[SHIELD]]++; bottom… in enchantarmor()
462 if (iven[i]) if (c[WEAR]!=i) if (c[WIELD]!=i) if (c[SHIELD]!=i) in stealsomething()
478 if (iven[i]) if (i!=c[WIELD]) if (i!=c[WEAR]) if (i!=c[SHIELD]) return(0); in emptyhanded()
H A Dmain.c461 if ((c[WEAR]==index) || (c[SHIELD]==index)) lprcat(" (being worn)");
574 c[LANCEDEATH]=1; c[WEAR] = c[SHIELD] = -1; in parse()
599 …case 'T': yrepcount=0; cursors(); if (c[SHIELD] != -1) { c[SHIELD] = -1; lprcat("\nYour shield is… in parse()
669 …else if ((c[SHIELD]!= -1) && (iven[i-'a']==O2SWORD)) { lprcat("\nBut one arm is busy with your sh… in wield()
704 case OSHIELD: if (c[SHIELD] != -1) { lprcat("\nYou are already wearing a shield"); return; } in wear()
706 c[SHIELD] = i-'a'; bottomline(); return; in wear()
H A Dregen.c72 if ((d[WEAR]!= -1) || (d[SHIELD]!= -1)) in regen()
75 d[WEAR]=d[SHIELD]= -1; cursors(); in regen()
H A Dstore.c607 if (c[SHIELD] == isub) c[SHIELD] = -1; in otradepost()
H A Dheader.h138 #define SHIELD 63 macro
H A Dscores.c292 c[WEAR] = c[WIELD] = c[SHIELD] = -1; /* not wielding or wearing anything */ in showallscores()
H A Dcreate.c20 c[SHIELD] = c[WEAR] = c[WIELD] = -1; in makeplayer()
H A Dmonster.c1087 if ((i=c[SHIELD]) != -1)
/original-bsd/games/trek/
H A Dshield.c69 ind = SHIELD;
H A Dsrscan.c119 if (damaged(SHIELD))
H A Dattack.c133 if (damaged(SHIELD))
H A Dtrek.h103 # define SHIELD 6 /* shield control */ macro
H A Dsetup.c125 Param.damprob[SHIELD] = 150; /* shield control 15.0% */ in setup()
/original-bsd/games/hack/
H A Dhack.u_init.c59 { SHIELD, 0, ARMOR_SYM, 1, 1 },
275 case SHIELD:
H A Dhack.onames.h109 #define SHIELD 108 macro
H A Dhack.do_wear.c126 } else if(otmp->otyp == SHIELD){ in doweararm()