| 27 | REQUIRE_GLOBAL(world); |
| 28 | |
| 29 | bool setTileMaterial(df::tiletype &tile, const df::tiletype_material mat) |
| 30 | { |
| 31 | df::tiletype newTile = findTileType(tileShape(tile), mat, tileVariant(tile), tileSpecial(tile), tileDirection(tile)); |
| 32 | if (newTile == tiletype::Void) |
| 33 | return false; |
| 34 | if (newTile != tile) |
| 35 | { |
| 36 | tile = newTile; |
| 37 | return true; |
| 38 | } |
| 39 | return false; |
| 40 | } |
| 41 | |
| 42 | command_result df_fixveins (color_ostream &out, vector <string> & parameters) |
| 43 | { |
no test coverage detected