Started to implement road generation.

This commit is contained in:
2015-05-20 11:26:46 +03:00
parent 11ca59d8bb
commit 7bd2b7b255
24 changed files with 616 additions and 119 deletions

View File

@ -79,7 +79,7 @@ namespace TransportGame.MapViewer
// Draw elevation
else if (elevation)
{
float alpha = map.Heights[mapX, mapY]; // map.Heights range is [0,1]
float alpha = map.Heightmap[mapX, mapY]; // map.Heights range is [0,1]
bitmap[x, y] = Color.Multiply(ElevationTerrainColor, alpha);
}