Commit graph

504 commits

Author SHA1 Message Date
Azgaar
32ee895f8a supporters update 2021-08-01 13:34:03 +03:00
Azgaar
078b83633f fix: add rivers when rivers array is empty 2021-08-01 13:31:54 +03:00
Azgaar
90c87853b1 restore layers - don't hide, remove unused 2021-07-31 15:06:14 +03:00
Azgaar
a17457ae35 template editor - use the same template source as generator 2021-07-31 14:49:36 +03:00
Azgaar
dc10a0b6cb refactor heightmap generator - separate templates to file 2021-07-29 23:50:01 +03:00
Azgaar
9604d4ae41 round river length on UI 2021-07-28 23:34:12 +03:00
Azgaar
eaaba06131 welcomeMessage update 2021-07-28 22:39:55 +03:00
Azgaar
1dc45f05c3 rivers creator dialog - add river 2021-07-27 00:15:47 +03:00
Azgaar
8bbfe6dd2c rivers creator dialog 2021-07-25 17:40:14 +03:00
Azgaar
c5698c5a11 rivers editor - optimize 2021-07-25 13:52:10 +03:00
Azgaar
a1425bcb54 river editor rework - data checking 2021-07-25 01:37:48 +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
ef55f5a442 fix tile save bug 2021-07-21 22:21:48 +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
6405b442a5 make icon size stable 2021-07-18 14:10:06 +03:00
Azgaar
76bc07e3e2 optimization as suggested by Rayzeq 2021-07-18 14:06:53 +03:00
Azgaar
7b506fc6d8 save.js fix - options are not defined 2021-07-18 00:55:33 +03:00
Azgaar
edf728a12e 3d labels - draw labels as they are 2021-07-17 23:32:02 +03:00
Azgaar
14b35cf93b clean up 2021-07-17 22:53:02 +03:00
Azgaar
2502e1c916 use sprites for 3d labels 2021-07-17 22:52:35 +03:00
Azgaar
1d7ba8568f 3d labels: improve perf and look 2021-07-17 21:03:20 +03:00
Azgaar
4cb7b55e03 optimize animation - stop on speed = 0 2021-07-17 17:24:14 +03:00
Azgaar
dd1492ca72 fix 3d options 2021-07-17 15:58:26 +03:00
Rayzeq
4575edc92e
Better cities and towns labels in 3D view (#635)
* Better cities and towns labels in 3D view

* Small changes (let -> const)

* Lower city labels

* Change the way the label faces the camera

* Use font from svg instead of hardcoded

* Use color from svg

* Optionalize 3d labels

* Use pack.burgs instead of svg + Icon use style from svg

* Replace jQuery with d3

* Labels adapts to height scale

* Fix bug: options are not applied when changing layer

* Add states labels + Replace canvas by svg

* Fix: States labels adapts to height scale

* Requested fixes

* All fonts working properly + Big memory optimization + Minor fixes

* Fix rotating animation + More optimization

* use Raycaster for positioning the labels

* Use canvas to render burg labels + Some tweaks

Co-authored-by: Rayzeq <zachariedubrulle@gmail.com>
2021-07-17 15:52:17 +03:00
Azgaar
d6c18fb6a2 ability to remove icons in bulk via button 2021-07-13 14:51:21 +03:00
Azgaar
6dc8cad13e shapeRendering option 2021-07-12 23:45:10 +03:00
Azgaar
985e3c43f9 throttle work done on zoom and brush drag 2021-07-12 23:20:34 +03:00
Azgaar
e7b354e217 throttle work done on zoom 2021-07-12 22:08:17 +03:00
Azgaar
9df7b2f7a5 lake style for ancient set 2021-07-11 20:16:38 +03:00
Azgaar
1ae6d73f94 move fonts function to a separate file 2021-07-11 19:39:03 +03:00
Azgaar
99dd005e5c load fonts on style set change 2021-07-11 19:35:43 +03:00
Azgaar
cf269b775c ancient style update 2021-07-11 19:23:13 +03:00
Azgaar
2dd8628f2b fix font size change buttons 2021-07-11 17:59:31 +03:00
Azgaar
1f10a8e281 fix font size settings 2021-07-11 17:53:22 +03:00
Azgaar
7d299ff395 redraw relief on size change 2021-07-11 16:47:49 +03:00
Azgaar
659a217368 new style: Light 2021-07-11 13:24:36 +03:00
Azgaar
68f1861603 default styleSaverName ti take current name 2021-07-11 13:18:02 +03:00
Azgaar
805684f79e draw halo along water, but not map border 2021-07-11 00:53:48 +03:00
Azgaar
cfb6e1eeeb load fonts on .map file open 2021-07-11 00:29:58 +03:00
Azgaar
25de9edb13 fix select group issue 2021-07-10 22:49:35 +03:00
Azgaar
0e9732e6ce fix the issue with province that cannot be reassigned 2021-07-10 22:41:50 +03:00