SyntheticMapGrid Module
Types
| Type | Description |
|
Parameters for `build`. A nominal record instead of an anonymous record so F# doesn't emit `<>f__AnonymousType…` into the XML doc member name (which trips fsdocs' XML parser at docs-generation time). |
Functions and values
| Function or value |
Description
|
|
|
|
Build a flat MapGrid with all cells Land (slope 0, height 10), zero metal/LOS/radar. `width` and `height` are heightmap grid squares. HeightMap is (width+1) × (height+1), SlopeMap/ResourceMap/LosMap/RadarMap are at heightmap resolution.
|
Full Usage:
oneGapCorridor width height gapCells
Parameters:
int
height : int
gapCells : int
Returns: MapGrid
|
A width×height flat grid with a single N-S impassable wall near the middle of the heightmap and a `gapCells`-tall open gap centred at heightmap-corner z = height/2. Pass `gapCells = 0` for a fully sealed wall.
|
|
|
|
|
|
FSBarV1_Archived