Commit graph

1571 commits

Author SHA1 Message Date
Azgaar
e53c3a7773 Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator into burg-groups 2024-09-27 13:32:51 +02:00
Azgaar
c04fb2bfca refactor: burg types 2024-09-27 13:32:22 +02:00
Azgaar
fc1982ff5b feat: start 2024-09-27 12:54:20 +02:00
Azgaar
2efe9be3a4 feat: start 2024-09-26 02:32:09 +02:00
Azgaar
84c326e347 fix: issue with feature vertex being out of bound 2024-09-25 17:05:31 +02:00
Azgaar
949a486bf8 fix: redraw features on load 2024-09-25 13:18:22 +02:00
Azgaar
879cf6b692 fix: typo 2024-09-25 12:13:16 +02:00
Azgaar
ba3a9d1598 chore: set libs version 2024-09-23 12:52:56 +02:00
Azgaar
b127607811 chore: supporters update 2024-09-23 12:35:16 +02:00
Azgaar
ea27276558 fix: disable double-click on heightmap edit 2024-09-22 20:07:55 +02:00
Azgaar
b66874ddda feat: battles - move Regiments back to init position after the battle 2024-09-22 18:20:22 +02:00
Azgaar
e25f231697
AI Assistant widget (#1115)
* feat: add assistan widget

* feat: remove gtm

* feat: assistant - minify js, add option UI

* feat: assistant - ability to toggle assistant

* chore: update version to 1.102.00

* chore: resolve version conflict

* chore: cleanup

* chore: cleanup

* feat: ai widget - improve style

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2024-09-22 14:59:53 +02:00
Azgaar
97e504d2aa fix: features - define first cell 2024-09-22 13:04:22 +02:00
Azgaar
6d3b88b36f fix: split regiment v1.104.14 2024-09-22 12:14:30 +02:00
Azgaar
330eb62024 fix: draw military fn reference 2024-09-21 16:33:35 +02:00
Azgaar
861b219e6e fix: don't hide armies layer 2024-09-21 14:23:18 +02:00
Azgaar
1a61a433b7 fix: loose format requirements for old files to show correct message 2024-09-21 13:58:11 +02:00
Azgaar
877afa546d fix: remove route if it has <2 points 2024-09-21 13:43:46 +02:00
Azgaar
601e71b846 fix: heightmap edit in Risk mode 2024-09-21 02:09:16 +02:00
Azgaar
5964657a16 fix: layers - show emblems on render 2024-09-21 02:01:55 +02:00
Azgaar
8be55eae51 fix: heightmap edit in Erase mode 2024-09-21 01:41:14 +02:00
Azgaar
62805dc1a6 fix: slow load 2024-09-21 01:16:28 +02:00
Azgaar
18b9f604e9 fix: #1136 2024-09-21 00:33:24 +02:00
Azgaar
e9113730b9 fix: service worker fn 2024-09-20 15:40:10 +02:00
Azgaar
5904e9e7c6 fix: routes (v1.104.3) 2024-09-20 14:16:07 +02:00
Azgaar
3d1f268003 feat: use StaleWhileRevalidate for scripts poloicy; v1.104.2 2024-09-20 13:04:47 +02:00
Azgaar
d3ba6dd95b style: reduce submap dialog width - v1.104.1 2024-09-20 12:21:51 +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
ec993d1a9b fix: #1129 2024-09-12 12:55:31 +02:00
Azgaar
0187bba76c hotfix: 1.103.7 2024-09-12 11:25:53 +02:00
Ángel Montero Lamas
95c6af8993
added names to the random names of zones (#1128)
* added names of zones

added names for rebels, invasion and animals.

* deleted suggested names

- deleted siege and subjugation from zones.generator.js const subtype = rw

* fixed invationCells spelling

Fixed invationCells to invasionCells.
Is invasion with s.

* update versioning and index.html
2024-09-12 01:23:50 +02:00
Azgaar
cea9b1a48a fix: locking options 2024-09-06 02:41:14 +02:00
Azgaar
4c6c5288a1 refactor: load.js formatting 2024-09-06 01:11:25 +02:00
Azgaar
dd35947ecd fix: version detection on load 2024-09-06 00:32:32 +02:00
Azgaar
0b8d3c63fc fix: 1.103.02 - parse old .map - markers data fix 2024-09-04 22:30:24 +02:00
Azgaar
637aa398bb fix: 1.103.01 - parse old .map - add patch version 2024-09-04 22:20:56 +02:00
Ángel Montero Lamas
168203f7da
Friendly text on latitude cell info (#1125)
* Friendly text on latitude cell info

- Added function getLatitudeDescription(latitude)
- Added the text to infoLat on cell info.

* refactored, renamed to getGeozone

* v1.103 on commonUtils.js
2024-09-04 19:18:35 +02:00
Ángel Montero Lamas
473b62b3eb
Update grid overlay to add tilings (#1030)
* Update grid overlay to add tilings

Added square rotated 45 degrees, truncated square tiling, tetrakis square, triangular tiling, trihexagonal tiling and rhombille tiling with rhombus. Inspired by these uniform tilings: https://en.wikipedia.org/wiki/List_of_Euclidean_uniform_tilings

* Fixed stroke width of grid tilings

The stroke width of:
- Tetrakis square.
- Truncated square.
- Triangle tiling.
- Rhombille tiling.
Now has all the same stroke width.

* Updated grid to 25 px regular

Fixed triangular and rhombic, rhombille.

* fix typo on pattern triangle index.html

fix

* added wiki link and info icon

- icon-info-circled
- wiki article scale and distance

* Center to center distance

Updated svg to adjust distance to center to center cell instead of svg side.
- Square 45 degrees
- Triangular
- Rhombille
2024-09-04 02:36:15 +02:00
Ángel Montero Lamas
b273c77166
added icon-dot-circled to locate burg in burg editor menu (#1123)
* added icon-dot-circled to locate burg

- icon dot-circled
- function zoomIntoBurg()

* pack.burgs[id] and icons

pack.burgs[id].x and y
icon target and map pin

* Update versioning.js to 1.102.0

* Update index.html burg-editor.js to 1.102.00
2024-09-04 02:34:48 +02:00
Azgaar
d42fd5cf92 fix: year and era - unlock both on lock icon click 2024-09-02 12:16:51 +02:00
Azgaar
23e2484526 chore: supporters list update 2024-09-02 01:56:32 +02:00
Azgaar
59462a4f15 fix: #1118 - get lake shoreline if missing 2024-09-01 21:42:34 +02:00
Azgaar
d1fcdf20f7 chore: update version to 1.101.00 2024-09-01 14:29:18 +02:00
Azgaar
424077c7eb
Merge pull request #1117 from Azgaar/letter-spacing
Letter spacing
2024-09-01 14:21:01 +02:00
Azgaar
baf7a5c3b9 chore: update version 2024-09-01 14:20:06 +02:00
Azgaar
4f066c6dc1 feat: letter-spacing - improve UI, refactor 2024-09-01 14:14:06 +02:00
Azgaar
2fea87344b feat: letter-spacing - update style files 2024-09-01 14:07:18 +02:00
Azgaar
dbe6ef1854 chore: label letter spacing - update version 2024-09-01 13:46:42 +02:00
Azgaar
6e64912e27 Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator into letter-spacing 2024-09-01 13:03:23 +02:00
Oriolowsky
6ffc5a0cc5
Added the option to set letter-spacing size to individual labels. (#1116)
* Added the option to set letter-spacing size to individual labels.

* Allowed to set letter-spacing for label groups from the Style tab.
2024-09-01 13:02:07 +02:00