| 263 | } |
| 264 | |
| 265 | schar |
| 266 | mapfrag_get(struct mapfragment *mf, int x, int y) |
| 267 | { |
| 268 | if (y < 0 || x < 0 || y > mf->hei - 1 || x > mf->wid - 1) |
| 269 | panic("outside mapfrag (%i,%i), wanted (%i,%i)", |
| 270 | mf->wid, mf->hei, x, y); |
| 271 | return splev_chr2typ(mf->data[y * (mf->wid + 1) + x]); |
| 272 | } |
| 273 | |
| 274 | boolean |
| 275 | mapfrag_canmatch(struct mapfragment *mf) |
no test coverage detected