| 52 | } |
| 53 | |
| 54 | staticfn schar |
| 55 | get_map(coordxy col, coordxy row, schar bg_typ) |
| 56 | { |
| 57 | if (col <= 0 || row < 0 || col > WIDTH || row >= HEIGHT) |
| 58 | return bg_typ; |
| 59 | return levl[col][row].typ; |
| 60 | } |
| 61 | |
| 62 | staticfn const int dirs[16] = { |
| 63 | -1, -1 /**/, -1, 0 /**/, -1, 1 /**/, 0, -1 /**/, |
no outgoing calls
no test coverage detected