Commit graph

641 commits

Author SHA1 Message Date
Azgaar
dfa3813f04 feat: set min brush size to 1 2024-08-23 02:33:45 +02:00
Azgaar
cfc603edc1 style: burg editor - minor change 2024-08-22 13:51:58 +02:00
Azgaar
d4aef4920c
Slider-input web component (#1109)
* feat: slider-input web component

* feat: slider-input web component - Brush size

* feat: slider-input - statesGrowthRate

* feat: slider-input - units editor

* feat: slider-input - dissalow invalid numbers

* chore: pump version to v1.99.05

* chore: pump version to v1.99.05

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2024-08-22 13:35:36 +02:00
Azgaar
da8c4f1e4a fix: rotues - isCrossroad 2024-08-19 14:09:38 +02:00
Azgaar
7c82a99900 feat: new style - DarkSeas 2024-08-17 14:16:01 +02:00
Azgaar
9c97711a99 fix: routes id after removing all 2024-08-16 13:15:00 +02:00
Azgaar
21f16296e7 chore: pump version to 1.99.01 to get fixes applied 2024-08-15 17:23:49 +02:00
Azgaar
f19b891421
Urquhart routes (#1072)
* feat: routes generation

* feat: routes rendering

* feat: searoutes fix, changing reGraph

* feat: searoute - change pathfinding algo

* feat: routes - cleanup code

* feat: routes - change data format

* feat: routes - add routes to json export

* feat: edit routes - start

* feat: edit routes - main

* feat: edit routes - EP

* feat: edit routes - remove route

* feat: route - generate names

* feat: route - continue

* Refactor route merging logic for improved performance

* feat: routes - show name in tooltip

* feat: routes - create route dialog

* feat: update data on control point remove

* feat: routes editor - split route

* feat: add join route functionality to routes editor

* feat: Add join route functionality to routes editor

* feat: Update join route tooltip in routes editor

* feat: routes overview - sort by length

* feat: routes overview - fix distanceScale value

* feat: routes overview - create route

* Refactor getMiddlePoint function to getCloseToEdgePoint

* feat: routes - change data format, fix issues

* feat: routes - regenerateRoutes

* feat: routes - add route on burg creation

* chore - remove merge conflict markers

* chore - remove merge conflict markers

* feat: routes name - no unnamed burg names

* feat: routes - lock routes

* fix: routes - split routes

* feat: routes - tip correction

* feat: routes - auto-update part 1

* feat: routes - return old rePacj logic to not break auto-update

* feat: routes - auto-update - add connections

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2024-08-15 15:46:55 +02:00
Azgaar
c6dd331eb6 fix: zoomTo to use svg size and not graph size 2024-08-02 11:35:51 +02:00
Azgaar
b267e832b5 fix: support migration of v0.9 maps 2024-07-30 17:54:17 +02:00
Azgaar
00abd5213b fix: #1103 2024-07-27 14:32:42 +02:00
Azgaar
a5a638c439 feat: toggle off States Halo if rendering is optimized 2024-07-15 23:46:54 +02:00
Azgaar
df4d80bb86 chore: tiles - set default values 2024-07-13 16:51:08 +02:00
Azgaar
549c5ff58b fix: tiles - add more letters to label 2024-07-13 14:53:42 +02:00
Azgaar
e9ee6967ba
Сonfigurable longitude (#1095)
* feat: configurable longitude

* chore: update version

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2024-07-12 12:26:03 +02:00
Azgaar
6905c926d0 style: layers - add tips 2024-07-07 18:59:34 +02:00
Azgaar
fc7ef72628 feat: Update compass layer and rose element id for v1.98.00 2024-07-07 18:40:04 +02:00
Azgaar
e4f2de6472 feat: configure world - checkbox to auto-apply changes (v1.97.16) 2024-07-07 17:17:19 +02:00
Azgaar
4aeee9111e feat: about - add commercial usage notice 2024-06-29 12:07:32 +02:00
Azgaar
e1c7305f71 feat: Update military overview UI to use lowercase data attributes 2024-06-24 17:22:20 +02:00
Azgaar
8e5a06540c chore: supporters update 2024-06-21 17:34:50 +02:00
Azgaar
147d57640e feat: ability to rotate regiments 2024-06-16 00:15:49 +02:00
Azgaar
dd3599506f feat: zones editor - option to edit land only 2024-06-14 13:49:19 +02:00
Azgaar
d1c09935a9 fix: regenerate burgs - remove burg notes, keep locked notes 2024-06-14 13:09:43 +02:00
Azgaar
97ea5a5472 fix: cells ids can go over UINT16_MAX (v1.97.11) 2024-05-26 21:28:39 +02:00
Azgaar
1e3e2dfddd feat: elevation profile - add coordinates to export 2024-05-17 18:45:03 +02:00
Azgaar
31cb908f43 feat: self-host timymce 2024-05-16 22:26:17 +02:00
Azgaar
98a0f83560 feat: add map size to json export 2024-05-01 19:38:48 +02:00
Azgaar
e137ca1312 fix: regenerate burgs - don't regenerate tags for locked burgs 2024-04-27 13:41:53 +02:00
Ángel Montero Lamas
73e9d222ae
Nautical mile option in Units-Editor (#1059)
* Nautical mile option in Units-Editor

In Distance --> Distance Unit.

* adding nautical league

The distance 5.556 km = 1 league, is put on the nautical league and used the English land league 4.828 to differentiate both units.

* Update versioning.js

changed 1.97.02 to 1.97.03

* fix in versioning and index.html

* writing ver 1.97.03

in hopes of fixing the version conflict

* increasing ver 1.97.05 to fix

---------

Co-authored-by: Azgaar <maxganiev@yandex.com>
2024-03-26 22:52:17 +04:00
Azgaar
af927ed345 fix: check scheme before setting 2024-03-24 17:53:00 +01:00
Azgaar
7f587400ec feat: improve tiles export UX 2024-03-17 02:03:56 +01:00
Azgaar
72b6314d34 fix: adding a capital for neutrals 2024-03-16 13:10:49 +01:00
Azgaar
5803f44b99 fix: add new army 2024-03-15 01:04:46 +01:00
Azgaar
d6c3c46a5e
feat: generate watabou preview links for villages (#1056)
Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2024-03-14 13:56:12 +04:00
Azgaar
1385354adc fix: icons - use textContent insteod of innerHTML to avoid Google translate issues 2024-03-04 21:40:32 +01:00
Azgaar
73b39d217d fix: #1048 2024-03-04 21:04:25 +01:00
Azgaar
721cec4e58 feat: manually added culture inherits parent culture in Tree (1.96.05) 2024-03-04 20:17:53 +01:00
Azgaar
bf817ee8ed fix: #1052 2024-03-04 19:51:49 +01:00
Azgaar
5aa1d65a1b chore: remove link to formats.js 2024-03-04 19:23:33 +01:00
Azgaar
ec5e44b94a fix: #1051 2024-03-04 19:04:27 +01:00
Azgaar
14ac83e6f5 fix: uploadCulturesData 2024-02-28 00:16:07 +01:00
Azgaar
374c21b3d7
Ocean heightmap and Scale bar styling change [v1.96] (#1045)
* Scale bar styling (#1025)

* feat: style scale bar

* feat: style scale bar - style presets

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>

* Ocean heightmap to v1.96 (#1044)

* feat: allow to render ocean heightmap

* feat: allow to render ocean heightmap - test

* feat: allow to render ocean heightmap - fix issue

* feat: allow to render ocean heightmap - cleanup

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>

* fix: scale bar size

* fix: remove mask on terrs lavel

* fix: regenerate heigtmap preview to use current graph size

* Add the name of culture and namesbase in the name editor dialog (#1033)

* Add the name of culture and namesbase in the name editor dialog

Added the name of the culture and  namesbase in the dialog "name editor".
This tells information on the "click to generate a culture-specific name"
It tells you the culture before changing name.

* cultureName into cultureId + cultureName

And deleted the incomplete code of showing culture name on datatip

* refactor: leave culture name only

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>

* Added Burgs column to province editor (#1031)

* Added Burgs column to province editor

Added to province editor:
+ Burgs column
+ the number of Burgs, p.burgs.length
+ "icon-dot-circled" to go to overviewBurgs.
+ overviewBurgs Filtered by state id.
+ Fixed some typos.

* fixed code as Azgaar suggested

+ Corrected provincesHeader distance in em.
+ const stateId = pack.provinces[p].state;
- Deleted cell count.

* deleted HTML code for provincesFooter cells

- Deleted Total land cells number HTML from provincesFooter.

* deleting totalCells in the code, maybe i will add provinceCells in the future.

Deleted lines for const totalCells and for (+cells / totalCells) * 100 + "%";

* refactor: cleanup

* refactor: cleanup

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>

* fix: burgs overview - add MFCG link back

* feat: add more details to burgs export

* feat: don't show auto-update dialog

* feat: pump version

* fix: #1041

* feat: update style presets

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
Co-authored-by: Ángel Montero Lamas <angel.montero1@gmail.com>
2024-02-24 19:12:48 +04:00
Azgaar
845dc893d2 fix: #1026, remove mask-image on export 2023-12-10 16:52:47 +04:00
Azgaar
52e3088763 fix: cultures editor - don't overwrite border color on color change 2023-12-05 02:45:55 +04:00
Azgaar
c758e19e90 chore: polyfill Array.at for old browsers 2023-12-05 02:38:37 +04:00
Azgaar
9f348b70d6 fix: namesbase editor - sanitize base name on load 2023-12-05 02:31:38 +04:00
Azgaar
da5c0e9493 fix: #1024, regenerate burgs - ignore removed states 2023-12-05 02:24:36 +04:00
Azgaar
fec5f421ad chore: pump version to 1.95.00 2023-11-28 02:42:44 +04:00
Azgaar
24ecd1dbf7
Vignette layer (#1021)
* feat: vignette (non-editable yet)

* feat: vignette style control

* feat: vignette layer

* feat: vignette - save styles

* feat: vignette - style presets

* feat: vignette - style presets

* feat: vignette - style presets

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2023-11-28 02:26:55 +04:00