Commit graph

204 commits

Author SHA1 Message Date
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
Azgaar
5b6ec0cc2e set size for pre-defined maps 2022-02-19 21:18:02 +03:00
Azgaar
7f13f1c367 predefined-heightmaps 2022-02-19 19:29:05 +03:00
Azgaar
3d22b37a3c pump version to 1.731 2022-02-15 00:19:29 +03:00
Azgaar
02f36de6d9 type fix + supporters update 2022-02-11 21:52:30 +03:00
Azgaar
aee78071c6 dropbox - load script dynamically 2022-02-08 00:47:17 +03:00
Azgaar
30fc2731f3 zone editor - add update to v1.73 info 2022-02-07 00:26:57 +03:00
Azgaar
5acc3b156b zone editor - restore init state + type display 2022-02-06 23:36:44 +03:00
Ángel Montero Lamas
8e7ccbd50d
Zone filter (#728)
* Adding zone type dropdown to index.html

* added zone type filter to zones-editor.js

* zoneTypes dialog

add and delete types, dialog

* filtering types

* correct filter button and prompt

The filter button now works on click with an added zonesEditorAddLines(); on function toggleFilterTable().

If the table is empty, a message appears on a line giving advice.

* Amount of types and fixes

Fixed some spacing in zoneTypes dialog, and made a count for the amount of zones per type.

* Minor changes for zone types

* dialog for types on a button

New button for the zone Types dialog.

* typo in index.html

* update on click add type

Co-authored-by: Evolvedexperiment <evolvedexperiment@gmail.com>
Co-authored-by: Azgaar <maxganiev@yandex.ru>
2022-02-06 23:09:30 +03:00
Azgaar
d551e42e0c pump version to v1.73 2022-02-06 22:41:02 +03:00
Ángel Montero Lamas
81f037004c
Color picker hatches 14-60 (#726)
* Color picker hatches 14-60

Added hatches to number 14 to 60.
Updated the code of the color picker to accept multiples rows of hatches.

Changed the size of fillRectPointer from 0.9 em to 1.5 em.

Added an Update code to upgrade maps to 1.72 to have a grid of 60 svg hatches. Without the update, loaded files appeared with the rectangles for hatches 14-60 empty.

* Hatches ordered

Reworked the code to put back rows of 14 hatches. Reordered the first 14 hatches to defaault.
Made 3 rows, so 42 hatches.

* Cleaned code and fixes

Cleaned </pattern> in index.html line 152.
Put back: width=".9em" height=".9em" style="margin-bottom:-1px"> for fill.

* mouseover hatches

Fixed some typos. Changed mousemove for mouseover and moved the calling of the function tip from the each function to the original place at 519.
The arrow function changed to one that tells the id.

* Copies hatching from defElements into map svg, and hatching removed from saved map files.

* Removed haching completely from map svg

* Hatching copy for clone is now done before unused pattern removal

* Added back code that removes the unused hatching group

Co-authored-by: Evolvedexperiment <evolvedexperiment@gmail.com>
Co-authored-by: Azgaar <maxganiev@yandex.ru>
2022-02-06 21:56:16 +03:00
Azgaar
7dadb95c86 pump version to 1.722 2022-02-06 21:46:09 +03:00
Azgaar
f04f8d7d1c year change 2022-02-06 02:26:36 +03:00
Azgaar
315aad2521 pump version to v1.721 2022-02-06 01:30:12 +03:00
Azgaar
37598994cb dissalow local run 2022-02-06 01:04:11 +03:00
Azgaar
49a8a9f7c7 style - fetch local json files 2022-02-05 21:23:10 +03:00
Azgaar
f65bc63ab3 pump version to 1.72 2022-02-05 17:08:48 +03:00
Ángel Montero Lamas
db46a9d94e
Lalitude main.js (#723)
Changed lalitude to latitude
2022-01-09 11:53:02 +03:00
Ángel Montero Lamas
71a3d05334
Update main.js (#722) 2022-01-07 20:26:34 +03:00
Azgaar
604dcfacf6 normalize prec, flux and river width 2021-12-30 18:49:36 +03:00
Ángel Montero Lamas
d2991643d0
Wetland
Added a function to calculate wetland in separated statements. Fixed some typos.
2021-12-15 18:12:56 +01:00
Azgaar
4935d506b6 state labels mode 2021-11-07 20:55:13 +03:00
dranorter
3f58b9f362
Watabou cities integration change, new Urban Density setting (#672)
* Watabou cities integration change, new Urban Density setting

New setting does not yet save/load - I don't want to change the .map file format.

* new markers - monsters

* markers - fix bridges placement

* markers - fix number

* markers - sacred places

* markers - refactor functions

* markers - course generator for inns

* markers - course generator enhancement

* markers - bandits and pirates

* reset PRNG - make points generation deterministic

* use imperial measures for US only

* split save and export to different files

* remove unused js libs

* markers - statues

* markers - magic portals

* markers - magic portals fix

* markers - palm grove fix

* markers - round coords on zoom

* markers data rework - master data object

* markers rework - optional pin shapes

* markers rework - editor start, dragging

* markers rework - editor functions

* markers rework - editor UI

* editable theme color

* added self-hosted analytics

* collect statistics for a short period

* umami - we do'nt need html class events

* umami - don't collect if noTrack is set

* markers - add on click

* saveTiles clean up listeners on close

* markers - generate from config file

* config generate markers dialog

* config generate markers dialog fixes

* markers overview

* markers - export as geoJSON

* markers overview - export data to csv

* markers - auto-update on load

* markers overview - focus on marker

* burg editor - MFCG preview

* markers - generate tool + lock tooltip

* Watabou cities integration change, new Urban Density setting

New setting does not yet save/load - I don't want to change the .map file format.

* Trying to put the formula in the right place

Again, sorry for the mess

* whoops

* Getting the equation right

* Change default

Co-authored-by: Azgaar <maxganiev@yandex.ru>
2021-10-17 11:48:56 +03:00
Azgaar
33b8cd3be5 remove error tracking 2021-10-13 11:09:23 +03:00
Azgaar
b438fedf9a remove advanced tracking 2021-10-13 11:09:04 +03:00
Azgaar
576fb9a6d0 showMFCGMap option 2021-10-12 16:36:15 +03:00
Azgaar
f5065f0771 pump version to 1.71 2021-10-10 18:46:13 +03:00
Azgaar
bdc0c9f8ee minmax util function 2021-10-10 17:59:27 +03:00
Azgaar
bc46238f07 umami - reduce track calls 2021-10-08 00:32:49 +03:00
Azgaar
28f3828622 3d labels - don't create svg element 2021-10-07 23:59:38 +03:00
Azgaar
58dfbf36c8 v 1.7 2021-10-06 21:47:51 +03:00
Azgaar
60057c52ed markers - generate from config file 2021-09-25 21:49:34 +03:00
Azgaar
5d714c8c17 collect statistics for a short period 2021-09-24 01:00: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
c8b7e9ccee markers - round coords on zoom 2021-09-18 15:01:33 +03:00
Azgaar
6a6ba96c96 reset PRNG - make points generation deterministic 2021-09-16 11:59:00 +03:00
Azgaar
a9755dacc8 burg editor - MFCG preview 2021-09-16 10:20:54 +03:00
Azgaar
bedbb7cbff hotkeys to use key instead of a code 2021-09-12 01:20:53 +03:00
Azgaar
f07cbe9323 don't consider localhost as PRODUCTION 2021-09-12 00:16:29 +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
7ac255e911 version pumped to 1.66 2021-09-01 22:50:48 +03:00
Azgaar
c783301de9 dropbox - import changes from alpha 2021-09-01 21:33:49 +03:00
Azgaar
7865497cd2 no wetlands in elevated areas 2021-09-01 19:16:11 +03:00
Azgaar
da0e788020 allow to focus by burg name 2021-08-28 14:56:54 +03:00