mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Merge pull request #12 from Unofficial-MaSzyna-Developement/kermit-requested-features
Add aklvents button
This commit is contained in:
@@ -7388,6 +7388,11 @@ bool TTrain::Update( double const Deltatime )
|
||||
btCabActived.Turn(false);
|
||||
}
|
||||
|
||||
if (mvControlled->Battery && mvControlled->CabActive == 0)
|
||||
btAKLVents.Turn(true);
|
||||
else
|
||||
btAKLVents.Turn(true);
|
||||
|
||||
if( true == lowvoltagepower ) {
|
||||
// McZapkie-141102: SHP i czuwak, TODO: sygnalizacja kabinowa
|
||||
if( mvOccupied->SecuritySystem.is_vigilance_blinking() ) {
|
||||
@@ -10092,6 +10097,7 @@ bool TTrain::initialize_button(cParser &Parser, std::string const &Label, int co
|
||||
{ "i-universal8:", btUniversals[ 8 ] },
|
||||
{ "i-universal9:", btUniversals[ 9 ] },
|
||||
{ "i-cabactived:", btCabActived },
|
||||
{"i-aklvents:", btAKLVents},
|
||||
{"i-compressorany:", btCompressors }
|
||||
};
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user