Commit graph

268 commits

Author SHA1 Message Date
Azgaar
308ead9913 fix: 1.106.7 - rivers starting width calc 2025-01-10 21:27:39 -05:00
Azgaar
c6377a5eec feat: like temp likeness, 1.106.6 2025-01-10 21:27:39 -05:00
Azgaar
1898a1ca0f style: increase dialog buttons size 2025-01-10 21:27:39 -05:00
Azgaar
2d7a816c23 fix: sumap - clip routes by bbox 2025-01-10 21:27:38 -05:00
Azgaar
73c71d5006 fix: don't mask routes 2025-01-10 21:27:23 -05:00
Azgaar
0c15957b34 fix: submap - generate in current canvas size 2025-01-10 21:27:23 -05:00
Azgaar
1cbcdbe70a fix: #1174 2025-01-10 21:27:23 -05:00
Azgaar
8a4b83f92f [Draft] Submap refactoring (#1153)
* refactor: submap - start

* refactor: submap - continue

* Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator into submap-refactoring

* refactor: submap - relocate burgs

* refactor: submap - restore routes

* refactor: submap - restore lake names

* refactor: submap - UI update

* refactor: submap - restore river and biome data

* refactor: submap - simplify options

* refactor: submap - restore rivers

* refactor: submap - recalculateMapSize

* refactor: submap - add middle points

* refactor: submap - don't add middle points, unified findPath fn

* chore: update version

* feat: submap - relocate out of map regiments

* feat: submap - fix route gen

* feat: submap - allow custom number of cells

* feat: submap - add checkbox submapRescaleBurgStyles

* feat: submap - update version hash

* chore: supporters update

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2025-01-10 21:27:23 -05:00
Azgaar
56df31dd99 fix: #1172 2025-01-10 21:25:08 -05:00
Azgaar
31c1303b28 fix: #1170 2025-01-10 21:25:08 -05:00
Dyxang
f123f7b119 Temperature parameters can be customized (#1162)
* Temperature parameters can be customized

* fix typo

* update to 1.105.22

* Update index.html
2025-01-10 21:25:07 -05:00
Ryan D. Guild
8f583e9a80 Removed priority queue in favor of FlatQueue (#1157)
* removed priority queue in favor of simple array extension as it will be easier to migrate to esm

* patch: bump version

* spacing

* moved references to globalThis

* demonstrate module interop

* added version to priority-queue and moved to utils to follow dom loading pattern

* removed PriorityQueue in favor of FlatQueue

* update index.html

* never mind that force push I don't know how to amend commits right

* missing capitalization

* priority set to 0 on 541

---------

Co-authored-by: RyanGuild <ryan.guild@us-ignite.org>
2025-01-10 21:25:07 -05:00
Azgaar
ef2eb0a7a4 feat: zones editor - don't close other editors on open 2025-01-10 21:21:14 -05:00
Azgaar
1e00161611 chore: parse DEBUG setting as an object 2025-01-10 21:21:13 -05:00
Azgaar
bf1a40776d fix: zones editor - legend to be toggable 2025-01-10 21:21:13 -05:00
Azgaar
ed92b5e23c fix: CRLF issue 2025-01-10 21:21:13 -05:00
Azgaar
53a6892492 Draw state labels improvement (#1155)
* chore: render debug elements

* feat: redo draw state labels algo

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2025-01-10 21:21:13 -05:00
Azgaar
bb6bd726a6 fix: lock all burgs 2025-01-10 21:21:13 -05:00
Azgaar
6c39a674a6 fix: features rendering - close the ring 2025-01-10 21:21:13 -05:00
Azgaar
15eef0200b fix: #1152, don't keep removed locked cultures on regenerate 2025-01-10 21:21:13 -05:00
Azgaar
d05237e5dc fix #1152 2025-01-10 21:20:50 -05:00
Azgaar
e1d70da3f0 fix: allow to load smaller namesbase without issues on regeneration 2025-01-10 21:20:36 -05:00
Azgaar
c7f38f7fc1 fix: remove unwanted states styling 2025-01-10 21:20:36 -05:00
Azgaar
9da6f22130 feat: allow to crean data in case of load error 2025-01-10 21:20:36 -05:00
Azgaar
6af79e1c98 fix: gap path to not omit the M path sign 2025-01-10 21:20:36 -05:00
Azgaar
8ed24c249d refactor: burg types 2025-01-10 21:20:35 -05:00
Azgaar
e99394c18c fix: issue with feature vertex being out of bound 2025-01-10 21:19:35 -05:00
Azgaar
167e880e4b fix: redraw features on load 2025-01-10 21:19:35 -05:00
Azgaar
c8885c013e fix: typo 2025-01-10 21:19:35 -05:00
Azgaar
bfb1c510dd chore: supporters update 2025-01-10 21:19:35 -05:00
Azgaar
10a7e4599c fix: disable double-click on heightmap edit 2025-01-10 21:19:35 -05:00
Azgaar
342ee80258 feat: battles - move Regiments back to init position after the battle 2025-01-10 21:19:35 -05:00
Azgaar
1ffcea2d3a 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>
2025-01-10 21:19:35 -05:00
Azgaar
7f8fab9982 fix: features - define first cell 2025-01-10 21:19:35 -05:00
Azgaar
be4f206655 fix: split regiment v1.104.14 2025-01-10 21:19:35 -05:00
Azgaar
306eb94d1b fix: draw military fn reference 2025-01-10 21:19:35 -05:00
Azgaar
e9cfa64588 fix: don't hide armies layer 2025-01-10 21:19:35 -05:00
Azgaar
f5bb89c922 fix: loose format requirements for old files to show correct message 2025-01-10 21:19:35 -05:00
Azgaar
28a69b930c fix: remove route if it has <2 points 2025-01-10 21:19:35 -05:00
Azgaar
4c2f878225 fix: heightmap edit in Risk mode 2025-01-10 21:19:10 -05:00
Azgaar
7b526cc536 fix: layers - show emblems on render 2025-01-10 21:19:10 -05:00
Azgaar
49bfd20cc6 fix: heightmap edit in Erase mode 2025-01-10 21:19:10 -05:00
Azgaar
373d6faf31 fix: slow load 2025-01-10 21:19:10 -05:00
Azgaar
bc08cd8311 fix: #1136 2025-01-10 21:19:10 -05:00
Azgaar
0a388342aa fix: service worker fn 2025-01-10 21:19:10 -05:00
Azgaar
19ee11198f fix: routes (v1.104.3) 2025-01-10 21:19:10 -05:00
Azgaar
a385db12c0 feat: use StaleWhileRevalidate for scripts poloicy; v1.104.2 2025-01-10 21:18:45 -05:00
Azgaar
e671739317 style: reduce submap dialog width - v1.104.1 2025-01-10 21:18:45 -05:00
Azgaar
699011755d 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>
2025-01-10 21:18:45 -05:00
Azgaar
1e0b4d6d94 fix: #1129 2025-01-10 21:16:05 -05:00