skip premap detection of areas outside Sokoban map */
| 2121 | |
| 2122 | /* skip premap detection of areas outside Sokoban map */ |
| 2123 | staticfn boolean |
| 2124 | skip_premap_detect(coordxy x, coordxy y) |
| 2125 | { |
| 2126 | if ((levl[x][y].typ == STONE) |
| 2127 | && (levl[x][y].wall_info & (W_NONDIGGABLE | W_NONPASSWALL)) != 0) |
| 2128 | return TRUE; |
| 2129 | return FALSE; |
| 2130 | } |
| 2131 | |
| 2132 | /* Pre-map (the sokoban) levels */ |
| 2133 | void |