OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:udist
(Results
1 - 2
of
2
) sorted by relevancy
/src/games/hack/
hack.dog.c
193
int
udist
, chi = 0, i, whappr;
local in function:dog_move
231
udist
= dist(omx, omy);
234
if (!
udist
)
238
/* Note: if apport == 1 then our behaviour is independent of
udist
*/
240
if (!rn2(
udist
) || !rn2((int) edog->apport))
245
edog->dropdist =
udist
; /* hpscdi!jon */
258
if (rn2(
udist
) || !rn2((int) edog->apport)) {
325
appr = (
udist
>= 9) ? 1 : (mtmp->mflee) ? -1 : 0;
326
if (after &&
udist
<= 4 && gx == u.ux && gy == u.uy)
328
if (
udist
> 1)
[
all
...]
hack.shk.c
944
int
udist
;
local in function:shk_move
955
if ((
udist
= dist(omx, omy)) < 3) {
976
if (
udist
< 2)
985
if (ESHK(shkp)->following || ((z = holetime()) >= 0 && z * z <=
udist
)) {
989
if (
udist
> 4)
Completed in 11 milliseconds
Indexes created Thu Oct 02 07:10:07 GMT 2025