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

Function parseUndefModelRange

source/core/defparser.cpp:1388–1396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1386}
1387
1388static void parseUndefModelRange(FScanner& sc, FScriptPosition& pos)
1389{
1390 int start, end;
1391
1392 if (!sc.GetNumber(start, true)) return;
1393 if (!sc.GetNumber(end, true)) return;
1394 if (!ValidateTileRange("undefmodel", start, end, pos)) return;
1395 for (int i = start; i <= end; i++) modelManager.UndefineTile(i);
1396}
1397
1398static void parseUndefModelOf(FScanner& sc, FScriptPosition& pos)
1399{

Callers

nothing calls this directly

Calls 3

ValidateTileRangeFunction · 0.85
UndefineTileMethod · 0.80
GetNumberMethod · 0.45

Tested by

no test coverage detected