Commit graph

40 commits

Author SHA1 Message Date
Azgaar
12fad8fd8f feat(religions): editor UX update and cleanup, increase religions number to generate 2023-03-21 22:41:50 +04:00
Azgaar
218887b435 feat(religions editor): debouce center dragging 2023-03-19 15:46:53 +04:00
Azgaar
3ce0481a49 feat(religions editor): enhance UI paddings 2023-03-19 14:39:48 +04:00
Azgaar
13e247ed9c feat(religions editor): sync religion center circle style with culture one 2023-03-19 14:09:38 +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
e0ea578032 style(cultures editor): move regenerate burg names button closer to namesbase 2023-03-05 14:54:23 +04:00
Azgaar
d40cab2e28 fix: clean cultures on regeneration, v1.89.07 2023-02-19 18:11:07 +04:00
Azgaar
eb5d924cbd fix: state expansion to reset on re-generation 2023-02-05 00:49:05 +04:00
Azgaar
660316e4bf fix: culture data change must not ignore lock status 2023-01-22 22:37:18 +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
4ab0311d01 fix: hierarchy-tree - make sure nodes have parents not removed 2023-01-02 16:21:13 +03:00
Schizoid Nightmares
bfba711d8b
Reducing the size of the culture center circle (#855)
* Reducing the size of the culture center circle

This makes it easier to place the center more precisely and to see what cell it is in.

* Increasing the size of the cultural centers
2022-08-17 00:15:18 -07:00
Azgaar
a617dda3ad fix: cultures upload 2022-06-28 22:11:32 +03:00
Azgaar
6cd2419f10 feat(charts): remove on dialog close 2022-06-24 15:51:10 +03:00
Azgaar
03b556ae86 feat(charts): pump version to 1.87.00 2022-06-23 23:11:57 +03:00
Azgaar
434907fa9e feat(hierarchy tree): animate on update 2022-06-12 22:21:34 +03:00
Azgaar
6e5e570c90 feature(hierarchy tree): dynamically load, control dialog 2022-06-12 00:22:39 +03:00
Azgaar
b9a578e0be style(hierarchy tree): buttons style 2022-06-09 23:47:39 +03:00
Azgaar
127eafb656 feat(hierarchy tree): UI buttons to remove origin, zoom 2022-06-09 00:21:02 +03:00
Azgaar
182c6d558d fix: religions and cultures are not highlightable from editor 2022-06-08 21:12:31 +03:00
Azgaar
9215a01548 fix: religion editor toggles culture layer on 2022-06-08 11:53:30 +03:00
Azgaar
2c592a062d refactor: religion editor 2022-06-06 22:32:34 +03:00
Azgaar
221079321f refactor: load religions editor dynamically 2022-06-06 02:09:38 +03:00
Azgaar
b416551fb5 fix: add origin to religion and cultures csv download 2022-06-05 23:00:57 +03:00
Azgaar
ff1d3566c4 feat: multi-parental tree for religions 2022-06-05 18:26:28 +03:00
Azgaar
23ff50bd76 feat: multi-parental tree controls 2022-06-05 14:40:10 +03:00
Azgaar
f4ef859af8 feat: multi-parental tree 2022-06-05 01:27:58 +03:00
Azgaar
c2640bcada tooltip - get shortcut from its own attribute 2022-05-28 22:27:29 +03:00
Azgaar
8a9a29a9d3 refactor dialogs to be mobile-friendly 2022-05-28 01:47:25 +03:00
Azgaar
c394534246 base dialog 2022-05-23 23:52:39 +03:00
Azgaar
b39d7edc7e updata cultures-editor 2022-05-20 23:30:34 +03:00
Azgaar
f7219f6314 sorting is done above 2022-05-20 23:05:25 +03:00
Azgaar
5d919116dc remove most shortcuts 2022-05-20 23:00:03 +03:00
Azgaar
77430e2dbe Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator into shortcuts 2022-05-20 22:57:14 +03:00
Azgaar
2d8c5355bb load dynamically cultures editor 2022-05-19 00:19:24 +03:00
Azgaar
378d40de5b refactor states-editor 2022-05-17 22:40:02 +03:00
Azgaar
fc62143eae add functional shorthands 2022-05-17 22:34:14 +03:00
Azgaar
c405d0ee6f add more space to states editor 2022-05-15 17:21:30 +03:00
Azgaar
d488b68226 add listeners to sort by headers 2022-05-15 16:08:25 +03:00
Azgaar
4fcd62bb99 states-editor - dynamic module 2022-05-15 16:03:47 +03:00