Commit graph

249 commits

Author SHA1 Message Date
Azgaar
83fa6a13e6 collect statistics for a short period 2022-11-27 12:32:19 -05:00
Azgaar
efb545c6c5 Fonts refactoring and Add Font dialog (#660)
* fonts rework - start

* fonts rework - continue

* fonts rework - fetch google font

* fonts rework - issue fixes

* fonts rework - add fonts to downloaded image

* fonts rework - add methods dialog

* fonts rework - add methods description

* fonts update - move version to 1.661

* fonts - remove unused file
2022-11-27 12:21:26 -05:00
Azgaar
68fade20c3 dropbox - import changes from alpha 2022-11-27 12:17:30 -05:00
Azgaar
eecdff1968 calculateDistances for tradeCenters 2022-11-27 12:14:15 -05:00
Azgaar
f81c001345 salesTax to depend on state form 2022-11-27 12:13:37 -05:00
Azgaar
838ef27359 goods export system 2022-11-27 12:12:57 -05:00
Azgaar
0c0944863c prepare from trade generation 2022-11-27 12:12:33 -05:00
Azgaar
975dea8084 partially refactor BurgAndStates 2022-11-27 12:11:56 -05:00
Azgaar
34bf6ffd1e resource units 2022-11-27 12:11:56 -05:00
Azgaar
bef3affa61 fix merge conflicts 2022-11-27 12:06:17 -05:00
Azgaar
54db8cbb67 remove log 2022-11-27 12:05:40 -05:00
Azgaar
2df06c1b7e burgs placement change + resource style 2022-11-27 12:04:58 -05:00
Azgaar
932785cc31 resources ("goods") layers 2022-11-27 11:37:51 -05:00
Azgaar
0373272939 resource styling 2022-11-27 11:33:07 -05:00
Azgaar
4421293e8e econonics - restore from feb 2022-11-27 11:30:01 -05:00
Peter
bcbb670f00 goods viewbox 2022-11-23 22:25:39 -05:00
Peter
7270c8c833 Merge economics with current 2022-11-23 22:08:41 -05:00
Azgaar
d3ea2df1a2 feat: optimizeSpeed rendering (1.87.15) 2022-10-13 00:52:49 +03:00
Azgaar
1a3ebe5b99 refactor - create types array to have named attributes 2022-06-03 00:18:18 +03:00
Azgaar
0c2ec8d97e feat: reduce debouncing to 250ms for New Map 2022-06-02 22:36:23 +03:00
Azgaar
62747e252c hotfix: cells were wrongly renamed to gridCells 2022-06-01 22:44:26 +03:00
Azgaar
d602b0793c hotfix: reGraph to no override pack object 2022-06-01 22:19:45 +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
5a6b5b4c95 central store for heightmap configs 2022-05-29 01:03:21 +03:00
Azgaar
c2640bcada tooltip - get shortcut from its own attribute 2022-05-28 22:27:29 +03:00
Azgaar
8a9a29a9d3 refactor dialogs to be mobile-friendly 2022-05-28 01:47:25 +03:00
Azgaar
f56bd0f586 heightmap select - style fixes 2022-05-27 02:22:25 +03:00
Azgaar
6766de46ef generation flow for heightmap select 2022-05-26 00:19:32 +03:00
Azgaar
4fcd62bb99 states-editor - dynamic module 2022-05-15 16:03:47 +03:00
Azgaar
b92c8b6ae9 remove shape rendering optimization as it works bad on complex maps 2022-05-14 13:11:14 +03:00
Azgaar
44710ab4af fix links 2022-05-13 23:20:07 +03:00
Azgaar
529444f58f
Merge pull request #796 from Azgaar/pwa
Progressive Web App
2022-05-13 22:59:22 +03:00
Azgaar
4bdf08e3aa cleanup 2022-05-13 22:42:26 +03:00
Azgaar
6a6264e21c installation module 2022-05-13 22:37:34 +03:00
Azgaar
0fe084637b temporary allow serviceWorker in Dev 2022-05-13 19:56:14 +03:00
Azgaar
aab27ca673 slightly optimize onZoom 2022-05-12 23:54:19 +03:00
Azgaar
cfbb3bf102 relative path to sw.js 2022-05-09 18:02:00 +03:00
Azgaar
f5cb800295
Caching service worker (#794)
* register service worker

* versioning code

* cleanup

* cache in Prod only
2022-05-09 17:50:07 +03:00
Azgaar
1573fad58d annotate template strings for syntax hightlight and format 2022-05-08 19:22:15 +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
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
Azgaar
424e1f4d85 fix rebels #779 2022-04-20 12:14:16 +05:00
Gergely Mészáros, Ph.D
73434f5bb7
fix exact multiple error for spacing (#776)
Co-authored-by: Mészáros Gergely <monk@geotronic.hu>
2022-04-18 22:43:25 +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
Gergely Mészáros, Ph.D
1384daf6f9
Bugfix (#763)
* fix concurency issue at load

* Fix async concurrency error.

Co-authored-by: GoteGuru <monk@geotronic.hu>
2022-03-31 23:16:04 +03:00
Gergely Mészáros, Ph.D
4b10b60c69
fix concurency issue at load (#762) 2022-03-30 21:14:51 +03:00
Azgaar
8b3b64626f fix scaleBar change 2022-02-23 23:34:31 +03:00
Azgaar
8db9d315be pump version to 1.732 2022-02-19 23:15:57 +03:00
Azgaar
9777df9a67 toggle loading menu 2022-02-19 22:22:30 +03:00