Commit graph

105 commits

Author SHA1 Message Date
Efruz Yıldırır
3d8aa7c3ca
3D Scene system upgrade. (#956)
* 3d view system upgrade.

* version fix

* Versioning fixed.

* Subdivision Added

* Subdivision added. Removed toggle wireframe as an option.
Reverted to previous rendering method.

* Update obj export because new threejs version.

* Clean up of unrequired code.

* Multiple fixes to 3D view upgrade PR.

* Remove unused code.(for3DRender)
2023-08-05 22:54:13 +04:00
Azgaar
c398bc64d6 refactor(markers): cleanup 2023-08-05 13:38:30 +04:00
Elad Bernard Haviv
e542574324
Added randomly generated marker placement (#966)
* Add option to generate and place marker of type

* remove unecessary console.log

* versioning

* Update versioning.js

* Update index.html

* removed redundant functions and changed addMarker functionality

* changed marker type selection behavior

* fixed button toggling

* changed type selection to button + dropdown menu

* versioning
2023-08-05 13:32:28 +04:00
Azgaar
bd01090c3c chore: version update 2023-08-01 20:41:57 +04:00
Azgaar
262c7a177c fix: religions name generation 2023-07-29 00:34:37 +04:00
Azgaar
0c16b1eaf3 fix: getDefaultConfig for markets by default 2023-07-20 19:08:18 +04:00
Azgaar
9f73cc66fa fix: make it clear if version global variable is not loaded 2023-07-16 13:30:12 +04:00
Azgaar
290b6b38eb refactor: indexedDB 2023-07-08 23:32:39 +04:00
Azgaar
4a5d2c0378 hotfix: auto-load to be ignore if no data 2023-07-08 22:46:43 +04:00
Azgaar
4a6ac9a7e7 fix: autosave v1.89.30 2023-07-08 21:56:50 +04:00
Azgaar
d75ac3c99d feat: autosave v1.89.29 2023-07-08 21:46:33 +04:00
ZZWILLIAMXX
69e630b886
Religion Generator Expanded (#955)
* Religion Generator Expanded

Adds some cool new options in Religion's Generator

* feat: small corrections

* chore: update version

---------

Co-authored-by: Azgaar <maxganiev@yandex.com>
2023-07-06 22:42:07 +04:00
Azgaar
3f25484367 fix: states regeneration when some states are locked 2023-06-23 11:58:56 +04:00
Azgaar
04b6d479b2 fix: namesbase error 2023-06-19 11:24:08 +04:00
Azgaar
7f9da4f06f fix: uploaded namesbase to filter restricted chars 2023-06-18 16:42:54 +04:00
Azgaar
c74d38ea2f feat: download chart data in csv 2023-05-28 14:55:26 +04:00
Azgaar
0b04efc90f feat: new markers types 2023-05-22 03:00:31 +04:00
Azgaar
aad1300338 fix(#944): uploaded svg emblems can conflict with fmg ids 2023-05-21 15:15:03 +04:00
Azgaar
41bd157165 feat(#942): coord data for burgs, markers and regiments csv 2023-05-15 01:00:25 +04:00
Azgaar
b13d72e639 feat(1.89.19): google translate support 2023-05-14 17:37:32 +04:00
Azgaar
e2af899792 refactor(1.89.18): cleanup fonts usage 2023-05-13 15:55:08 +04:00
Azgaar
44b486c101 fix(#943): don't convert ocean pattern image to base64 if pattern is toggled off 2023-05-12 22:22:26 +04:00
Azgaar
50a9411882 feat: add xy to markers geojson export 2023-05-10 04:17:04 +04:00
Alexander James
87e1a1cee6
Prevent generating cyclical heirarchy (#930)
* Prevent generating cyclical heirarchy

* Update versioning.js

* update version hash
2023-03-26 08:18:25 -07:00
Azgaar
38f2e1fb7b feat: inform users if canvas size is too big 2023-03-26 15:05:19 +04:00
Azgaar
d48f9b3cab fix(add river): get id as the biggest id + 1, not the last id + 1 2023-03-26 14:24:46 +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
863ee259e3 style: add Pale style 2023-03-08 23:31:51 +04:00
Azgaar
e701b7d2c4 feat: set optimizeSpeed as a default option 2023-03-08 21:08:52 +04:00
Azgaar
e0ea578032 style(cultures editor): move regenerate burg names button closer to namesbase 2023-03-05 14:54:23 +04:00
Azgaar
f018256f7a fix(#906): ice to follow expected size, reduce ice elements in general 2023-02-25 16:01:22 +04: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
eb5d924cbd fix: state expansion to reset on re-generation 2023-02-05 00:49:05 +04:00
Azgaar
7d500b1598 feat: routes - increase space between contol points 2023-01-23 00:17:00 +04:00
Azgaar
16e0aef2fb fix: notes editor shows up halfway off the screen 2023-01-23 00:11:20 +04:00
Azgaar
660316e4bf fix: culture data change must not ignore lock status 2023-01-22 22:37:18 +04:00
Azgaar
9064ffb388 fix: define religions array even if religions count is 0, v1.89.01 2023-01-13 01:53:23 +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
Azgaar
3883933385 fix(#905): make sure burg0 is not getting locked [v.1.88.05] 2022-12-15 15:43:40 +03:00
Azgaar
ce07c20fff feat(#891): edit diplomatic relations in bulk 2022-12-11 01:37:30 +03:00
Azgaar
f20029eac5 feat(#901): ability to lock seed in templates editor 2022-12-10 19:55:23 +03:00
Azgaar
425325888e fix: regenerate grid if seed is manually changed (1.88.02) 2022-12-10 19:29:37 +03:00
Azgaar
0b1a2048a7 fix: add integrity check if burg is linked to removed state (1.88.01) 2022-12-04 14:51:27 +03:00
Azgaar
4a96c24cf3 feat: heightmap brushes - linear edit option (1.88.00) 2022-10-31 00:24:54 +03:00
Azgaar
d3ea2df1a2 feat: optimizeSpeed rendering (1.87.15) 2022-10-13 00:52:49 +03:00
Azgaar
7945390b2c feat: pump version to 1.87.14, new cultures correction 2022-10-10 22:48:52 +03:00
Azgaar
1e4fba3615 fix: religions reference 2022-09-25 22:33:14 +03:00
Azgaar
c9400db3b1 refactor: markers to use helper function, version pump to 1.87.12 2022-09-25 14:34:40 +03:00