Fantasy-Map-Generator/public/modules/ui
kruschen 4b341a6590
Some checks are pending
Deploy static content to Pages / deploy (push) Waiting to run
Data model ice (#1279)
* prototype for ice seperation

* feat: migrate ice data to new data model and update version to 1.110.0

* refactor: update ice data handling and rendering for improved performance

* feat: integrate ice generation and recalculation in heightmap editing

* fix ice selection(hopefully)

* fix ice selection better(pls)

* refactor: remove redundant element selection in ice editing functions

* fix: clear ice data before generating glaciers and icebergs

* sparse array implementation with reduced updates

* fix logic chech in modules/dynamic/auto-update.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: migrate ice data to new data model structure

* refactor: streamline ice generation process and clean up rendering functions

* refactor: simplify ice rendering logic by removing redundant clearing of old SVG

* fix: update editIce function to accept element parameter and improve logic for glacier handling

* ice drawing with only type on less occuring glaciers

* feat: add compactPackData function to filter out undefined glaciers and icebergs

* fix: clear existing ice elements before redrawing in editHeightmap function

* fix compact problems on autosave

* refactor: unify ice data structure and streamline ice element handling

* refactor: improve getNextId function to fill gaps in ice element IDs(optional commit)

* just to be sure

* bump version in html

* fix index.html script import

* feat: add ice module script to index.html

* fix migration check

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-22 22:24:34 +01:00
..
3d.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
ai-generator.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
battle-screen.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
biomes-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
burg-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
burg-group-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
burgs-overview.js Overview dialogs search (#1260) 2026-01-22 13:06:13 +01:00
coastline-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
diplomacy-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
editors.js Data model ice (#1279) 2026-01-22 22:24:34 +01:00
elevation-profile.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
emblems-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
general.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
heightmap-editor.js Data model ice (#1279) 2026-01-22 22:24:34 +01:00
hotkeys.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
ice-editor.js Data model ice (#1279) 2026-01-22 22:24:34 +01:00
labels-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
lakes-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
layers.js Data model ice (#1279) 2026-01-22 22:24:34 +01:00
markers-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
markers-overview.js Overview dialogs search (#1260) 2026-01-22 13:06:13 +01:00
measurers.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
military-overview.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
namesbase-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
notes-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
options.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
provinces-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
regiment-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
regiments-overview.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
relief-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
rivers-creator.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
rivers-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
rivers-overview.js Overview dialogs search (#1260) 2026-01-22 13:06:13 +01:00
route-group-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
routes-creator.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
routes-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
routes-overview.js Overview dialogs search (#1260) 2026-01-22 13:06:13 +01:00
style-presets.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
style.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
submap-tool.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
temperature-graph.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
tools.js Data model ice (#1279) 2026-01-22 22:24:34 +01:00
transform-tool.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
units-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
world-configurator.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00
zones-editor.js [Migration] NPM (#1266) 2026-01-22 12:20:12 +01:00