Callback for getpos_sethilite, also used in determining whether a scroll * should have its regular effects, or not because it was out of range. */
| 1077 | * should have its regular effects, or not because it was out of range. |
| 1078 | */ |
| 1079 | staticfn boolean |
| 1080 | can_center_cloud(coordxy x, coordxy y) |
| 1081 | { |
| 1082 | if (!valid_cloud_pos(x, y)) |
| 1083 | return FALSE; |
| 1084 | return (cansee(x, y) && distu(x, y) < 32); |
| 1085 | } |
| 1086 | |
| 1087 | staticfn void |
| 1088 | display_stinking_cloud_positions(boolean on_off) |
no test coverage detected