selection_floofill callback to get all locations in a room */
| 1260 | |
| 1261 | /* selection_floofill callback to get all locations in a room */ |
| 1262 | staticfn int |
| 1263 | dolookaround_floodfill_findroom(coordxy x, coordxy y) |
| 1264 | { |
| 1265 | schar typ = levl[x][y].typ; |
| 1266 | |
| 1267 | if (IS_STWALL(typ) || IS_DOOR(typ) || IS_TREE(typ) |
| 1268 | || IS_WATERWALL(typ) || typ == LAVAWALL || typ == IRONBARS |
| 1269 | || typ == SCORR || typ == SDOOR || typ == DRAWBRIDGE_UP) |
| 1270 | return FALSE; |
| 1271 | return TRUE; |
| 1272 | } |
| 1273 | |
| 1274 | /* describe the room at x,y */ |
| 1275 | staticfn void |
nothing calls this directly
no outgoing calls
no test coverage detected