Commit graph

90 commits

Author SHA1 Message Date
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
Azgaar
76c787b6e9 allow to add river - fix 2021-07-20 01:31:48 +03:00
Azgaar
0adc0e883a refactor river fendering 2021-07-20 00:20:04 +03:00
Azgaar
d6aac8d12c depressions filling controls UI 2021-06-25 22:27:09 +03:00
Azgaar
2162c043c9 fix add river on click 2021-06-10 20:23:45 +03:00
Azgaar
67235bc41e make depressions resolve elevation change not that big 2021-06-06 01:29:58 +03:00
Legogizmo
f855de6fb8
Added a lock function to burgs (#612)
* Added a lock function to burgs that will prevent them from being regenerated

* Updated tooltips and fixed culture change from renaming locked burgs and group remove from deleting locked burgs
2021-03-30 00:05:49 +03:00
Azgaar
5f5a67d436 v1.5.86 - separate lakes object 2021-03-01 23:24:36 +03:00
Azgaar
fbec08f982 v1.5.79 - river overview update 2021-03-01 01:51:31 +03:00
Azgaar
41d03e8039 v1.5.78 - river editor update 2021-02-28 20:20:11 +03:00
Azgaar
12fd553b0d v1.5.77 - river data change 2021-02-28 17:16:04 +03:00
Azgaar
07f0eff52c v1.5.76 - major river-lake redesign 2021-02-28 13:32:04 +03:00
Azgaar
4c4caa6ff7 v1.5.56 - fix correction for burgs without valid states 2021-02-24 17:36:49 +03:00
Azgaar
d8618948ce v1.5.55 - fix for burgs without valid states 2021-02-24 17:33:01 +03:00
Azgaar
bd7b7c2a5d v1.5.42 edit emblem button 2021-02-20 18:10:18 +03:00