| 21 | void mkmap(lev_init *); |
| 22 | |
| 23 | staticfn void |
| 24 | init_map(schar bg_typ) |
| 25 | { |
| 26 | coordxy x, y; |
| 27 | |
| 28 | for (x = 1; x < COLNO; x++) |
| 29 | for (y = 0; y < ROWNO; y++) { |
| 30 | levl[x][y].roomno = NO_ROOM; |
| 31 | levl[x][y].typ = bg_typ; |
| 32 | levl[x][y].lit = FALSE; |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | staticfn void |
| 37 | init_fill(schar bg_typ, schar fg_typ) |