| 604 | //=========================================================================== |
| 605 | |
| 606 | static void parseImportTile(FScanner& sc, FScriptPosition& pos) |
| 607 | { |
| 608 | int tile; |
| 609 | |
| 610 | if (!sc.GetNumber(tile, true)) return; |
| 611 | if (!sc.GetString()) return; |
| 612 | if (!ValidateTilenum("importtile", tile, pos)) return; |
| 613 | |
| 614 | int texstatus = tileImportFromTexture(sc, sc.String, tile, 255, 0); |
| 615 | if (texstatus >= 0) tbuild->tile[tile].extinfo.picanm = {}; |
| 616 | } |
| 617 | |
| 618 | //=========================================================================== |
| 619 | // |
nothing calls this directly
no test coverage detected