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

Function parseSetupTile

source/core/defparser.cpp:763–773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

761//===========================================================================
762
763static void parseSetupTile(FScanner& sc, FScriptPosition& pos)
764{
765 int tile;
766 if (!sc.GetNumber(tile, true)) return;
767 if (!ValidateTilenum("setuptile", tile, pos)) return;
768 auto& tiled = tbuild->tile[tile];
769 if (!sc.GetNumber(tiled.extinfo.hiofs.xsize, true)) return;
770 if (!sc.GetNumber(tiled.extinfo.hiofs.ysize, true)) return;
771 if (!sc.GetNumber(tiled.extinfo.hiofs.xoffs, true)) return;
772 if (!sc.GetNumber(tiled.extinfo.hiofs.yoffs, true)) return;
773}
774
775//===========================================================================
776//

Callers

nothing calls this directly

Calls 2

ValidateTilenumFunction · 0.85
GetNumberMethod · 0.45

Tested by

no test coverage detected