*um_dist [#e70d94d0] **書式 [#k0421fe6] apply.c, 関数 boolean um_dist( xchar x, y; // プレイヤーとの距離(歩数)を調べる座標 xchar n; // 比較する距離(歩数) ); **パラメータ [#xb16cb5e] :x, y|プレイヤーとの距離(歩数)を調べる座標 :n|比較する距離(歩数) **戻り値 [#g1b280da] プレイヤーの座標と (x, y) との距離を歩数で比較し、n よりも大きければ TRUE を、n 以下であれば FALSE を返す。 **解説 [#aa7c100c] プレイヤーの座標と (x, y) との距離を歩数で比較した結果を返す。 **対応情報 [#y83f222c] -NetHack 3.4.3 **関連項目 [#k7e11e86]