mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-01 05:57:08 +01:00
5a537e69f2
The folder of the vehicle physics was named after the author of its first
version (2001). Its name now says what it holds, and so do its files:
McZapkie/MOVER.h, Mover.cpp -> physics/mover.h, mover.cpp
McZapkie/hamulce.h, hamulce.cpp -> physics/brakes.h, brakes.cpp
McZapkie/Oerlikon_ESt.h, .cpp -> physics/oerlikonest.h, .cpp
friction, collision, couplerphysics, derailment: same names in physics/
Every include names the folder ("physics/mover.h"); the McZapkie include
directory is gone from CMakeLists.txt. The comments and documents that
named the old paths name the new ones. The credits to McZapkie stay.
Renames only: git sees every file as renamed (98-100%). 1142/1142 tests,
golden traces exact against staging 62f7a29b.
1.2 KiB
1.2 KiB
File structure
| Directory | Description |
|---|---|
| physics/ | Vehicle physics: the mover, brakes, couplers, collisions, derailment |
| gl/ | OpenGL Abstraction Layer |
| network/ | Multiplayer Support |
| launcher/ | Scenario/Vehicle Selection (built in starter) |
| widgets/ | HUD Elements |
| vr/ | Virtual Reality Support |
| Console/ | Hardware I/O |
| application/ | Core simulation loop, time, environment, state serializer, sounds |
| scene/ | Scene graph, scene nodes, scene editor, utilities |
| rendering/ | Renderers (the OpenGL 4.6 one is in rendering/opengl46/), geometry banks, particles, lights, frustum |
| audio/ | Sound, audio, and audio renderer |
| environment/ | Sky, sun, moon, stars, skydome |
| application/ | Application modes, UI layers/panels, driver/editor/scenario modes |
| input/ | Keyboard, mouse, gamepad, command, messaging, ZMQ input |
| scripting/ | Lua, Python, ladder logic, screen viewer |
| model/ | 3D models, materials, textures, resource manager |
| utilities/ | Logging, timing, parsing, math, globals, crash reporter |
| world/ | Tracks, traction, events, memory cells, stations |
| vehicle/ | Train, dynamic objects, driver, gauges, camera |
| docs/ | Documentation |