|
|
9b0e88db7a
|
feat(editor): node bank shows the entries as cards with the previews of their models (Previews, size of the cards 48-256 px, kept in eu07_editor.ini), in the groups and with the search as the list; images found by the names the preview generator gives them, worked out by the same code now (editor/editorPreviews: path of the model and skin, numbers of entries with the same ones in the order of nodebank.txt), read and scaled down in a thread of their own, uploaded a few in a frame, at most 512 kept, read anew on Reload node bank; images of the user interface made by the gl renderers (Create_Image/Release_Image of the imgui renderer, srgb in the modern one); Polish translation
|
2026-10-08 23:55:56 +02:00 |
|
|
|
476f3bf1b7
|
feat(ui): panels can be docked together and dragged out of the simulator window into windows of their own (imgui multi-viewports, ui.viewports yes by default, off where the renderer or the platform can't do it, e.g. wayland); imgui coordinates kept relative to the main window by the glfw backend, so the overlays, picking and gizmo of the editor work unchanged; overlays of the 3d view drawn on the main viewport; keys pressed in the separate windows passed on to the simulator, so the shortcuts of the editor work there too
|
2026-10-08 21:04:58 +02:00 |
|
|
|
344034ec70
|
feat(ui): imgui 1.91.9b-docking in place of 1.73: local changes of the backends carried over (glad as the gl loader, srgb and gamma of the ui, gles glsl string), BufferingBar/Spinner kept, imgui_tables in cmake; cursor position, cursor enter and focus of the main window passed to the glfw backend, which works with events now; code adapted to the api: ImGuiListClipper::Begin, BeginListBox, ImTextureID as an integer, ImageButton with an id, ImGuiKey without GetKeyIndex, logarithmic sliders in place of the removed power argument; ImGuizmo with the math operators defined before imgui.h and SetNextFrameWantCaptureMouse
|
2026-10-08 20:38:13 +02:00 |
|
maj00r
|
b02fe0ac2b
|
feat(editor): Signals mode of the Tracks window (H): semaphores, block, warning, shunting, stop, substitute signals and repeaters placed by the track from the templates of the scenery, described by //$e signal: (kind, mount, lamps, lean, the event the train reads them by) which tools/editor/signal_headers.py writes into them; a click by a track puts the signal on that side 2.25 m from the axis at the rail heads, facing the trains which have it on their right, a drag along turns it to the trains going the way of the drag; its (p1)_sem_info goes to event1 or event2 of the path, warning signals and repeaters, which the train doesn't read, get none; a head leaning away from the track swapped for its counterpart; the plate named like the signal; signals dragged along the track with their event, removed with it, renamed in the node properties with it, each a single step of the undo history; Polish translation
|
2026-10-08 03:12:16 +02:00 |
|
maj00r
|
898b4fcaf7
|
feat(editor): switch drive placed with a switch leans with the grade and the cant of the track at the points, raised as the simulation raises a canted track
|
2026-10-08 01:53:34 +02:00 |
|
maj00r
|
a5ade3258f
|
fix(editor): a curve with a switch in it read as one curve through the main track of the switch, the switch placed into a curve on the part around the click; the diverging path of a switch placed into a canted curve lies on the conical surface of the cant along its whole length, not only at its ends; platforms by a switch keep the cant of the track for their height, the gauge of the other path only sets them back
|
2026-10-08 01:39:35 +02:00 |
|
maj00r
|
ee3833fdba
|
feat(editor): platform edge put 1.725, 1.675 or 1.650 m from the axis of the track as chosen, kept in the editor settings; models along a track set back by the gauge of the other path of each switch whose points their line passes, also when they stand by the plain track ahead of the switch or by its straight path, the widening led in from the tracks beyond the diverging path; the line beyond the ends of a sweep goes on along the straightest path
|
2026-10-08 01:12:30 +02:00 |
|
maj00r
|
ca208b3ed1
|
fix(editor): a long arc of a larger radius kept as a part of a compound curve, only short arcs of growing radius taken for the transition curve of an old scenery
|
2026-10-08 00:51:29 +02:00 |
|
maj00r
|
24923dd472
|
feat(editor): track editor driven by what the cursor is over: the outline and a label show what a click or a drag does, snapping to free ends on the screen, handles and ends dragged directly, no rotation gizmo; laying from a free end the same in every mode, straight with Shift, the curve of a switch going on past its diverging end; height 0 where there's no terrain; placed switch leaves the switch mode, double slips listed apart, a drive of the switch placed with it by the //$e switch description of its template; compound curves of any number of radii; dragged end of a straight fits the curve beside it; name of a path, followed by the memory cells and the includes taking it; turntable placed from a template described as one, tracks led out of it and the tracks around fitted to it, its positions written to the include; infrastructure bound to the path whose events read its memory cell; terrain made where the route has none and shaped to the formation under the ballast; models along the track over the selected path and on along the joined ones while dragged, rarely used settings folded; vehicles and trainsets placed on any path, switches included, facing the way the arrow shows; joined paths spread into the selection; New scenery in the File menu starts the editor again with the wizard; ortho zoom towards the cursor; scripted self tests; Polish translation
|
2026-10-06 22:19:54 +02:00 |
|
maj00r
|
0a3cd55e59
|
feat(launcher): -edit without a scenery opens the wizard of a new scenery: file name, title and centre, picked on the OpenStreetMap map of geoportal.gov.pl in PUWG 1992 or given in degrees; the scenery is written with the centre as its //$g reference and opened in the editor; a bare -edit no longer loads the scenery of eu07.ini
|
2026-10-06 22:19:40 +02:00 |
|
maj00r
|
a13a5548df
|
feat(terrain): grade line fitted to the ground under the route within the limits; editor terrain shaped to the grade line with a formation and rounded slopes, with one step back; scenery ground triangles of chosen materials converted to editor terrain and taken out of the files on save, with a dated backup of each file; crack-free simplified terrain mesh, terrain streamed as far as the scenery is drawn, the nearest chunks first; smoothing brush
|
2026-10-05 02:21:55 +02:00 |
|
maj00r
|
b07050fa52
|
feat(tracks): switches keep their neighbours joined on replacing, flipping and moving; events copied on splitting; circuits, overhead line, sleepers and events of the paths; curve design through the switches of a line; changes in files included more than once or with parameters reported instead of written; split of a straight at the point found, not a share of its length
|
2026-10-05 01:21:11 +02:00 |
|
maj00r
|
8f050d9c3e
|
feat(tracks): speed check of the paths against the speed their geometry allows: radius and cant, cant ramps, curves without transitions, switch branches
|
2026-10-05 01:21:11 +02:00 |
|
|
|
012ffc7470
|
Merge branch 'feat/modern-editor' of https://github.com/MaSzyna-EU07/maszyna into feat/modern-editor
|
2026-10-04 21:58:19 +02:00 |
|
|
|
444e89558b
|
feat(roads): lanes change within a road piece (lanesto), junctions of two roads from earlier sceneries are loaded as such pieces and saved as roads; the editor leads the lanes of neighbouring pieces with them
|
2026-10-04 05:00:52 +02:00 |
|
|
|
ceae93eec5
|
fix(roads): lane transitions drawn as road with an island or a closed zone, end faces and rounded island ends, closed zone stripes on curves, banks applied to the whole road; junction banks to the ground and pedestrian crossings
|
2026-10-04 03:25:32 +02:00 |
|
maj00r
|
9bd8226c51
|
Fix the GCC 13 and MSVC builds: no brace-initialised reference from reference_wrapper, no near/far names
|
2026-10-04 02:49:05 +02:00 |
|
maj00r
|
ce0c311106
|
Structure gauge refactor: outline ring, tilt in the sections, outline choice, shared track line
|
2026-10-04 02:22:57 +02:00 |
|
maj00r
|
ae8a046f79
|
Structure gauge: wheel zone in the common lower part, depth as the distance from the outline
|
2026-10-04 02:17:50 +02:00 |
|
maj00r
|
7e78ca8714
|
Structure gauge: the lower part turns with the plane of the rail heads on cant
|
2026-10-04 02:12:14 +02:00 |
|
maj00r
|
e4e3aad853
|
Structure gauge: G1/G2/GA/GB/GC installation gauges, road clearance, Toolset button
|
2026-10-04 02:00:43 +02:00 |
|
|
|
27a94509c4
|
feat(roads): right of way and lane turns at junctions, road weights, kerbs, medians and forking roads, banks to the ground, roundabouts, pedestrian crossings, spawn sets by count; fix(editor): model skin export, placement on the ground under the orthophoto
|
2026-10-04 01:55:35 +02:00 |
|
maj00r
|
208ad3400d
|
fix: structure gauge measured from the rail head, not the rail foot of the scenery points
|
2026-10-04 01:48:11 +02:00 |
|
maj00r
|
cf8062ea96
|
feat: GPL-1/GPL-2 structure gauges, widening run-in ahead of the curves
|
2026-10-04 01:40:25 +02:00 |
|
maj00r
|
b0c363b586
|
feat: structure gauge along the line of the selected path in the OpenGL view
|
2026-10-04 01:27:41 +02:00 |
|
maj00r
|
7d87fef7a0
|
refactor(editor): anchor on the nearest place of a path
|
2026-10-04 00:51:05 +02:00 |
|
maj00r
|
9cd0f0b1a7
|
refactor(editor): shared writers of the path definitions
|
2026-10-04 00:39:30 +02:00 |
|
maj00r
|
c85a52d5b1
|
refactor(editor): track observer instead of the function hooks
|
2026-10-04 00:37:26 +02:00 |
|
maj00r
|
7b8d809078
|
refactor(editor): drop unused editor state and vertical leftovers of the route design
|
2026-10-04 00:35:40 +02:00 |
|
maj00r
|
e5c91d8a1a
|
refactor(editor): shared plan geometry and formatting helpers
|
2026-10-04 00:33:44 +02:00 |
|
|
|
3ce9102da0
|
feat(roads): level crossings, spawn and removal points for road vehicles, deleting points of a road
|
2026-10-04 00:31:44 +02:00 |
|
maj00r
|
8778353b22
|
feat(editor): infrastructure bound to the paths follows their changes
|
2026-10-04 00:14:03 +02:00 |
|
maj00r
|
7371b18910
|
feat(editor): vertical profile editor, grade lines kept in the scenery
|
2026-10-04 00:14:03 +02:00 |
|
maj00r
|
cdd5c242d1
|
feat(editor): curves take over the adjoining straights
|
2026-10-04 00:14:03 +02:00 |
|
|
|
d37dff11e1
|
fix(editor): ground lookups sorted once instead of walking every terrain model, orthophoto kept under the roads; feat(roads): junction sides, stop lines and junction options
|
2026-10-03 23:13:01 +02:00 |
|
|
|
502c609b13
|
feat(roads): single piece widening with generated transitions, point height tools, fix for the frame rate drop in the road tools
|
2026-10-03 22:18:53 +02:00 |
|
|
|
1d4c448e30
|
feat(roads): junctions made by leading a road out of another, width and height set at road points
|
2026-10-03 21:20:00 +02:00 |
|
|
|
daeed40f15
|
feat(roads): junctions, height above the ground and rounded profile following the terrain
|
2026-10-03 20:28:37 +02:00 |
|
|
|
e4083d507f
|
feat(roads): editor menu and window for building roads, lanes shown as trajectories
|
2026-10-03 18:21:10 +02:00 |
|
|
|
2f417fddcc
|
feat(roads): road node with generated lanes, surface and markings
|
2026-10-03 17:35:08 +02:00 |
|
maj00r
|
676bf39136
|
feat(editor): track editor saves changed paths to scenery
|
2026-10-03 02:41:35 +02:00 |
|
maj00r
|
7825b92190
|
feat(editor): add R500 double slip
|
2026-10-03 02:41:35 +02:00 |
|
maj00r
|
4d060f166e
|
feat(editor): add R300 double slip
|
2026-10-03 02:41:34 +02:00 |
|
maj00r
|
55fd0c74bd
|
feat(editor): insert double slip at crossing
|
2026-10-03 02:41:34 +02:00 |
|
maj00r
|
de6053e18a
|
feat(editor): crossover snaps to parallel straight
|
2026-10-03 02:41:34 +02:00 |
|
maj00r
|
a9e63e9496
|
fix(editor): fix: zero-vector curves detection
|
2026-10-03 02:41:34 +02:00 |
|
maj00r
|
de5f2069f7
|
feat(editor): dragging straight refits neighbor curves
|
2026-10-03 02:41:34 +02:00 |
|
maj00r
|
bf24c3983a
|
feat(editor): no sub-metre straights, switches snap, K splits path
|
2026-10-03 02:41:34 +02:00 |
|
maj00r
|
8a50d352fb
|
feat(editor): shift with 4 points, single path curves, undo
|
2026-10-03 02:41:34 +02:00 |
|
maj00r
|
a5955f322e
|
feat(editor): context editor for geometry, paths behind switches, switch textures
|
2026-10-03 02:41:34 +02:00 |
|