Commit graph

29 commits

Author SHA1 Message Date
Azgaar
34b880e10f fix: bug fixes, 3d mode controls change to MapContol 2025-11-28 15:11:11 +01:00
Azgaar
fd9e010153 refactor(burgs): centralize burg management logic in Burgs module
Moved burg-related functions like `removeBurg`, `changeGroup`, and `toggleCapital` into the Burgs module to improve code organization and maintainability. Updated all references to these functions across the codebase. This change reduces duplication and ensures consistent behavior for burg management operations.
2025-04-17 01:03:14 +02:00
Azgaar
c16d292304 refactor(styles): update burg styles for presets 2025-03-29 23:29:34 +01:00
Azgaar
bd05453e63 feat: burg groups - render anchors 2025-03-27 00:57:35 +01:00
Azgaar
95b7ed9ea4 Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator into burg-groups 2025-03-15 14:49:43 +01:00
Ruichka
8131f25456
Allow data URI scheme for custom images (#1196)
* Allow data URL external images

* fix

* removed inconsistency
2025-03-08 14:51:48 +01:00
Azgaar
4dd34e13d1 refactor: drawReliefIcons, v1.108.4 2025-02-15 18:03:54 +01:00
Azgaar
12b8b941e3 fix: remove old lake paths on drawFeatures, v1.108.2 2025-02-15 15:09:39 +01:00
Azgaar
d98ef5717e perf: set text-rendering to optimizeSpeed, v1.108.1 2025-02-15 14:43:51 +01:00
Azgaar
764993b680 fix: remove old feature masks, v1.108.0 2025-02-15 13:06:14 +01:00
Azgaar
01a69fd40b Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator 2025-02-08 15:13:23 +01:00
Azgaar
22636b1b62 fix: data integrity checks - better Stripping issue detection, v1.107.1 2025-02-08 15:12:57 +01:00
Azgaar
d51deffdac feat: make lined icons work for all elements, v1.107.0 2025-02-08 14:05:28 +01:00
Issac411
7b8ffd025f
custom pictures for regiments (#1183)
* forms and ajustements

* variable size for style as requested
2025-01-19 23:29:27 +01:00
Azgaar
2f53a635c8 feat: burg groups - image icons 2025-01-02 14:14:00 +01:00
Azgaar
c29f3b73e8 feat: burg groups - image icons 2025-01-02 03:36:29 +01:00
Azgaar
c86f7de9de feat: burg groups - support styling 2024-12-19 22:35:36 +01:00
Azgaar
e402120b8d Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator into burg-groups 2024-12-12 13:29:40 +01:00
Azgaar
5ac99d180d chore: parse DEBUG setting as an object 2024-10-22 14:45:25 +02:00
Azgaar
87e1dc2c5d
Draw state labels improvement (#1155)
* chore: render debug elements

* feat: redo draw state labels algo

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2024-10-19 13:25:34 +02:00
Azgaar
c447afb829 fix: features rendering - close the ring 2024-10-13 20:32:37 +02:00
Azgaar
b700bf0630 feat: burg group editor - apply changes 2024-10-09 00:33:22 +02:00
Azgaar
63898d8fd8 feat: split burgs to groups 2024-09-30 20:38:52 +02:00
Azgaar
2efe9be3a4 feat: start 2024-09-26 02:32:09 +02:00
Azgaar
330eb62024 fix: draw military fn reference 2024-09-21 16:33:35 +02:00
Azgaar
05de284e02
Refactor layers rendering (#1120)
* feat: render states - use global fn

* feat: render states - separate pole detection from layer render

* feat: render provinces

* chore: unify drawFillWithGap

* refactor: drawIce

* refactor: drawBorders

* refactor: drawHeightmap

* refactor: drawTemperature

* refactor: drawBiomes

* refactor: drawPrec

* refactor: drawPrecipitation

* refactor: drawPopulation

* refactor: drawCells

* refactor: geColor

* refactor: drawMarkers

* refactor: drawScaleBar

* refactor: drawScaleBar

* refactor: drawMilitary

* refactor: pump version to 1.104.00

* refactor: pump version to 1.104.00

* refactor: drawCoastline and createDefaultRuler

* refactor: drawCoastline

* refactor: Features module start

* refactor: features - define distance fields

* feat: drawFeatures

* feat: drawIce don't hide

* feat: detect coastline - fix issue with border feature

* feat: separate labels rendering from generation process

* feat: auto-update and restore layers

* refactor - change layers

* refactor - sort layers

* fix: regenerate burgs to re-render layers

* fix: getColor is not defined

* fix: burgs overview - don't auto-show labels on hover

* fix: redraw population on change

* refactor: improve tooltip logic for burg labels and icons

* chore: pump version to 1.104.0

* fefactor: edit coastline and lake

* fix: minot fixes

* fix: submap

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2024-09-20 12:20:27 +02:00
Azgaar
bf817ee8ed fix: #1052 2024-03-04 19:51:49 +01:00
Azgaar
95503ebf38 hotfix: filename conflict 2023-08-11 19:03:21 +04:00
Azgaar
87599d1530
State labels: new label placing algorithm (#977)
* feat: draw state labels start

* feat: update old .map files

* chore: update version hash

* fear: add change to the user's changelog
2023-08-11 18:56:42 +04:00