convert a direction code into an x,y pair */
| 3856 | |
| 3857 | /* convert a direction code into an x,y pair */ |
| 3858 | void |
| 3859 | dirtocoord(coord *cc, int dd) |
| 3860 | { |
| 3861 | if (dd > DIR_ERR && dd < N_DIRS_Z) { |
| 3862 | cc->x = xdir[dd]; |
| 3863 | cc->y = ydir[dd]; |
| 3864 | } |
| 3865 | } |
| 3866 | |
| 3867 | /* also sets u.dz, but returns false for <> */ |
| 3868 | int |
no outgoing calls
no test coverage detected