Commit graph

48 commits

Author SHA1 Message Date
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
5fba7d60f4 fix: check if coa is defined on auto-update 2023-08-15 12:02:39 +04:00
Azgaar
1da3f9d3ad fix: re-add textureImage if it has no id 2023-08-14 15:24:59 +04:00
Azgaar
20c46e181a fix: check for selection size 2023-08-14 14:39:11 +04:00
Azgaar
454fc9ca3e fix: remove texture hiding style 2023-08-11 19:09:00 +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
71cc739b4d fix: don't take outdated values from .map file on load 2023-08-09 18:18:29 +04:00
Azgaar
b0887b14d6 fix: border layer on/off detection on load 2023-08-08 17:20:08 +04:00
Azgaar
1d921c18af fix: (v1.91.00) 2023-08-08 15:25:28 +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
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
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
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
Azgaar
3883933385 fix(#905): make sure burg0 is not getting locked [v.1.88.05] 2022-12-15 15:43:40 +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
3064961c59 fix(#845): emblem shield - remove incorrect data 2022-07-01 21:00:00 +03:00
Azgaar
6e95ee1be8 fix: remove corrupted burg of load 2022-06-25 14:46:26 +03:00
Azgaar
4f4729c866 fix: bypass issue if burg has no states assigned 2022-06-12 15:45:07 +03:00
Azgaar
21390cf966 chore: update hash for cahnged files 2022-06-06 22:47:01 +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
ac063d4f07 perf: load jszip dynamically 2022-06-04 00:42:16 +03:00
Azgaar
bc5a981ad1 hotfix: loaded map are not editable 2022-06-01 02:08:47 +03:00
Azgaar
d5f202ba47 version info and hash update 2022-05-30 00:37:03 +03:00
Azgaar
662163176b heightmap selection - refactor, make generation immutable to get predictable result 2022-05-29 22:11:32 +03:00
Azgaar
8a9a29a9d3 refactor dialogs to be mobile-friendly 2022-05-28 01:47:25 +03:00
Azgaar
6cc4c01bad dropbox - load script from local 2022-05-20 00:07:13 +03:00
GoteGuru
70e7adb5d0 fix formatting 2022-05-18 23:01:48 +02:00
GoteGuru
0d71f10f05 Submap live preview. 2022-05-18 13:17:18 +02:00
Azgaar
068cf7957e pump version to 1.82.0 2022-05-15 18:36:11 +03:00
Azgaar
c87c12295b load exclusion for 1.811 - hotfix 2022-05-14 21:43:25 +03:00
Azgaar
4a2a2ad967 load exclusion for 1.811 - hotfix 2022-05-14 21:38:11 +03:00
Azgaar
e9ae71af59 load exclusion for 1.811 2022-05-14 21:32:29 +03:00
Azgaar
2ddea0ff0c use semver 2022-05-14 19:36:01 +03:00
Azgaar
44710ab4af fix links 2022-05-13 23:20:07 +03:00
Azgaar
1573fad58d annotate template strings for syntax hightlight and format 2022-05-08 19:22:15 +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
Azgaar
3cbd451df9 fix for Data Integrity Check log 2022-04-10 14:45:38 +05:00
Azgaar
1bec723d4f style uploadCulturesData, fix removed issue 2022-04-09 20:18:25 +05:00
Mészáros Anna Veronika
af62ff915c
Dev csv (#761)
* import cultures feature

* remove debug messages

* code cleanup
2022-04-02 23:42:54 +03:00
Azgaar
aee78071c6 dropbox - load script dynamically 2022-02-08 00:47:17 +03:00
Azgaar
8e480be704 load auto-update sctipt dynamically 2022-02-07 22:17:16 +03:00