Lines Matching refs:bhitpos
400 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()
432 tmp_at(-1, (levl[bhitpos.x][bhitpos.y].typ == POOL) ? -1 : 0); in bhit()
443 bhitpos.x = u.ux; in boomhit()
444 bhitpos.y = u.uy; in boomhit()
457 bhitpos.x += dx; in boomhit()
458 bhitpos.y += dy; in boomhit()
459 if ((mtmp = m_at(bhitpos.x, bhitpos.y)) != NULL) { in boomhit()
463 if (!ZAP_POS(levl[bhitpos.x][bhitpos.y].typ)) { in boomhit()
464 bhitpos.x -= dx; in boomhit()
465 bhitpos.y -= dy; in boomhit()
468 if (bhitpos.x == u.ux && bhitpos.y == u.uy) { /* ct == 9 */ in boomhit()
478 tmp_at(bhitpos.x, bhitpos.y); in boomhit()