Skip to content
Connected RailsConnected Rails

Workspace

Crate Contents
i18n Translations of everything the user reads (Fluent .ftl; English source, the rest from Crowdin)
app-icon The window icon of all four programs: the drawing itself, the Windows resource beside it
task-pools Bevy’s IO task pool with a stack deep enough for nested glTF loads, set up by all four programs before DefaultPlugins
world-coords ECEF f64 world coordinates, floating origin, geodesy (plan ch. 4)
track-model Track geometry (straight/curve/clothoid), topology, switches, lineside equipment (ch. 5)
sim-core Driving dynamics (adhesion axle by axle), air and vacuum brake, electrics, steam, train protection, interlocking, timetable, scenario and scoring — without Bevy, deterministic (ch. 6–11)
content Vehicle database, line source format (RON) + compiler, scenarios, OSM/DGM importer (ch. 15)
mod-runtime Mod discovery, declarative content, Lua behaviour hooks, the scenario director (Scenario scripting) (ch. 19)
html-display HTML/CSS/JS cab displays: parser, layout, script engine — in-engine, no browser (ch. 12)
ai-driver AI train driver, look-ahead (ch. 11)
imagery Aerial imagery tiles: providers, Web Mercator maths, cache, fetching (ch. 15)
fields Farmland from the state agricultural registers (InVeKoS): which state a place is in, the WFS clients, crop code mapping, geometry clean-up, phenology
vision Reading the aerial imagery with a local model: the model registry, a pure-Rust ONNX runtime, the walk over the imagery, what a tree crown is made of, and the car parks a crowd of cars implies (ch. 15)
world-render Rendering shared by app and route editor: terrain tiles and splatting, vegetation, farmland, track objects, floating-origin anchoring
app Bevy app: rendering, cameras, input, HUD (ch. 12), sound on kira’s mixer, placed by Steam Audio (bevy_audionimbus: HRTF, distance attenuation, air absorption) — cab-wall filter, Doppler, reverb (ch. 13); multiplayer and the dedicated server on lightyear (ch. 20); text in Fira Sans and Fira Mono (fonts/, SIL OFL 1.1)
editor-ui Shared look and feel of the desktop editors: colors, typography (Inter), spacing, form widgets
route-editor Route editor: flown 3D view over aerial imagery — track, equipment, objects, vegetation, fields, terrain (ch. 15)
vehicle-editor Vehicle editor: base data, block diagram (drive, brake, equipment), glTF import, LOD, moving parts (ch. 15)
signal-editor Signal editor: signal construction kits — modules of glTF parts on mount points with lamp bindings, the sockets between them, material variants (ch. 15)

sim-core is a pure Rust library with a fixed time step (200 Hz). The Bevy app ticks it and mirrors the state into ECS components — simulation logic does not belong there.