...
station | drive-through track |
---|---|
IC_station | IC_ST_1 |
OC_station | OC_ST_3 |
KH_station | KH_ST_5 |
KH_station(r) | KH_ST_1 |
Station-to-Station
Fuctions $void railArrival(int train, int station)$ and $int railDeparture(int train)$ should be used at the end of every Station-to-Station-Controller.
At the end of every Station-to-Station-Controller the trains should stand in one station, because every Controller starts with the train in standstill.
TrainController
Train-Schedules should be modelled by putting together the Station-to-Station-Controllers for every train in individual regions.
Speed:
- SLOW: for the stations
- CAUTION: for points and slowdown
- NORMAL: for the other tracks
Codestyle
Use entry-/exit-actions instead of actions on transitions, if possible.
If using hostcode, only use functions delivered by our own C-Interface and not the Höhrmann-API.
...