|
Simutrans-Squirrel-API OTRP v63_4
|


Public Member Functions | |
| halt_x | get_halt (player_x pl) |
| Public Member Functions inherited from coord3d | |
| coord (int x, int y, int z) | |
| coord3d | operator+ (coord3d other) |
| coord3d | operator- (coord other) |
| coord3d | operator+ (coord3d other) |
| coord3d | operator- (coord other) |
| coord3d | operator- () |
| coord3d | operator* (integer fac) |
| coord3d | operator/ (integer fac) |
| string | _tostring () |
| string | href (string text) |
| Public Member Functions inherited from coord | |
| coord (int x, int y) | |
| coord | operator+ (coord other) |
| coord | operator- (coord other) |
| coord | operator- () |
| coord | operator* (integer fac) |
| coord | operator/ (integer fac) |
| string | _tostring () |
| string | href (string text) |
| dir | to_dir () |
Public Attributes | |
| integer | x |
| integer | y |
| integer | z |
| integer | load |
| integer | wait |
| integer | flags |
| array< integer > | journey_time |
| array< integer > | waiting_time |
| array< integer > | convoy_stopping_time |
| Public Attributes inherited from coord3d | |
| integer | x |
| x-coordinate | |
| integer | y |
| y-coordinate | |
| integer | z |
| z-coordinate - height | |
| Public Attributes inherited from coord | |
| integer | x |
| x-coordinate | |
| integer | y |
| y-coordinate | |
Schedule entries
Definition at line 5 of file api_schedule.cc.
Returns halt at this entry position.
| pl | player that wants to use halt here |
| array<integer> schedule_entry_x::convoy_stopping_time |
Array of last 5 convoy stopping times (ticks), most recent at index 0. 0 means not yet recorded.
Definition at line 46 of file api_schedule.cc.
| integer schedule_entry_x::flags |
Stop flags bitmask (NO_LOAD=4, NO_UNLOAD=8, etc.).
Definition at line 30 of file api_schedule.cc.
| array<integer> schedule_entry_x::journey_time |
Array of last 5 journey times (ticks), most recent at index 0. The journey time is the time between departure from the previous stop and arrival at this stop. 0 means not yet recorded.
Definition at line 36 of file api_schedule.cc.
| integer schedule_entry_x::load |
Minimum loading percentage.
Definition at line 22 of file api_schedule.cc.
| integer schedule_entry_x::wait |
Waiting time setting.
Definition at line 26 of file api_schedule.cc.
| array<integer> schedule_entry_x::waiting_time |
Array of last 5 average waiting times of goods (ticks), most recent at index 0. 0 means not yet recorded.
Definition at line 41 of file api_schedule.cc.
| integer schedule_entry_x::x |
X-coordinate of entry position
Definition at line 10 of file api_schedule.cc.
| integer schedule_entry_x::y |
Y-coordinate of entry position
Definition at line 14 of file api_schedule.cc.
| integer schedule_entry_x::z |
Z-coordinate of entry position
Definition at line 18 of file api_schedule.cc.