mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 10:31:24 +01:00
refactor: Features module start
This commit is contained in:
parent
ec236d146b
commit
b5fede560b
9 changed files with 315 additions and 160 deletions
|
|
@ -111,14 +111,10 @@ window.Submap = (function () {
|
|||
}
|
||||
|
||||
stage("Detect features, ocean and generating lakes");
|
||||
markFeatures();
|
||||
markupGridOcean();
|
||||
Features.markupGrid();
|
||||
|
||||
// Warning: addLakesInDeepDepressions can be very slow!
|
||||
if (options.addLakesInDepressions) {
|
||||
addLakesInDeepDepressions();
|
||||
openNearSeaLakes();
|
||||
}
|
||||
addLakesInDeepDepressions();
|
||||
openNearSeaLakes();
|
||||
|
||||
OceanLayers();
|
||||
|
||||
|
|
@ -130,7 +126,7 @@ window.Submap = (function () {
|
|||
|
||||
// remove misclassified cells
|
||||
stage("Define coastline");
|
||||
reMarkFeatures();
|
||||
Features.markupPack();
|
||||
drawCoastline();
|
||||
createDefaultRuler();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue