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

build 180718. ai slope logic tweaks, track grade ui indicator, minor bug fixes

This commit is contained in:
tmj-fstate
2018-07-19 02:25:52 +02:00
parent 387f396ecb
commit cd10b72821
7 changed files with 121 additions and 84 deletions

View File

@@ -132,6 +132,8 @@ class TTrain
bool is_eztoer() const;
// locates nearest vehicle belonging to the consist
TDynamicObject *find_nearest_consist_vehicle() const;
// mover master controller to specified position
void set_master_controller( double const Position );
// moves train brake lever to specified position, potentially emits switch sound if conditions are met
void set_train_brake( double const Position );
// sets specified brake acting speed for specified vehicle, potentially updating state of cab controls to match