Commit graph

828 commits

Author SHA1 Message Date
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
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
Azgaar
eb29c5ec5d
Zones generator update (#1113)
* feat: style - store emblem size mod in style (v1.99.10)

* fix the isOutdated function for versions past 1.99

* fix: showUploadMessage function not called correctly for isUpdated case

* feat: load - improve version detection

* feat: improve version detection and update process

* feat: Update version and use constant for VERSION in multiple files

* Update versioning.js to fix incorrect message display for stored version

* feat: zones editor - update to work with pack data

* feat: zones editor - update editor

* feat: zones editor - update editor

* chore: update version

* feat: zones - regenerate

* feat: zones - render zones as continuius line

* feat: zones - editot changes

* feat: zones - auto-update

* feat: zones - generation fixes

* feat: zones - generation fixes

* feat: zones - restore layer

* feat: zones - proselytism - check population

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2024-09-01 12:48:39 +02:00
Azgaar
e77202a08a feat: remove ALT horkeys as unused 2024-08-29 12:14:49 +02:00
Azgaar
33fbfc2e48 feat: style - allow clip setting for prec and population layers 2024-08-26 19:21:15 +02:00
Azgaar
f129ff5573 feat: style - store emblem size mod in style (v1.99.10) 2024-08-26 02:12:30 +02:00
Azgaar
634ad6cd8e feat: ai-generation - stream results 2024-08-25 15:21:45 +02:00
Azgaar
63496a651f fix: style update - get value from event 2024-08-24 01:12:48 +02:00
Azgaar
efbab14d11 Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator 2024-08-23 18:26:30 +02:00
Azgaar
b54f758350 fix: routes - don't render route with <2 points 2024-08-23 18:26:12 +02:00
Azgaar
6df54d1ef6
AI generation for notes (#1112)
* feat: ai generation for notes

* feat - ai generation -default to gpt-4o-mini

* feat - ai generation - change update text

* feat - ai generation - improve prompt

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2024-08-23 18:08:50 +02:00
Azgaar
1f280133be fix: recreateStates 2024-08-23 12:43:15 +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
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
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
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
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
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
d0454a56fe feat: self-host timymce - add license 2024-05-17 12:18:15 +02:00
Azgaar
64cc282046 feat: self-host timymce 2024-05-17 11:37:01 +02:00
Azgaar
bbbf6835c7 feat: self-host timymce 2024-05-17 11:23:29 +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
Ruichka
36fba3329c
Fix regiments getting bugged when merging states (#1067)
* Fix military bug when merging states

* Update versioning to 1.97.06
2024-04-21 14:16:55 +04: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
7f587400ec feat: improve tiles export UX 2024-03-17 02:03:56 +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
ec5e44b94a fix: #1051 2024-03-04 19:04:27 +01:00
Azgaar
09f835c210 fix: elevation profile color scheme 2024-03-01 11:46:07 +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
52e3088763 fix: cultures editor - don't overwrite border color on color change 2023-12-05 02:45:55 +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
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