Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
fbd89df
feat: add coastline fractalization
Azgaar Apr 24, 2026
f0d6541
refactor: streamline coastline settings and improve feature path rend…
Azgaar Apr 24, 2026
161ed40
feat: implement coastline settings dialog and preview functionality
Azgaar Apr 24, 2026
d4e4535
refactor: update coastline fractalization and rendering logic
Azgaar Apr 24, 2026
f216e55
refactor: enhance coastline roughness graph rendering and improve sha…
Azgaar Apr 25, 2026
d300d5e
refactor: adjust base amplitude and refine Hermite control points for…
Azgaar Apr 25, 2026
d3ff84c
refactor: improve code formatting and consistency in coastline render…
Azgaar Apr 25, 2026
975747a
refactor: streamline button attributes and enhance coastline fractali…
Azgaar Apr 25, 2026
3003066
refactor: specify return type for buildCoastlinePath function and opt…
Azgaar Apr 25, 2026
a6ed4eb
refactor: adjust stroke width for sea island in coastline rendering
Azgaar Apr 25, 2026
d092da0
refactor: don't add fractal on edges
Azgaar Apr 25, 2026
65c99d5
refactor: add coastline settings editor and update hotkeys
Azgaar Apr 25, 2026
937d5c1
refactor: migrate coastline settings editor to TypeScript and update …
Azgaar Apr 25, 2026
28c758d
refactor: enhance coastline settings with new presets and update frac…
Azgaar Apr 25, 2026
c4ff97f
refactor: add coastline editor script to index.html
Azgaar Apr 26, 2026
a40a39d
refactor: update latest public changes for jagged coastlines and heig…
Azgaar Apr 26, 2026
a78f332
refactor: add new supporters to the supporters list
Azgaar Apr 26, 2026
78a3a1b
refactor: clean up code formatting and remove unnecessary whitespace
Azgaar Apr 26, 2026
f2548c6
refactor: simplify coastline HTML structure by removing unnecessary l…
Azgaar Apr 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion public/modules/dynamic/supporters.js
Original file line number Diff line number Diff line change
Expand Up @@ -608,4 +608,14 @@ Riley
Amber Davis
tomtom1969vlbg
Eric Knight
Adeline Lefizelier`;
Adeline Lefizelier
Jerry Palmer
Colin Lewis
lうcy
Peyton
Silvershade
jim8333
Kevin
Jeffrey Brown
Tyler Riggs
Justin Warrington`;
10 changes: 8 additions & 2 deletions public/modules/ui/editors.js
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,8 @@ function changePickerSpace() {
space === "hex"
? d3.rgb(this.value)
: space === "rgb"
? d3.rgb(i[0], i[1], i[2])
: d3.hsl(i[0], i[1] / 100, i[2] / 100);
? d3.rgb(i[0], i[1], i[2])
: d3.hsl(i[0], i[1] / 100, i[2] / 100);

const hsl = d3.hsl(fill);
if (isNaN(hsl.l)) {
Expand Down Expand Up @@ -1006,3 +1006,9 @@ async function editReligions() {
const Editor = await import("../dynamic/editors/religions-editor.js?v=1.118.0");
Editor.open();
}

// TS-migrated editors. TODO: import from module when editors.js is migrated to TS
function editCoastlineSettings() {
if (customization) return;
window.CoastlineEditor.open();
}
1 change: 1 addition & 0 deletions public/modules/ui/hotkeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ function handleKeyup(event) {
else if ((shift || altShift) && code === "KeyS") editStates();
else if ((shift || altShift) && code === "KeyP") editProvinces();
else if ((shift || altShift) && code === "KeyD") editDiplomacy();
else if ((shift || altShift) && code === "KeyL") editCoastlineSettings();
else if ((shift || altShift) && code === "KeyC") editCultures();
else if ((shift || altShift) && code === "KeyN") editNamesbase();
else if ((shift || altShift) && code === "KeyZ") editZones();
Expand Down
1 change: 1 addition & 0 deletions public/modules/ui/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ toolsContent.addEventListener("click", function (event) {
else if (button === "editStatesButton") editStates();
else if (button === "editProvincesButton") editProvinces();
else if (button === "editDiplomacyButton") editDiplomacy();
else if (button === "editCoastlineSettings") editCoastlineSettings();
else if (button === "editCulturesButton") editCultures();
else if (button === "editReligions") editReligions();
else if (button === "editEmblemButton") openEmblemEditor();
Expand Down
2 changes: 1 addition & 1 deletion public/styles/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"#sea_island": {
"opacity": 0.5,
"stroke": "#1f3846",
"stroke-width": 0.7,
"stroke-width": 0.5,
"filter": "url(#dropShadow)",
"auto-filter": 1
},
Expand Down
8 changes: 5 additions & 3 deletions public/versioning.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ if (parseMapVersion(VERSION) !== VERSION) alert("versioning.js: Invalid format o
}

const latestPublicChanges = [
"Jagged coastlines",
"Heightmap Editor: Fill brush",
"Editors: undo button",
"Minimap",
"Search input in Overview dialogs",
"Custom burg grouping and icon selection",
"Ability to set custom image as Marker or Regiment icon",
Expand All @@ -40,9 +44,7 @@ if (parseMapVersion(VERSION) !== VERSION) alert("versioning.js: Invalid format o
"Notes Editor: on-demand AI text generation",
"New style preset: Dark Seas",
"New routes generation algorithm",
"Routes overview tool",
"Configurable longitude",
"Export zones to GeoJSON"
"Routes overview tool"
];

function showUpdateWindow() {
Expand Down
Loading
Loading