MCPcopy Create free account
hub / github.com/ZDoom/Raze / parseUndefineTile

Function parseUndefineTile

source/core/defparser.cpp:668–679  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

666//===========================================================================
667
668static void parseUndefineTile(FScanner& sc, FScriptPosition& pos)
669{
670 int tile;
671
672 if (!sc.GetNumber(tile, true)) return;
673 if (ValidateTilenum("undefinetile", tile, pos))
674 {
675 auto& tiled = tbuild->tile[tile];
676 tiled.tileimage = nullptr;
677 tiled.imported = nullptr;
678 }
679}
680
681//===========================================================================
682//

Callers

nothing calls this directly

Calls 2

ValidateTilenumFunction · 0.85
GetNumberMethod · 0.45

Tested by

no test coverage detected