Home
last modified time | relevance | path

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

/netbsd/games/hack/
H A Dhack.zap.c400 bhitpos.x = u.ux; in bhit()
401 bhitpos.y = u.uy; 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()
427 tmp_at(bhitpos.x, bhitpos.y); in bhit()
432 tmp_at(-1, (levl[bhitpos.x][bhitpos.y].typ == POOL) ? -1 : 0); in bhit()
459 if ((mtmp = m_at(bhitpos.x, bhitpos.y)) != NULL) { in boomhit()
463 if (!ZAP_POS(levl[bhitpos.x][bhitpos.y].typ)) { in boomhit()
468 if (bhitpos.x == u.ux && bhitpos.y == u.uy) { /* ct == 9 */ in boomhit()
[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 */