Fantasy-Map-Generator/modules/ui
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
..
3d.js Better cities and towns labels in 3D view (#635) 2021-07-17 15:52:17 +03:00
battle-screen.js store populationRate and urbanization in memory 2021-06-27 14:24:55 +03:00
biomes-editor.js store populationRate and urbanization in memory 2021-06-27 14:24:55 +03:00
burg-editor.js store populationRate and urbanization in memory 2021-06-27 14:24:55 +03:00
burgs-overview.js store populationRate and urbanization in memory 2021-06-27 14:24:55 +03:00
coastline-editor.js v1.4.04 2020-04-26 21:12:54 +03:00
cultures-editor.js store populationRate and urbanization in memory 2021-06-27 14:24:55 +03:00
diplomacy-editor.js v1.5.14 - Province/diplom. editors - emblems added 2021-02-10 02:30:31 +03:00
editors.js Added a lock function to burgs (#612) 2021-03-30 00:05:49 +03:00
elevation-profile.js store populationRate and urbanization in memory 2021-06-27 14:24:55 +03:00
emblems-editor.js v1.5.81 - svg coa load fix 2021-03-01 02:46:41 +03:00
general.js state only borders + watercolor style 2021-07-10 20:08:30 +03:00
heightmap-editor.js throttle work done on zoom and brush drag 2021-07-12 23:20:34 +03:00
ice-editor.js v1.4.01 2020-04-23 19:44:32 +03:00
labels-editor.js v1.1 2019-09-28 15:10:53 +03:00
lakes-editor.js v1.5.87 - lakes editor rework 2021-03-02 03:28:08 +03:00
layers.js redraw relief on size change 2021-07-11 16:47:49 +03:00
markers-editor.js v1.4.62 2021-02-04 15:56:27 +03:00
measurers.js automatically pit output to input and store data 2021-06-26 00:41:43 +03:00
military-overview.js store populationRate and urbanization in memory 2021-06-27 14:24:55 +03:00
namesbase-editor.js v1.5.09 - speak functionality 2021-02-04 15:56:28 +03:00
notes-editor.js clear note style 2021-06-12 11:50:10 +03:00
options.js Better cities and towns labels in 3D view (#635) 2021-07-17 15:52:17 +03:00
provinces-editor.js store populationRate and urbanization in memory 2021-06-27 14:24:55 +03:00
regiment-editor.js v1.4.06 2020-05-05 02:00:40 +03:00
regiments-overview.js v1.4.15 2020-05-16 01:11:01 +03:00
relief-editor.js ability to remove icons in bulk via button 2021-07-13 14:51:21 +03:00
religions-editor.js store populationRate and urbanization in memory 2021-06-27 14:24:55 +03:00
rivers-editor.js v1.6.23 - rivers remove fix 2021-03-10 22:28:57 +03:00
rivers-overview.js v1.6.01 - properly track cells.r and check it on load 2021-03-03 03:30:43 +03:00
routes-editor.js v1.6.04 - apply getSegmentId for routes and rivers 2021-03-05 14:16:03 +03:00
states-editor.js load fonts on .map file open 2021-07-11 00:29:58 +03:00
style.js lake style for ancient set 2021-07-11 20:16:38 +03:00
tools.js depressions filling controls UI 2021-06-25 22:27:09 +03:00
units-editor.js store populationRate and urbanization in memory 2021-06-27 14:24:55 +03:00
world-configurator.js more various climate 2021-04-10 21:03:23 +03:00
zones-editor.js store populationRate and urbanization in memory 2021-06-27 14:24:55 +03:00