mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
v1.6.19 - spelling fix
This commit is contained in:
parent
bd4c5afb74
commit
c0f14081a8
2 changed files with 2 additions and 2 deletions
|
|
@ -1734,7 +1734,7 @@
|
||||||
|
|
||||||
<div id="iceEditor" class="dialog" style="display: none">
|
<div id="iceEditor" class="dialog" style="display: none">
|
||||||
<button id="iceEditStyle" data-tip="Edit style in Style Editor" class="icon-brush"></button>
|
<button id="iceEditStyle" data-tip="Edit style in Style Editor" class="icon-brush"></button>
|
||||||
<button id="iceRandomize" data-tip="Randomize Iceberd shape" class="icon-shuffle"></button>
|
<button id="iceRandomize" data-tip="Randomize Iceberg shape" class="icon-shuffle"></button>
|
||||||
<input id="iceSize" data-tip="Change Iceberg size" type="range" min=".05" max="1" step=".01">
|
<input id="iceSize" data-tip="Change Iceberg size" type="range" min=".05" max="1" step=".01">
|
||||||
<button id="iceNew" data-tip="Add an Iceberg (click on map)" class="icon-plus"></button>
|
<button id="iceNew" data-tip="Add an Iceberg (click on map)" class="icon-plus"></button>
|
||||||
<button id="iceRemove" data-tip="Remove the element. Shortcut: Delete" class="icon-trash fastDelete"></button>
|
<button id="iceRemove" data-tip="Remove the element. Shortcut: Delete" class="icon-trash fastDelete"></button>
|
||||||
|
|
|
||||||
|
|
@ -510,7 +510,7 @@ function drawIce() {
|
||||||
if (grid.features[cells.f[i]].type === "lake") continue; // lake: no icebers
|
if (grid.features[cells.f[i]].type === "lake") continue; // lake: no icebers
|
||||||
let size = (6.5 + t) / 10; // iceberg size: 0 = full size, 1 = zero size
|
let size = (6.5 + t) / 10; // iceberg size: 0 = full size, 1 = zero size
|
||||||
if (cells.t[i] === -1) size *= 1.3; // coasline: smaller icebers
|
if (cells.t[i] === -1) size *= 1.3; // coasline: smaller icebers
|
||||||
size = Math.min(size * (.4 + rand() * 1.2), .95); // randomize iceberd size
|
size = Math.min(size * (.4 + rand() * 1.2), .95); // randomize iceberg size
|
||||||
resizePolygon(i, size);
|
resizePolygon(i, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue