Searched refs:uball (Results 1 – 12 of 12) sorted by relevance
/original-bsd/games/hack/ |
H A D | hack.trap.c | 357 if(!uchain || !uball){ 361 uball->ox = uchain->ox = u.ux; 362 uball->oy = uchain->oy = u.uy; 366 if(!carried(uball)){ 367 uball->nobj = fobj; 368 fobj = uball; 374 if(!carried(uball)){ in unplacebc() 375 freeobj(uball); in unplacebc() 376 unpobj(uball); in unplacebc()
|
H A D | hack.steal.c | 137 if(Punished && otmp == uball){ 142 uball->spe = 0; 143 uball = (struct obj *) 0; /* superfluous */
|
H A D | hack.do.c | 197 if(uwep != uball && rn2(3)){ 217 if(uwep != uball && !up /* %% */ && rn2(5)){ 324 (!Punished || obj != uball) ? 8 : !u.ustuck ? 5 : 1, in dothrow() 360 if(!Punished || obj != uball) tmp += 2; in dothrow() 409 if(Punished && obj == uball && in dothrow()
|
H A D | hack.read.c | 136 uball->spe = 0; in doread() 137 uball->owornmask &= ~W_BALL; in doread() 138 uchain = uball = (struct obj *) 0; in doread() 415 uball->owt += 15; in doread() 421 uball->spe = 1; /* special ball (see save) */ in doread()
|
H A D | hack.Decl.c | 22 *uleft = 0, *uchain = 0, *uball = 0; variable
|
H A D | hack.c | 225 if(carried(uball)) { in domove() 230 if(DIST(u.ux+u.dx, u.uy+u.dy, uball->ox, uball->oy) < 3){ in domove() 232 movobj(uchain, uball->ox, uball->oy); in domove() 236 if(inv_weight() + (int) uball->owt/2 > 0) { in domove() 243 movobj(uball, uchain->ox, uchain->oy); in domove() 244 unpobj(uball); /* BAH %% */ in domove()
|
H A D | hack.worn.c | 18 { W_BALL, &uball },
|
H A D | hack.save.c | 146 if(!uball){ 152 uball = otmp;
|
H A D | hack.h | 48 extern struct obj *uball; /* defined if PUNISHED */
|
H A D | hack.u_init.c | 183 uarm = uarm2 = uarmh = uarms = uarmg = uwep = uball = uchain = in u_init()
|
H A D | hack.apply.c | 116 (Punished && (obj == uball || obj == uchain))){
|
H A D | hack.zap.c | 76 if(obj == uball || obj == uchain)
|