| 39 | extern const struct shclass shtypes[]; /* defined in shknam.c */ |
| 40 | |
| 41 | staticfn boolean |
| 42 | isbig(struct mkroom *sroom) |
| 43 | { |
| 44 | int area = (sroom->hx - sroom->lx + 1) |
| 45 | * (sroom->hy - sroom->ly + 1); |
| 46 | |
| 47 | return (boolean) (area > 20); |
| 48 | } |
| 49 | |
| 50 | /* make and stock a room of a given type */ |
| 51 | void |