Commit graph

1575 commits

Author SHA1 Message Date
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
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