mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 15:09:19 +02:00
security system magnet interaction enhancement, vehicle startup check tweak
This commit is contained in:
@@ -664,6 +664,8 @@ struct TSecuritySystem
|
||||
int NextVelocityAllowed; /*predkosc pokazywana przez sygnalizacje kabinowa*/
|
||||
bool RadioStop; // czy jest RadioStop
|
||||
bool PoweredUp { false }; // helper, for detection of power state change
|
||||
bool SHPLock{ false }; // prevents tps reset when true
|
||||
double MagnetLocation { 0.0 }; // placement of tps magnet, as offset from vehicle front
|
||||
|
||||
inline bool is_beeping() const {
|
||||
return TestFlag( Status, s_SHPalarm );
|
||||
|
||||
Reference in New Issue
Block a user