Module spread

Source

Structs§

ReducedSpawnDistance
Only the parts of the SpawnDistance struct that are needed for the spread plotting.
SpawnDistance
Struct for the distance of an area from a collection of spawn points.
SpawnDistances
Struct for the distances of all areas from CT and T spawn points.
Spawns
Struct for the positions of CT and T spawn points.
SpreadResult
Result of one spread step.

Enums§

Perceivability

Functions§

generate_spreads
Generate spread steps from the distances of areas to CT and T spawns.
get_distances_from_spawns
For each area in map_areas, find the distances and paths to CT and T spawns.
save_spreads_to_json
Save the spread results to a JSON file.