16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 20:59:19 +02:00

Implemented HideDirStatusWhenMoving entry

This commit is contained in:
2024-12-28 00:15:36 +01:00
parent 532c5ecf8f
commit c7e78b8e0c
3 changed files with 12 additions and 2 deletions

View File

@@ -1196,6 +1196,7 @@ public:
bool ReleaseParkingBySpringBrakeWhenDoorIsOpen{ false };
bool SpringBrakeCutsOffDrive { true };
double SpringBrakeDriveEmergencyVel { -1 };
bool HideDirStatusWhenMoving { false };
TSecuritySystem SecuritySystem;
int EmergencyBrakeWarningSignal{ 0 }; // combined with basic WarningSignal when manual emergency brake is active
TUniversalCtrlTable UniCtrlList; /*lista pozycji uniwersalnego nastawnika*/

View File

@@ -10576,6 +10576,7 @@ void TMoverParameters::LoadFIZ_Cntrl( std::string const &line ) {
extract_value( SpringBrakeCutsOffDrive, "SpringBrakeCutsOffDrive", line, "");
extract_value( SpringBrakeDriveEmergencyVel, "SpringBrakeDriveEmergencyVel", line, "");
extract_value(HideDirStatusWhenMoving "HideDirStatusWhenMoving", line, "");
std::map<std::string, start_t> starts {
{ "Disabled", start_t::disabled },
{ "Manual", start_t::manual },