Initial commit

This commit is contained in:
Brian Beck 2025-09-11 16:56:30 -07:00
parent 2211ed7650
commit ebb3dc9cdd
10121 changed files with 801 additions and 4 deletions

View file

@ -0,0 +1,39 @@
// offline graph building
$MAXNODECOUNT = 5000;
function makeJettableGraphOffline(%NAVorSPAWN)
{
if (%NAVorSPAWN $= "Spawn")
echo("--> Building Spawn Graph");
else
echo("--> Building Nav Graph");
// Inform what we're generating-
navGraph.setGenMode(%NAVorSPAWN);
// Upload ground and floor data-
navGraph::exteriorInspect();
navGraph::generateInterior();
// navGraph.makeGraph();
// navGraph.findBridges();
// navGraph.pushBridges();
navGraph.assemble();
navGraph.cullIslands();
navGraph.makeGraph();
navGraph.pushBridges();
navGraph.makeTables();
return false;
}
function doTablebuildOffline()
{
navGraph.prepLOS("0 0 0");
while(navGraph.makeLOS())
%percent++;
}