Commit graph

24 commits

Author SHA1 Message Date
Azgaar
4814bce58d refactor(es modules): modulize utils 2022-06-26 22:07:32 +03:00
Azgaar
12e1c9f334 refactor(es modules): modulize utils 2022-06-26 19:20:31 +03:00
Azgaar
ad252b54e6 refactor(es modules): migrate numberUtils 2022-06-26 02:11:36 +03:00
Azgaar
922c6e2431 refactor(es modules): continue migration 2022-06-26 00:57:53 +03:00
Azgaar
030caec6e8 refactor(es modules): continue migration 2022-06-25 17:59:03 +03:00
Azgaar
bc65e0e207 refactor: start files migration nightmare 2022-06-25 00:47:48 +03:00
Azgaar
8a9a29a9d3 refactor dialogs to be mobile-friendly 2022-05-28 01:47:25 +03:00
Gergely Mészáros, Ph.D
16f6557e69
Merge pull request #812 from goteguru/dev-submap-live-preview
Submap live preview
2022-05-19 00:05:01 +02:00
GoteGuru
77ae7f5bcd Improve readability. Remove labels from preview. 2022-05-18 23:52:21 +02:00
GoteGuru
06fe93f6fd rename resample button to Transform 2022-05-18 23:40:04 +02:00
GoteGuru
5c81170c42 rename resample to transform 2022-05-18 23:34:47 +02:00
GoteGuru
ae4e62a154 FIX: destroyed population on resample 2022-05-18 14:02:29 +02:00
GoteGuru
0d71f10f05 Submap live preview. 2022-05-18 13:17:18 +02:00
Mészáros Gergely
6566adaeb6 Scaling option for resample 2022-05-17 01:50:38 +02:00
Azgaar
02e0669282 Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator 2022-05-08 19:22:19 +03:00
Azgaar
1573fad58d annotate template strings for syntax hightlight and format 2022-05-08 19:22:15 +03:00
Mészáros Gergely
bd21aa6d8e FIX: keep original burg population after submapping 2022-05-07 18:00:12 +02:00
Azgaar
e6dfab48c2
V1.8 (#784)
* pump version to 1.8

* resampleDialog UI update

* don't draw markers if not required

* submapOptionsDialog style changes
2022-04-26 22:48:17 +03:00
Mészáros Gergely
0c9d735f37 FIX: notes are not copied. 2022-04-21 15:11:32 +02:00
Gergely Mészáros, Ph.D
e9b4a7b03a
Resample transformations (#782)
* Rescale style option for submaps.

* namespace for submap ui.

* Keep visual change for towns

* rotation and shift for resample

* Shift first - rotate later

* submap mirror transformation, applicative style

Co-authored-by: Mészáros Gergely <monk@geotronic.hu>
2022-04-20 22:43:13 +03:00
Gergely Mészáros, Ph.D
3cd30206b7
Dev submaps update (#780)
* Rescale style option for submaps.

* namespace for submap ui.

* Keep visual change for towns

Co-authored-by: Mészáros Gergely <monk@geotronic.hu>
2022-04-19 14:35:37 +03:00
Gergely Mészáros, Ph.D
0a406686f1
Redraw emblems after resample & remove aspect change. (#773)
* Redraw emblems after resample.

* Remove aspect change feature on submaps to support more useful crop operation.

Co-authored-by: Mészáros Gergely <monk@geotronic.hu>
2022-04-18 22:41:02 +03:00
Azgaar
ae0979fc68 prettify 2022-04-15 14:47:56 +05:00
Gergely Mészáros, Ph.D
5703e62177
Dev submaps (#770)
* bioms shouldn't be masked or the style selection box is useless

* fix: misleading comment

* experimental submapping feature

* burg remapping

* Submap with options

* Fix: calculating absolute flux from precipitation normal-value.

* effective distanceScale

* updated resampler

* fix: missing cell

* Fix: River automatic rerender on regeneration.

* FIX: wrong culture migration

* fixed 0 index burg bug, more accurate coast detection for burgs

* FIX: wrong burg cell id

* fix invalid feature number at burg.ports, option to disable regenerations

* Relocate submap

* update height model and scale parameters

* new menu

* Dropbox OAuth implementation and Cloud framework

* add some space

* removing uneccesary logs, defer script load

* map position on planet, fix wrong riverbed generation

* fix:riverbed generation

* better cell sampler

* Auto-Smoothing,dist fix

* FIX: incorrect province copy and minor fix of rebels

* Cleanup

* FIX: water detection bug

* Recompute centers (states, cultures, provinces)

* activating forwardmap

* FIX: port burg relocation algo

* FIX: coast detection (for burgs)

* Fix: invalid html id

* add dot

* update for FMG 1.73

* Update submap gui

* refactored submap ui options

* Copy all visible military units from the old map.

* add info text

* Add Markers.deleteMarker API.

* Lock markers and lock burgs options

* better comment

* submapper gui updates, remove feature mapping on/off

* Fix typo (thx evolvedexperiment)

* fix ugly GUI (2 digit roundoff)

* resample dialog

* Town Promotion to largetown

* don't promote to capitals.

* Fix typo

* round style settings

* do not draw removed burgs

* Fix port cell search algo

* Fix: robust error handling, no error for 0.

* submap: projection moved to options, fix double burg error

* complete rewrite of burg relocation

* findcell by coordinates

* prepare to merge, add comments, remove fluff

* replacing lodash with deepCopy implementation

Co-authored-by: Mészáros Gergely <monk@geotronic.hu>
2022-04-15 12:45:02 +03:00