jerrrrycho
169527f333
feat(editor): dirt road type with looser layout limits in the road tool ( #491 )
...
* feat(editor): dirt road type with looser layout limits in the road tool
Every road shared the limits of a built road, so the road tool refused
field tracks that bend tight, kink, have very short straights and fork
at sharp angles (#347 ).
Roads now have a type, paved (the default, with the limits as they
were) or dirt, chosen in the road settings and saved with each piece as
"surfacetype dirt". A dirt road bends down to a 3 m radius instead of
6 m, can be 1 m long instead of 2 m, leaves other roads at 15 degrees
instead of 30, may lead off square to the far end when both ends are
tied, and may turn up to 240 degrees in a hairpin. The limits come from
one table, editor/editorRoadLimits.hpp, whose paved row holds the old
constants.
A paved road writes nothing new, so existing sceneries load and save
byte for byte as before. Switching a road to dirt turns the default
asphalt into the field road texture droga_polna from the game data and
drops the white markings; a material picked by hand stays.
* fix(editor): no bend of a road tighter than the road is wide, pi from <numbers>, the type's name as a string_view
2026-11-26 22:28:58 +01:00
..
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-22 09:55:09 +01:00
2026-11-22 09:55:09 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-10-09 23:39:26 +02:00
2026-11-22 09:55:09 +01:00
2026-11-11 21:34:39 +01:00
2026-10-09 11:54:47 +02:00
2026-11-11 21:34:39 +01:00
2026-11-22 09:55:09 +01:00
2026-11-22 09:55:09 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-10-01 18:41:35 +02:00
2026-10-01 18:41:35 +02:00
2026-11-12 05:04:14 +01:00
2026-11-12 05:04:14 +01:00
2026-11-22 09:55:09 +01:00
2026-11-22 09:55:09 +01:00
2026-11-20 03:38:14 +01:00
feat(editor): fields of work in a row of their own over the toolbar (surroundings, tracks, roads, terrain), twice as high, with bigger bold text, and the tools of the one chosen in the toolbar under it: the edit modes of the node bank, the track tools in groups with the vehicle and the structure gauge, the road tools with what the place tool puts, the terrain tools (sculpt, smooth, chunks, orthophoto); the tool options window keeps the settings of the tool; the node bank shows a big preview of the entry pointed at for a moment, with its model and skin; the green colours by default again; Polish translation
2026-10-09 00:42:17 +02:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-25 05:23:37 +01:00
2026-11-26 22:28:58 +01:00
2026-11-26 22:28:58 +01:00
2026-11-26 22:28:58 +01:00
2026-11-22 09:55:09 +01:00
2026-11-22 09:55:09 +01:00
2026-11-11 21:34:39 +01:00
2026-10-05 01:21:11 +02:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-26 22:25:59 +01:00
2026-11-26 22:25:59 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
Heightmap terrain: .tch chunk packs, streaming with LOD, terrain painting, water and modifiers - terrain/<name>/terrain.yaml + <px>_<pz>.tch packs of 16x16 chunks (250 m, 0.5/1/2/5 m spacing), slices with crc-32 and optional zstd (vendored zstd 1.5.6 in ref/zstd) - heightmap_terrain [name] endheightmap_terrain directive replaces editorterrain - streamer: worker threads, camera + look-ahead loading, geomipmap LOD with skirts, pooled geometry - mat_terrain shader: up to 8 painted layer materials per chunk via texture arrays (opengl33); other renderers fall back to the dominant material - water bodies (outline + level), terrain modifiers (vertical profile shaping kept non-destructive) - F11 Terrain work mode rebuilt: chunks, sculpt, smooth, paint, point spacing, water tools
2026-10-09 21:02:25 +02:00
Heightmap terrain: .tch chunk packs, streaming with LOD, terrain painting, water and modifiers - terrain/<name>/terrain.yaml + <px>_<pz>.tch packs of 16x16 chunks (250 m, 0.5/1/2/5 m spacing), slices with crc-32 and optional zstd (vendored zstd 1.5.6 in ref/zstd) - heightmap_terrain [name] endheightmap_terrain directive replaces editorterrain - streamer: worker threads, camera + look-ahead loading, geomipmap LOD with skirts, pooled geometry - mat_terrain shader: up to 8 painted layer materials per chunk via texture arrays (opengl33); other renderers fall back to the dominant material - water bodies (outline + level), terrain modifiers (vertical profile shaping kept non-destructive) - F11 Terrain work mode rebuilt: chunks, sculpt, smooth, paint, point spacing, water tools
2026-10-09 21:02:25 +02:00
2026-11-22 09:55:09 +01:00
2026-11-22 09:55:09 +01:00
2026-11-15 12:28:41 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00