| 1732 | } |
| 1733 | |
| 1734 | staticfn int QSORTCALLBACK |
| 1735 | notice_mons_cmp(const genericptr ptr1, const genericptr ptr2) |
| 1736 | { |
| 1737 | const struct monst *m1 = *(const struct monst **) ptr1, |
| 1738 | *m2 = *(const struct monst **) ptr2; |
| 1739 | |
| 1740 | return (distu(m1->mx, m1->my) - distu(m2->mx, m2->my)); |
| 1741 | } |
| 1742 | |
| 1743 | void |
| 1744 | notice_all_mons(boolean reset) |
nothing calls this directly
no outgoing calls
no test coverage detected