Searched refs:uarm (Results 1 – 8 of 8) sorted by relevance
/openbsd/games/hack/ |
H A D | hack.worn.c | 70 { W_ARM, &uarm }, 98 setworn(uarm, W_ARM2); in setworn() 103 if(uarm2 && !uarm) { in setworn() 104 uarm = uarm2; in setworn() 106 uarm->owornmask ^= (W_ARM | W_ARM2); in setworn() 121 if(uarm2 && !uarm) { in setnotworn() 122 uarm = uarm2; in setnotworn() 124 uarm->owornmask ^= (W_ARM | W_ARM2); in setnotworn()
|
H A D | hack.do_wear.c | 83 if(!uarm && !uarmh && !uarms && !uarmg) { in doremarm() 87 otmp = (!uarmh && !uarms && !uarmg) ? uarm : in doremarm() 88 (!uarms && !uarm && !uarmg) ? uarmh : in doremarm() 89 (!uarmh && !uarm && !uarmg) ? uarms : in doremarm() 90 (!uarmh && !uarm && !uarms) ? uarmg : in doremarm() 217 if(uarm) { in doweararm() 355 if(uarm) uac -= ARM_BONUS(uarm); in find_ac() 400 struct obj *otmph = uarm; in some_armor()
|
H A D | hack.mhitu.c | 130 (!uarm || objects[uarm->otyp].a_can < rnd(3) || !rn2(50)); in mhitu() 262 if(!uwep && !uarm && !uarmh && !uarms && !uarmg) { in mhitu() 303 if(ctmp && uarm && !uarm->rustfree && /* Mike Newton */ in mhitu() 304 uarm->otyp < STUDDED_LEATHER_ARMOR && in mhitu() 305 (int) uarm->spe >= -1) { in mhitu() 307 uarm->spe--; in mhitu()
|
H A D | hack.Decl.c | 80 struct obj *fobj = 0, *fcobj = 0, *invent = 0, *uwep = 0, *uarm = 0, variable
|
H A D | hack.u_init.c | 255 uarm = uarm2 = uarmh = uarms = uarmg = uwep = uball = uchain = in u_init() 363 if(!uarm) setworn(obj, W_ARM); in ini_inv()
|
H A D | hack.invent.c | 919 if(!uarm && !uarmg && !uarms && !uarmh) in doprarm() 925 if(uarm) lets[ct++] = obj_to_let(uarm); in doprarm()
|
H A D | hack.read.c | 132 if(uarm) { in doread() 134 useup(uarm); in doread()
|
H A D | hack.h | 104 extern struct obj *invent, *uwep, *uarm, *uarm2, *uarmh, *uarms, *uarmg,
|