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

build 180404. optional scenario clock sync with current local time, keyboard input for the ui layer

This commit is contained in:
tmj-fstate
2018-04-06 01:12:15 +02:00
parent 07f14381a8
commit 87f078925c
12 changed files with 898 additions and 796 deletions

View File

@@ -518,7 +518,7 @@ private:
return mMatrix.readArray(); };
inline double * Matrix() {
return mMatrix.getArray(); };
inline double GetVelocity() {
inline double GetVelocity() const {
return MoverParameters->Vel; };
inline double GetLength() const {
return MoverParameters->Dim.L; };
@@ -561,7 +561,7 @@ private:
float GetEPP(); // wyliczanie sredniego cisnienia w PG
int DirectionSet(int d); // ustawienie kierunku w składzie
// odczyt kierunku w składzie
int DirectionGet() {
int DirectionGet() const {
return iDirection + iDirection - 1; };
int DettachStatus(int dir);
int Dettach(int dir);