Commit graph

853 commits

Author SHA1 Message Date
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
Azgaar
5ec59da7b7 fix: don't redraw removed scaleBar 2023-11-21 04:39:54 +04:00
Azgaar
433152db06 fix: move scaleBar to the corner of svg export 2023-11-19 20:10:42 +04:00
Azgaar
20b09e8634 feat: fitMapToScreen on canvas site restoring 2023-11-19 17:12:09 +04:00
Azgaar
54721f2100 chore: clean up 2023-11-19 17:08:10 +04:00
Azgaar
a1f70afd57
Fit map to screen size (#1018)
* feat: fit map to screen size

* chore: pump version

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2023-11-19 17:03:48 +04:00
Azgaar
ada39b47ad
Fix: rework texture data format (#1017)
* fix: rework texture save format

* refactor: move textures to a local folder

* fix: export texture

* fix: don't export empty texture

* chore: pump version

* fix: rescale water mask on screen size change

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2023-11-19 14:43:56 +04:00
Azgaar
958a2c6ef8
Custom heightmap color scheme (#1013)
* feat: custom heightmap color scheme

* feat: custom heightmap color scheme - add shceme on load

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2023-11-18 16:34:41 +04:00
Azgaar
9ad08c80c6 feat: improve 3d view 2023-11-11 22:40:48 +04:00
Azgaar
2fd58e9d35 feat: click on burgs count to open the overview screen 2023-11-11 21:05:59 +04:00
Azgaar
9332eb7b38 fix: notes to update on deletion 2023-11-11 18:02:53 +04:00
Azgaar
98c971b3c4 chore: supporters update 2023-11-07 13:49:39 +04:00
Azgaar
8101e75f3d hotfix: define color scheme on heightmap edit 2023-11-06 00:04:53 +04:00
Azgaar
e654dbb8a5 feat: add style preset, add heighmap color schemes 2023-11-05 16:48:26 +04:00
Azgaar
da06dba872 feat: add link to Chinese localization 2023-10-18 13:34:19 +04:00
Azgaar
fbe5f4ad55 feat: random encounters 2023-09-24 00:45:09 +04:00
Azgaar
b2241b1cd3 feat: supporters update 2023-09-12 02:22:38 +04:00
Azgaar
e346c4bd84 feat: add all grid data to JSON export 2023-09-12 02:19:07 +04:00
Azgaar
8feda7c15d chore: supporters update 2023-08-23 01:32:28 +04:00
Azgaar
168656c864 fix: #987, #988 2023-08-16 11:56:36 +04:00
Azgaar
2e0a74f34d feat: add reference to Armoria and Deorum 2023-08-15 17:36:25 +04:00
Azgaar
26f48a48fd
Compress save file (#986)
* Adding gzip compression for improving storage use and backward compatibility. (#984)

* Basic gzip an gunzip on load and save.

* refactor file save type to .gz and update the data in ui.

---------

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

* refactor: cleanup, change wording

* feat: streamline saving options

* fix: fixes

---------

Co-authored-by: Efruz Yıldırır <30903352+yldrefruz@users.noreply.github.com>
2023-08-15 16:50:28 +04:00
Azgaar
87599d1530
State labels: new label placing algorithm (#977)
* feat: draw state labels start

* feat: update old .map files

* chore: update version hash

* fear: add change to the user's changelog
2023-08-11 18:56:42 +04:00
Azgaar
1bb90251cd feat: move biomes code to a separate module, reduce deserts amount 2023-08-11 14:31:08 +04:00
Azgaar
f7cb157cf3 fix: textureImage is not defined 2023-08-08 17:07:10 +04:00
Azgaar
1d921c18af fix: (v1.91.00) 2023-08-08 15:25:28 +04:00