Commit graph

44 commits

Author SHA1 Message Date
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
721cec4e58 feat: manually added culture inherits parent culture in Tree (1.96.05) 2024-03-04 20:17:53 +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
eb81f0d708 fix(#932): priority queue to check correct attr 2023-04-15 14:09:06 +04:00
Azgaar
fb4d3a4019 fix(#932): expand cultures to get scoped cells data 2023-04-15 13:32:47 +04:00
Alexander James
47ef8d938b
Religions live update UX (#915)
* preparatory bugfixes

* restructure religion generator for extensibility

* Add culture-like update functions and UI

* Syntax / Typo

* PR Versioning

* Relig Editor UI: hide on brush, limit -> potential

* add / remove Culture creates / removes Folk religion

* Religions UX: stable abbr, Folk non-selectable type & not separately removed

* Folk religions follow cultures through regeneration; extinct religion centers draw, folk centers are immutable and do not

* style

* regenerate bugs fixing

* when cultures regenerate a different number

* ability to lock culture in a easy-defined set

fixes uncaught error in commit dada419 from PR #910

* what is locked folk?

* New Map ignores old locked things

* No auto-update of religion on culture regeneration

* typo

* Bugfixes

* Refactor toward modern style

* Prepare to lock - Further refactor

* Complete locked religions functionality

* Prepare for live updates

* Editors fixing + re-versioning

* Fix merge snafu

* Bugs, toungue-twisting

* indexing bugfix

* Manual Add prefers to create missing Folk

* Locked origin regen; deterministic expansion

* version update; fix add wild folk

---------

Co-authored-by: A C James <james.ander31@gmail.com>
Co-authored-by: Azgaar <maxganiev@yandex.ru>
2023-03-19 02:57:59 -07:00
Azgaar
d40cab2e28 fix: clean cultures on regeneration, v1.89.07 2023-02-19 18:11:07 +04:00
Azgaar
8288335514 fix: erase data before regeneration on heightmap erase mode to avoid lock state, v1.89.06 2023-02-19 14:05:36 +04:00
Azgaar
dada419f20
Add the ability to lock states, provinces, cultures, and religions: refactoring (#910)
* Add the ability to lock states, provinces, cultures, and religions (#902)

* Add the basis for locking everything, code and test the culture locking

* Got the religion generator working, but not the tree. There are cycles being generated

* Religions work now, including the tree view

* Got the states and provinces working as well, all good and ready

* Refresh the province editor when regenerating

* Implement the versioning steps

* Fix the state naming and color changing even when locked

* The fix did not work with loaded maps, fix that too

* Fix a few more bugs and address the PR feedback

* Fix the state expanding event when they're locked bug

* Implement some logic to ignore state being locked when regenerating provinces directly.

* refactor(#902): start with states regenertion

* refactor(#902): locked states cells to be assigned on start

* refactor(#902): lock state - keep label

* refactor(#902): lock provinces

* refactor(#902): regenerate states - update provinces

* refactor(#902): regenerate cultures

* refactor(#902): regenerate religions

Co-authored-by: Guillaume St-Pierre <gstpierre01@gmail.com>
Co-authored-by: Azgaar <maxganiev@yandex.com>
2023-01-08 03:38:52 -08:00
Azgaar
7945390b2c feat: pump version to 1.87.14, new cultures correction 2022-10-10 22:48:52 +03:00
Ángel Montero Lamas
5f99c94523
Suggesting Levantine as a new default namebase (#878)
* Suggesting Levantine as a new default namebase

Levantine namebase has 203 names of Phoenician, punic, hebrew and aramean origin. Names of places in real live.
the excerpt is:  {name: "Levantine", i: 42, min: 4, max: 12, d: "krs-pn", m: 0, b: "namebase"}

This will allow to better represent some cultures.
- Carthaginian culture should have levantine namebase instead of berber.
Or maybe make two carthaginian, one with levantine and one with berber. Another option is to add Numidian culture with berber base.
_ In the namebase there are included some names for carthage. Keret Chadeshet and Kart-Hadasht are names for Carthage.
- This will allow phoenician and punic culture in an antique set.
- This will allow hebrew, and other levantine. (Urushalim is a name for Jerusalem).

There are questions with the number: i: 42, and what happens with old maps that have custom languages added in that spot.

* updated levantine namebase

Deleted the '-'. Reordered repeated letters.

* Added levantine cultures

Added Hebrew culture into: European set and all-world set.

Changed namebase of Carthaginian in Antique set from Berber (17) to Levantine (42) as per the conversation on discord thread FMG suggestions > Punic culture set.
This leaves the antique set with no native speaker of berber. If you want to have a culture that represent north-african people and berber different than carthage, we can add one.

Included Phoenician as a distinct culture with similar culture center formula than carthage "sort: i => n(i) / td(i, 20) / sf(i)" but with td(i, 20) because is the temperature of beirut and gives a difference with carthaginian.

Hebrew is included with " n(i) / td(i, 18) * sf(i) " because hebrew are pastoralists, and to differentiate the culture center from the phoenician that are near sea harbor.
2022-10-10 12:38:33 -07:00
Azgaar
f4ef859af8 feat: multi-parental tree 2022-06-05 01:27:58 +03:00
Azgaar
1573fad58d annotate template strings for syntax hightlight and format 2022-05-08 19:22:15 +03:00
Azgaar
bdc0c9f8ee minmax util function 2021-10-10 17:59:27 +03:00
Azgaar
460bb29e49 replace old iife by a simpler ones 2021-08-04 23:49:02 +03:00
Azgaar
38c8a20c45 fixed #619 2021-04-10 14:33:59 +03:00
Azgaar
31e0ed7c94 v1.5.7 - cultures selection loop fix 2021-02-26 22:30:53 +03:00
Azgaar
9a20a3e4c6 v1.5.65 - allow to hide certain Emblems 2021-02-26 18:13:04 +03:00
Azgaar
305d355ad5
Merge branch 'master' into alpha 2021-02-23 22:38:44 +03:00
Azgaar
bfc881bda9 v1.5.49 - select emblem shape on culture level 2021-02-21 15:55:52 +03:00
Azgaar
380e0babb2 v1.5.33 - emblem shape change takes immediate effect 2021-02-14 23:14:23 +03:00
Azgaar
71ca7a1166 v1.5.276 - libs minification 2021-02-14 16:49:35 +03:00
Azgaar
a5b2f23cee v1.5.12 - emblems adding, save/load 2021-02-09 00:02:21 +03:00
Azgaar
549eefe7ba v1.5.04 - Emblems layer and on map placement 2021-02-04 15:56:28 +03:00
Azgaar
968182512c v1.5.03 - Cultures small rework 2021-02-04 15:56:27 +03:00
Azgaar
b86d985607 v1.5.01 - COA gen integration, first try, embed 2021-02-04 15:56:27 +03:00
Bryce Kabat
122c456588 Added Logging Options to Improve Performance (#529)
* Added Logging Options to Improve Performance

* Requested Changes

Co-authored-by: Onyx Azryn <brycekabat@onyxazryn.com>
2021-02-04 15:56:27 +03:00
Evolvedexperiment
60a26a8ab5 Added cell info to elevation profile and corrected some spelling 2021-02-04 15:56:26 +03:00
Bryce Kabat
f4efedcf9d
Added Logging Options to Improve Performance (#529)
* Added Logging Options to Improve Performance

* Requested Changes

Co-authored-by: Onyx Azryn <brycekabat@onyxazryn.com>
2020-10-22 01:32:57 +03:00
Evolvedexperiment
044ea1d345 Added cell info to elevation profile and corrected some spelling 2020-06-26 19:08:54 +00:00
Azgaar
8a6108e203 v1.22.33 2019-12-29 19:24:10 +03:00
Azgaar
904951d6c0 1.22.32 2019-12-23 21:28:40 +03:00
Azgaar
bc6b8cdafe v1.22.31 2019-12-23 20:06:43 +03:00
Azgaar
6fa693b562 v1.22.12 2019-11-17 17:52:39 +03:00
Azgaar
c27d3e1689 1.1.20 2019-10-17 21:13:43 +03:00
Azgaar
aadae58072 1.1.14 2019-10-16 23:25:48 +03:00
Azgaar
76a5ade3d0 v1.1.12 2019-10-03 23:17:17 +03:00
Azgaar
5eb24252e1 1.0.41 2019-09-18 21:30:48 +03:00
Azgaar
57c1e17c88 1.0.18 2019-09-10 20:58:13 +03:00
Azgaar
cab429a346 v1.0 2019-08-31 12:16:36 +03:00
Azgaar
83585c3081 v 0.8.31b 2019-06-05 20:23:06 +03:00
Azgaar
e4df2842af v 0.8.06b 2019-04-26 17:23:25 +03:00
Azgaar
6cb21bbead v 0.8.05b 2019-04-25 21:47:08 +03:00
Azgaar
680044ddd6 v 0.8.0b 2019-04-21 21:55:13 +03:00