Check if the base layer tile is layer stone or soil
| 158 | } |
| 159 | /// Check if the base layer tile is layer stone or soil |
| 160 | bool isLayerAt(df::coord2d p) |
| 161 | { |
| 162 | using namespace df::enums::tiletype_material; |
| 163 | auto tm = tileMaterial(baseTiletypeAt(p)); |
| 164 | return tm == STONE || tm == SOIL; |
| 165 | } |
| 166 | |
| 167 | /// Vein material at pos (even if there is no vein tile), or -1 if none |
| 168 | int16_t veinMaterialAt(df::coord2d p) |
nothing calls this directly
no test coverage detected