Commit graph

860 commits

Author SHA1 Message Date
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
Azgaar
166399cdea fix: restore layers after heightmap edit 2023-08-08 13:39:39 +04:00
Azgaar
8817813de3 fix: #974 2023-08-08 01:39:52 +04:00
Azgaar
c72c998eaf bug: style to have texture info 2023-08-08 01:34:36 +04:00
Azgaar
b3e2aa00e7
Independent North and South Poles temperature (#972)
* Poles to have Different Temperature (Ref: Axial Tilt suggestion) (#964)

* Initial Idea

* Changed Names:
Currently still only on NorthTemperature reliant, compadible version

* Restored Generation of Temperature

* Temperature Function found

* Version Bump

* Scuffed Saving solution

* Current Version(without the save changes)

* Globe Temperature Display

* Individual Regeneration of Temperatures

* Fixed Loading and Saving
New Maps save a Dummy 0 at settings[17]

* Final Version Bump
(currently no description for the Update)

---------

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

* chore: formatting

* refactor: temperature inputs

* feat: rework temperature generation alg

* style: respore winds button

* refactor: update options on load, don't update temperature UI

* refactor: no need to keep compatibility here

* fix: load temp setting from .map file

---------

Co-authored-by: Leo <leonard.krusch@gmx.de>
2023-08-06 22:59:33 +04:00
Azgaar
09efbf0c3e refactor: cleaup, format file 2023-08-06 13:08:34 +04:00
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
3f8ee8d740
Merge states (#962)
* feat: merge states

* chore: update version
2023-07-23 14:25:41 +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
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
37ffd8f7f7 fix(#934): description typo 2023-04-23 14:39:04 +04: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
Azgaar
12fad8fd8f feat(religions): editor UX update and cleanup, increase religions number to generate 2023-03-21 22:41:50 +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
efb5ad8091 chore: supported update 2023-03-17 12:31:27 +04: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
8a1122e668 fix: remove label path of regeneration 2023-01-22 14:18:59 +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
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
75ae52e953 fix: 3d view - don't allow download obj for globe 2022-09-17 14:58:00 +03:00