* docs: behaviour changes accepted in review, for release notes and triage
* docs: the physics log entries after the revert of #408#443 reverted #408 on staging and brought master's #385. physicslog yes
logs road vehicles again, the closing waits for every log, and the
2 s thread, the illegal characters, physicslog.trains and blackbox come
from #385. The test.* keys show in the settings dump of log.txt, not in
an editor save.
* docs: track_uneven_doc.md from the root of the repository to docs/ (#237)
The tool that grades the tracks points to its new place; directoryDescription.md
names docs/.
* docs: the local changes of the bundled ImGui (#236)
docs/imgui_patches.md lists what imgui/ changes against upstream
v1.91.9b-docking (io.ConfigViewportsNoAutoDetach, io.ConfigTooltipsWrapWidth,
BufferingBar/Spinner, the glad loader, the main-window origin of the GLFW
backend, the gamma of the OpenGL 3 backend) and in ImGuizmo, with the commits
that brought them, so an update of ImGui carries them over.
* build: the license texts of the audio DLLs from ref/licenses instead of downloads (#405)
The Windows build downloaded 14 license texts on every run without a cache
hit, from raw.githubusercontent.com, scm.orgis.org (mpg123) and
sources.debian.org (LAME). They are now in ref/licenses, byte for byte as at
the pinned URLs (-text in .gitattributes, so a checkout with CRLF doesn't
change them), and the step copies them from there, still checked by their
SHA-256. ref/licenses/README.md names the URL of each. The two release zips
are still downloaded and cached as before.
* docs: the ImAbs shim of ImGuizmo listed, stale comments of the DLL step, a plain docs/ row
* Local lights: street lamps of the scenery light their surroundings
Optional settings, all off by default (nothing changes without them):
- gfx.lights.stars: Stars submodels (e.g. "lamp" of the SGP340 street lights) whose glowing points light downwards as lamps;
signal LEDs, chimneys and the sky only glow
- gfx.lights.points.near: scenery lamps shining downwards light also closer than their glare is seen from
- gfx.lights.freespot.mincone: wider cones for scenery lamps shining downwards (many have the narrow cone of their glare)
- gfx.lights.lamps.gain: brightness of the scenery lamps shining downwards
- gfx.lights.hideglow: textures of the planes faking the light of lamps (pools of light, glows), hidden while the lamps light
Lights shining sideways (signals) keep their cones, brightness and distances.
The lamps made of glowing points are gathered also from the opaque instances of a cell.
* Local lights: the lamp settings in a parser of their own, the draw phase test in a helper
The entries of the lamps are read by ConfigParse_gfx_lamps, which the parser of the sky hands the tokens it doesn't know, and
the opaque and translucent draws ask drawn_in_phase whether a submodel has a part in them, so the long functions keep their
complexity. The fake glow cache is private, the colour of a light point is lightcolor (no shadowing of rendermode::color),
the minimal distance of a submodel comes from walk_min_distance and the lit instances of a cell from add_lit_instances.
* Settings: the lamp entries are tried by the main loop of the parser, the parser of the sky stays as it was
* Local lights: the fake glows are left out only within the reach the lamps are gathered from
Beyond gfx.lights.range nothing lights the ground in place of the pools of light and glows of the lamps, so a scenery model
keeps them there. Render_Alpha(TAnimModel *) tells hide_fake_glows() which model it draws, and is_fake_glow() leaves out the
glows of that model only, when it is within the range (and its radius) of the camera the lamps are gathered around. The glow
planes are translucent, so the opaque draws are as they were.
* Local lights: hide_fake_glows() takes the model as it is drawn (radius() isn't const)
* Local lights: the fake glows hidden at any distance again, gfx.lights.lamps.range to see the lamps from afar
Glow planes kept beyond the reach of the lamps don't light a distant station either, they only float above it, so the glows
listed in gfx.lights.hideglow are left out at any distance again. A lit station is seen from afar with gfx.lights.lamps.range
instead: the lamps are gathered from that far when it's above gfx.lights.range (0, the default: from gfx.lights.range).
* Local lights: gfx.lights.lamps.range for the lamps of the scenery only, the vehicles keep gfx.lights.range
* Local lights: the fake glows are kept with gfx.lights.range 0, the limits of gfx.lights.hideglow in the docs