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

Direction relay sounds

This commit is contained in:
2025-10-20 21:25:32 +02:00
parent d567b84392
commit d17d51e8fb
4 changed files with 57 additions and 0 deletions

View File

@@ -164,6 +164,10 @@ class TTrain {
return m_controlmapper.find( Control ); }
void UpdateCab();
bool Update( double const Deltatime );
void UpdateDirectionRelays();
void SetupDirectionRelays();
bool prevBatState = false;
int prevDirection = 0;
void add_distance( double const Distance );
// McZapkie-310302: ladowanie parametrow z pliku
bool LoadMMediaFile(std::string const &asFileName);