Commit graph

529 commits

Author SHA1 Message Date
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
Azgaar
43ce0424a5 move filter from regions to statesBody 2021-07-10 20:45:59 +03:00
Azgaar
687dedfe1b state only borders + watercolor style 2021-07-10 20:08:30 +03:00
Azgaar
44b3911e65 update supporters list 2021-07-05 18:56:35 +03:00
Azgaar
05700cc338 allow to style text-shadow for labels 2021-07-01 21:00:49 +03:00
Azgaar
5ed08e156a store populationRate and urbanization in memory 2021-06-27 14:24:55 +03:00
Azgaar
3892370816 automatically pit output to input and store data 2021-06-26 00:41:43 +03:00
Azgaar
d6aac8d12c depressions filling controls UI 2021-06-25 22:27:09 +03:00
Azgaar
e6099f62dd supporters update 2021-06-24 23:52:21 +03:00
Azgaar
e767b1b54b fix tiling 2021-06-24 23:34:27 +03:00
Azgaar
e923cf06c9 toggle labels from save dialog 2021-06-24 23:13:45 +03:00
Azgaar
e9fa4cbd6c download tiles 2021-06-24 22:53:27 +03:00
Azgaar
e3da664e56 template editor: allow single value 2021-06-13 16:42:47 +03:00
Azgaar
a95f1f1187 erosion fix 2021-06-12 20:04:12 +03:00
Azgaar
28a728ff78 fix styles 2021-06-12 19:52:55 +03:00
Azgaar
caa0a781e0 fix oceanicPattern opacity 2021-06-12 19:45:02 +03:00
Azgaar
47dd3c05aa fix ocean pattenr for Gloom style 2021-06-12 14:54:28 +03:00
Azgaar
a77c6ed9c5 clear note style 2021-06-12 11:50:10 +03:00
Azgaar
2162c043c9 fix add river on click 2021-06-10 20:23:45 +03:00
Azgaar
05e6cc388e change lakes depth calculation 2021-06-06 20:50:00 +03:00
Azgaar
c8c1c24909 addLakesInDeepDepressions 2021-06-06 20:25:36 +03:00
Azgaar
67235bc41e make depressions resolve elevation change not that big 2021-06-06 01:29:58 +03:00
Azgaar
ab065da5d2 suppoters update 2021-05-15 17:41:31 +03:00
Azgaar
95928b44f8 suppoters update 2021-05-02 11:11:46 +03:00
Azgaar
886ea38b44 restring layers off on heightmap edit 2021-04-18 22:03:57 +03:00
Azgaar
6f08c87015 supporters update 2021-04-14 23:14:02 +03:00