Commit graph

1718 commits

Author SHA1 Message Date
StempunkDev
6135fe7f3d fix index.html script import 2026-01-22 16:58:09 +01:00
StempunkDev
d445de5234 bump version in html 2026-01-22 14:28:33 +01:00
StempunkDev
5fc5dc700a just to be sure 2026-01-22 14:26:42 +01:00
StempunkDev
95a06dfb4b refactor: improve getNextId function to fill gaps in ice element IDs(optional commit) 2026-01-22 14:25:07 +01:00
StempunkDev
f2d98e5bc7 refactor: unify ice data structure and streamline ice element handling 2026-01-22 14:25:07 +01:00
StempunkDev
a7d9fb3242 fix compact problems on autosave 2026-01-22 14:25:07 +01:00
StempunkDev
9db2f708ec fix: clear existing ice elements before redrawing in editHeightmap function 2026-01-22 14:25:07 +01:00
StempunkDev
eb78b332a6 feat: add compactPackData function to filter out undefined glaciers and icebergs 2026-01-22 14:25:07 +01:00
StempunkDev
d1250b4c00 ice drawing with only type on less occuring glaciers 2026-01-22 14:25:07 +01:00
StempunkDev
6003dbb111 fix: update editIce function to accept element parameter and improve logic for glacier handling 2026-01-22 14:25:07 +01:00
StempunkDev
3711478d59 refactor: simplify ice rendering logic by removing redundant clearing of old SVG 2026-01-22 14:25:07 +01:00
StempunkDev
d1e40b6277 refactor: streamline ice generation process and clean up rendering functions 2026-01-22 14:25:07 +01:00
StempunkDev
89d27f8e4c fix: migrate ice data to new data model structure 2026-01-22 14:25:06 +01:00
kruschen
cc4a7cab30 fix logic chech in modules/dynamic/auto-update.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-22 14:25:06 +01:00
StempunkDev
21710bc426 sparse array implementation with reduced updates 2026-01-22 14:25:06 +01:00
StempunkDev
5600c06381 fix: clear ice data before generating glaciers and icebergs 2026-01-22 14:25:06 +01:00
StempunkDev
23071611d6 refactor: remove redundant element selection in ice editing functions 2026-01-22 14:25:06 +01:00
StempunkDev
dafed163ad fix ice selection better(pls) 2026-01-22 14:25:06 +01:00
StempunkDev
959e49b255 fix ice selection(hopefully) 2026-01-22 14:25:06 +01:00
StempunkDev
f726c911b8 feat: integrate ice generation and recalculation in heightmap editing 2026-01-22 14:25:06 +01:00
StempunkDev
a2139f1aee refactor: update ice data handling and rendering for improved performance 2026-01-22 14:25:06 +01:00
StempunkDev
b1a8c042e6 feat: migrate ice data to new data model and update version to 1.110.0 2026-01-22 14:25:06 +01:00
StempunkDev
7f99323d22 prototype for ice seperation 2026-01-22 14:25:06 +01:00
Azgaar
f30ffd812e
Overview dialogs search (#1260)
* feat: add search functionality to overview components

* feat: enhance search functionality

* chore: correct typo in pull request template

* chore: update version to 1.110.0 and add peer dependencies in package-lock.json; enhance versioning.js with new features

* Fix null safety and performance in overview dialogs search (#1272)

* Initial plan

* fix: add optional chaining and optimize performance in overview dialogs

Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
2026-01-22 13:06:13 +01:00
Azgaar
9e0eb03618
[Migration] NPM (#1266)
* chore: add npm + vite for progressive enhancement

* fix: update Dockerfile to copy only the dist folder contents

* fix: update Dockerfile to use multi-stage build for optimized production image

* fix: correct nginx config file copy command in Dockerfile

* chore: add netlify configuration for build and redirects

* fix: add NODE_VERSION to environment in Netlify configuration

* remove wrong dist folder

* Update package.json

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

* chore: split public and src

* migrating all util files from js to ts

* feat: Implement HeightmapGenerator and Voronoi module

- Added HeightmapGenerator class for generating heightmaps with various tools (Hill, Pit, Range, Trough, Strait, etc.).
- Introduced Voronoi class for creating Voronoi diagrams using Delaunator.
- Updated index.html to include new modules.
- Created index.ts to manage module imports.
- Enhanced arrayUtils and graphUtils with type definitions and improved functionality.
- Added utility functions for generating grids and calculating Voronoi cells.

* chore: add GitHub Actions workflow for deploying to GitHub Pages

* fix: update branch name in GitHub Actions workflow from 'main' to 'master'

* chore: update package.json to specify Node.js engine version and remove unused launch.json

* Initial plan

* Update copilot guidelines to reflect NPM/Vite/TypeScript migration

Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>

* Update src/modules/heightmap-generator.ts

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

* Update src/utils/graphUtils.ts

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

* Update src/modules/heightmap-generator.ts

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

* feat: Add TIME and ERROR variables to global scope in HeightmapGenerator

* fix: Update base path in vite.config.ts for Netlify deployment

* fix: Update Node.js version in Dockerfile to 24-alpine

---------

Co-authored-by: Marc Emmanuel <marc.emmanuel@tado.com>
Co-authored-by: Marc Emmanuel <marcwissler@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
2026-01-22 12:20:12 +01:00
Azgaar
0c26f0831f fix: enhance population constraints in UI and calculations 2026-01-09 23:21:43 +01:00
Azgaar
fa8fd58259 fix: if group is missing, recreate all labels or icons 2026-01-09 22:50:58 +01:00
Azgaar
753db70283 fix: restore MFCG link 2026-01-09 22:26:48 +01:00
Azgaar
d0395624af fix: update group style for old versions 2026-01-08 18:36:21 +01:00
Azgaar
50f51bd838 chore: update index.css version to 1.109.1 2026-01-08 16:19:42 +01:00
Azgaar
b2b1735745 fix: update support link 2026-01-08 16:17:28 +01:00
Azgaar
a3487f4038
Merge pull request #1173 from Azgaar/burg-groups
Burg groups
2026-01-08 15:57:17 +01:00
Azgaar
d6109a4919 fix: burg regeneration for ports 2026-01-08 15:51:18 +01:00
Azgaar
cf2c91da62 feat: add new supporters to the dynamic module 2026-01-08 14:13:29 +01:00
Azgaar
16a6327a23 Merge branch 'master' of github.com-personal:Azgaar/Fantasy-Map-Generator into burg-groups 2026-01-08 14:10:22 +01:00
Pinyang Yuan
0feca43b14
fix: add parameters to getLinePower in heightmap-generator.js (#1256)
Previously `getLinePower` was defined without any parameters, which meant callers had to rely on global variable `cells` which overrides `cellDesired` value.
2026-01-05 13:14:13 +01:00
Azgaar
0e84a0d72e fix: old bux fix 2025-12-01 13:40:35 +01:00
Azgaar
34b880e10f fix: bug fixes, 3d mode controls change to MapContol 2025-11-28 15:11:11 +01:00
Federico Busetti
9a16e06223
Fix Markers GeoJSON export (#1248)
* Fix the retrieval of the marker node on GeoJSON export

* Versioning update
2025-11-28 13:15:51 +01:00
Azgaar
07d0729cfc feat: 3d mode - sun presets 2025-10-31 03:12:56 +01:00
Azgaar
585f3c34b1 feat: 3d mode - improve water bodies mesh 2025-10-31 02:55:02 +01:00
Azgaar
0eaabcb051 fix: 3d labels 2025-10-31 01:59:23 +01:00
Azgaar
e4590f56bc fix: ophtograthy 2025-10-31 01:15:59 +01:00
Azgaar
8e13a3a0de Merge branch 'master' of github.com-personal:Azgaar/Fantasy-Map-Generator into burg-groups 2025-10-30 15:29:46 +01:00
Copilot
f73a8906ce
Add comprehensive GitHub Copilot instructions for Fantasy Map Generator (#1233)
* Initial plan

* Add comprehensive GitHub Copilot instructions for Fantasy Map Generator

Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>

* chore: copilot instructions

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2025-08-29 17:20:03 +02:00
Azgaar
538cc3423a fix: 1227 2025-08-29 14:36:34 +02:00
Azgaar
5f998043dc fix: burg groups - add new icon-anchor symbol on update 2025-08-07 01:39:05 +02:00
Ender-Emp
ab08dc9429
fix regex of 'and' adjectivization rule (#1225) 2025-08-02 13:48:10 +02:00
Azgaar
d06ebe5ac8 fix(v1.108.11): add external icons to export in base64 format 2025-07-18 02:31:10 +02:00
Azgaar
738732364e fix(ui): correct marker note lookup by adding prefix 2025-07-02 00:52:41 +02:00