Commit graph

1586 commits

Author SHA1 Message Date
Azgaar
b2e5c047ae fix: add p to priority queue 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
012f19a5a9 chore: update 1.105.19 hash 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
3f50a31853 fix: #1152, don't keep removed locked cultures on regenerate 2025-01-10 21:20:50 -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
3810313002 chore: set libs version 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
Azgaar
9f3e707b95 hotfix: 1.103.7 2025-01-10 21:16:05 -05:00
Ángel Montero Lamas
877e269bbc 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
2025-01-10 21:16:05 -05:00
sofronaspe
cb486fa0e8 reinstate economics logic 2024-09-26 00:20:25 -07: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