Home
last modified time | relevance | path

Searched refs:bhitpos (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/games/hack/
H A Dhack.zap.c400 bhitpos.x = u.ux; in bhit()
401 bhitpos.y = u.uy; in bhit()
406 bhitpos.x += ddx; in bhit()
407 bhitpos.y += ddy; in bhit()
408 typ = levl[bhitpos.x][bhitpos.y].typ; in bhit()
409 if ((mtmp = m_at(bhitpos.x, bhitpos.y)) != NULL) { in bhit()
417 if (fhito && (otmp = o_at(bhitpos.x, bhitpos.y))) { in bhit()
422 bhitpos.x -= ddx; in bhit()
423 bhitpos.y -= ddy; in bhit()
427 tmp_at(bhitpos.x, bhitpos.y); in bhit()
[all …]
H A Dhack.do.c361 bhitpos.x = mon->mx; in dothrow()
362 bhitpos.y = mon->my; in dothrow()
428 cutworm(mon, bhitpos.x, bhitpos.y, obj->otyp); in dothrow()
455 if (cansee(bhitpos.x, bhitpos.y)) in dothrow()
489 obj->ox = bhitpos.x; in dothrow()
490 obj->oy = bhitpos.y; in dothrow()
497 (bhitpos.x != u.ux || bhitpos.y != u.uy)) { in dothrow()
517 u.ux = uchain->ox = bhitpos.x - u.dx; in dothrow()
518 u.uy = uchain->oy = bhitpos.y - u.dy; in dothrow()
522 if (cansee(bhitpos.x, bhitpos.y)) in dothrow()
[all …]
H A Dhack.Decl.c108 coord bhitpos; variable
H A Dhack.h210 extern coord bhitpos; /* place where thrown weapon falls to the ground */