18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-14 00:48:04 +01:00

Merge remote-tracking branch 'origin/feat/switch-blades' into feat/gl46-migration

This commit is contained in:
2026-10-19 22:13:43 +02:00
169 changed files with 52371 additions and 10816 deletions

View File

@@ -171,11 +171,17 @@ struct global_settings {
float FieldOfView{ 45.f }; // vertical field of view for the camera. TODO: move it to the renderer
bool EditorOrtho{ false };
float EditorOrthoExtent{ 150.f };
bool EditorOrthoBallast{ true }; // the ballast of the railway drawn in the top view of the editor
GLint iMaxTextureSize{ 4096 }; // maksymalny rozmiar tekstury
GLint iMaxCabTextureSize{ 4096 }; // largest allowed texture in vehicle cab
int iMultisampling{ 2 }; // tryb antyaliasingu: 0=brak,1=2px,2=4px,3=8px,4=16px
float SplineFidelity{ 1.f }; // determines segment size during conversion of splines to geometry
float SleeperDistance{ 250.f }; // max distance (in meters) at which per-track sleeper models are still drawn; 0 disables sleeper rendering entirely
std::string Sleepers3D; // model of the sleepers and switch timbers laid where the simulator makes the ballast; empty: none
std::string Sleepers3DPlain { "quark/podklad1" }; // model of the sleepers of a track running alone, those of Sleepers3D being the timbers of switches and crossings; empty: the timbers there too
std::string Sleepers3DPlainSkin { "quark/podklad_betonowy1" };
bool Sleepers3DBed { true }; // whether the ballast is laid under the tracks with 3D sleepers
float Sleepers3DPlainSeat { 0.24f }; // how high the rails sit on the plain sleeper above the origin of its model; below 0: on its top
bool Smoke{ true }; // toggles smoke simulation and visualization
float SmokeFidelity{ 1.f }; // determines amount of generated smoke particles
bool ResourceSweep{ true }; // gfx resource garbage collection