Commit graph

186 commits

Author SHA1 Message Date
Azgaar
98a0f83560 feat: add map size to json export 2024-05-01 19:38:48 +02:00
Azgaar
7f587400ec feat: improve tiles export UX 2024-03-17 02:03:56 +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
433152db06 fix: move scaleBar to the corner of svg export 2023-11-19 20:10:42 +04:00
Azgaar
20b09e8634 feat: fitMapToScreen on canvas site restoring 2023-11-19 17:12:09 +04:00
Azgaar
54721f2100 chore: clean up 2023-11-19 17:08:10 +04:00
Azgaar
a1f70afd57
Fit map to screen size (#1018)
* feat: fit map to screen size

* chore: pump version

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2023-11-19 17:03:48 +04:00
Azgaar
ada39b47ad
Fix: rework texture data format (#1017)
* fix: rework texture save format

* refactor: move textures to a local folder

* fix: export texture

* fix: don't export empty texture

* chore: pump version

* fix: rescale water mask on screen size change

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2023-11-19 14:43:56 +04:00
Azgaar
958a2c6ef8
Custom heightmap color scheme (#1013)
* feat: custom heightmap color scheme

* feat: custom heightmap color scheme - add shceme on load

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2023-11-18 16:34:41 +04:00
Azgaar
9ad08c80c6 feat: improve 3d view 2023-11-11 22:40:48 +04:00
Azgaar
98c971b3c4 chore: supporters update 2023-11-07 13:49:39 +04:00
Azgaar
8101e75f3d hotfix: define color scheme on heightmap edit 2023-11-06 00:04:53 +04:00
Azgaar
e654dbb8a5 feat: add style preset, add heighmap color schemes 2023-11-05 16:48:26 +04:00
Azgaar
b2241b1cd3 feat: supporters update 2023-09-12 02:22:38 +04:00
Azgaar
e346c4bd84 feat: add all grid data to JSON export 2023-09-12 02:19:07 +04:00
Azgaar
8feda7c15d chore: supporters update 2023-08-23 01:32:28 +04:00
Azgaar
168656c864 fix: #987, #988 2023-08-16 11:56:36 +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
1d921c18af fix: (v1.91.00) 2023-08-08 15:25:28 +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
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
b13d72e639 feat(1.89.19): google translate support 2023-05-14 17:37:32 +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
12fad8fd8f feat(religions): editor UX update and cleanup, increase religions number to generate 2023-03-21 22:41:50 +04:00
Azgaar
efb5ad8091 chore: supported update 2023-03-17 12:31:27 +04:00
Azgaar
e701b7d2c4 feat: set optimizeSpeed as a default option 2023-03-08 21:08:52 +04:00
Azgaar
425325888e fix: regenerate grid if seed is manually changed (1.88.02) 2022-12-10 19:29:37 +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
Leo
409681d89d
Fix: min zoom extent is allowed to be negative. (#860)
* Fix: min zoom extent is allowed to be negative.
Min and Max Zoom fields are now bound by 0.01 and 200

* Fixed comparison

* Version bump

* Hash set in index.html
2022-08-25 09:16:02 -07:00
Azgaar
c1ee0b3094 Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator into charts-overview 2022-06-23 23:29:43 +03:00
Azgaar
03b556ae86 feat(charts): pump version to 1.87.00 2022-06-23 23:11:57 +03:00
Azgaar
0bf1a2bda7 maintenance: update supporters 2022-06-19 13:52:37 +03:00
Azgaar
1142be65c6 fix(#781): add vertices data to full json export 2022-06-04 23:12:31 +03:00
Azgaar
44e98d853f feat: change load from cloud format and order 2022-06-04 20:10:23 +03:00
Azgaar
6737501c5d chore: supporters update 2022-06-01 23:08:56 +03:00
Azgaar
d5f202ba47 version info and hash update 2022-05-30 00:37:03 +03:00
Azgaar
c9fd598c9c heightmapSelect - make default select element non-clickable 2022-05-29 02:05:42 +03:00
Azgaar
5a6b5b4c95 central store for heightmap configs 2022-05-29 01:03:21 +03:00
Azgaar
6766de46ef generation flow for heightmap select 2022-05-26 00:19:32 +03:00
Azgaar
ff31e23a27 heightmap - fix issues 2022-05-24 23:27:06 +03:00
Azgaar
c394534246 base dialog 2022-05-23 23:52:39 +03:00
Azgaar
8cb556262b update supporters 2022-05-23 20:20:59 +03:00
Azgaar
242cf32202 supporters update + dynamic load 2022-05-14 00:19:30 +03:00
Azgaar
aab27ca673 slightly optimize onZoom 2022-05-12 23:54:19 +03:00
Azgaar
1573fad58d annotate template strings for syntax hightlight and format 2022-05-08 19:22:15 +03:00
Azgaar
cea549ed97 supporters update 2022-05-01 21:44:08 +03: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
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