MCPcopy Create free account
hub / github.com/demoth/jake2 / FloodAreaConnections

Method FloodAreaConnections

qcommon/src/main/java/jake2/qcommon/CM.java:1636–1657  ·  view source on GitHub ↗

FloodAreaConnections.

()

Source from the content-addressed store, hash-verified

1634 * FloodAreaConnections.
1635 */
1636 public void FloodAreaConnections() {
1637 Com.DPrintf("FloodAreaConnections...\n");
1638
1639 int i;
1640 carea_t area;
1641 int floodnum;
1642
1643 // all current floods are now invalid
1644 floodvalid++;
1645 floodnum = 0;
1646
1647 // area 0 is not used
1648 for (i = 1; i < numareas; i++) {
1649
1650 area = map_areas[i];
1651
1652 if (area.floodvalid == floodvalid)
1653 continue; // already flooded into
1654 floodnum++;
1655 FloodArea_r(area, floodnum);
1656 }
1657 }
1658
1659 /**
1660 * CM_SetAreaPortalState.

Callers 3

CM_LoadMapMethod · 0.95
CM_SetAreaPortalStateMethod · 0.95
CM_ReadPortalStateMethod · 0.95

Calls 2

DPrintfMethod · 0.95
FloodArea_rMethod · 0.95

Tested by

no test coverage detected