Commit graph

104 commits

Author SHA1 Message Date
Azgaar
7ccebec048 refactor(es modules): modulize utils 2022-06-26 20:44:29 +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
364f33975f refactor(es modules): continue migration 2022-06-26 01:25:25 +03:00
Azgaar
922c6e2431 refactor(es modules): continue migration 2022-06-26 00:57:53 +03:00
Azgaar
4a04a8622d refactor(es modules): continue migration 2022-06-25 20:24:43 +03:00
Azgaar
030caec6e8 refactor(es modules): continue migration 2022-06-25 17:59:03 +03:00
Azgaar
97f2b213c4 refactor(es modules): continue migration 2022-06-25 17:22:30 +03:00
Azgaar
1ad0b9dd51 fix: charts dialog to be stable 2022-06-24 17:47:35 +03:00
Azgaar
6cd2419f10 feat(charts): remove on dialog close 2022-06-24 15:51:10 +03:00
Azgaar
be5589daeb feat(charts): add basic data collection and rendering 2022-06-15 02:47:32 +03:00
Azgaar
4f4729c866 fix: bypass issue if burg has no states assigned 2022-06-12 15:45:07 +03:00
Azgaar
1967dfe661 hotfix: check if states are loaded before refreshing 2022-06-01 02:31:30 +03:00
Azgaar
6766de46ef generation flow for heightmap select 2022-05-26 00:19:32 +03:00
Azgaar
6a6264e21c installation module 2022-05-13 22:37:34 +03:00
Azgaar
e2e4f6dee2 get rid of jquery for don't ask box 2022-05-13 20:29:16 +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
Basile Clement
edfcad4e8c
Generate a legend for manually added markers (#753)
Markers added by procedural generation have custom notes depending on
the type of marker (e.g. dungeons have a procedurally generated map);
however, the notes for markers manually added by the user are empty.

This patch separates the cell selection logic from the legend and name
generation logic in markers-generator.js, so that the latter can be
shared with manually added markers.  There is some additional
simplifications such as storing the dx/dy/px/min/each values directly in
the markers table to simplify the writing of the generic "list and add"
loop in `generateTypes()`.

Currently, the legend is only generated when adding a marker of the same
type as an existing marker, and only when a legend generation function
is available for that type.  To generate a marker of a type that is not
currently present on the map, one must first change the type field of an
existing marker (which will not get a procedural note), then use "Add
additional marker of that type".  The UI for this can be improved later.

Co-authored-by: Basile Clement <basile-github@clement.pm>
2022-03-07 22:29:08 +03:00
Azgaar
214bc7a40d allow more states via number input 2022-01-16 19:37:16 +03:00
Azgaar
604dcfacf6 normalize prec, flux and river width 2021-12-30 18:49:36 +03:00
Azgaar
6ad2f34639 configMarkers - edit icons relative parent 2021-12-23 14:23:31 +03:00
Azgaar
19a8db4a17 disallow adding custom labels to state group 2021-11-30 21:47:22 +03:00
Azgaar
9325d54386 markers - fix for adding markers to empty array 2021-11-11 12:33:52 +03:00
dranorter
9116d03e76
Placed labels use most recent label group (#673) 2021-10-09 13:44:12 +03:00
Azgaar
03b5e1d84c markers overview 2021-09-27 01:07:36 +03:00
Azgaar
d2e9e007f7 config generate markers dialog fixes 2021-09-26 18:04:53 +03:00
Azgaar
0c0e37d69b config generate markers dialog 2021-09-26 13:01:11 +03:00
Azgaar
60057c52ed markers - generate from config file 2021-09-25 21:49:34 +03:00
Azgaar
2587a1643b markers - add on click 2021-09-25 17:24:40 +03:00
Azgaar
2a9edd2458 markers - generate tool + lock tooltip 2021-09-23 21:07:03 +03:00
Azgaar
95f9d990d9 markers rework - editor functions 2021-09-20 02:29:50 +03:00
Azgaar
1023bb0676 markers rework - optional pin shapes 2021-09-19 02:13:40 +03:00
Azgaar
3b47efd9a4 markers data rework - master data object 2021-09-18 16:47:17 +03:00
Azgaar
fb8a79e7b6 markers - fix number 2021-09-13 00:27:51 +03:00
Azgaar
acd9cfdd69 move markers into a separate module 2021-09-11 21:18:08 +03:00
Azgaar
fe330ede3a
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
2021-09-09 00:12:45 +03:00
Azgaar
e42bc58bd1 fix states regen count 2021-09-01 00:46:57 +03:00
Gergely Mészáros
288036c113
Fix: flux calculation from area-propotional value instead of normal value. (#654)
* bioms shouldn't be masked or the style selection box is useless

* fix: misleading comment

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

* Fix: River automatic rerender on regeneration.

Co-authored-by: Mészáros Gergely <monk@geotronic.hu>
2021-08-15 12:43:20 +03:00
Azgaar
078b83633f fix: add rivers when rivers array is empty 2021-08-01 13:31:54 +03:00
Azgaar
8bbfe6dd2c rivers creator dialog 2021-07-25 17:40:14 +03:00
Azgaar
424980f5be fix added river basin selection 2021-07-24 19:05:17 +03:00
Azgaar
dbcf46f83b separete rivere rendering from generation 2021-07-24 18:42:10 +03:00
Azgaar
d9d349f3a1 delete rendered rivers on layer off 2021-07-23 23:46:00 +03:00
Azgaar
d5b2e7ed14 add river on click fix 2021-07-23 21:52:06 +03:00
Azgaar
4902a321ea river type - memoize what is small size for river 2021-07-23 20:48:38 +03:00
Azgaar
50f497c62a river type - fix fork type selection 2021-07-23 20:37:17 +03:00
Azgaar
aed9d9d768 confluence to reflect real value 2021-07-23 18:40:39 +03:00
Azgaar
77f371e28f river generator - subs confluence to select main stem 2021-07-21 00:15:05 +03:00
Azgaar
ae62755a76 remove all rivers - fix 2021-07-20 01:37:13 +03:00