|
Simutrans-Squirrel-API
|
Public Member Functions | |
| halt_x | get_halt (player_x pl) |
| schedule_entry_x (coord3d pos, integer wait, integer load) | |
| string | waiting_time_to_string () |
Public Member Functions inherited from coord3d | |
| string | _tostring () |
| coord (int x, int y, int z) | |
| string | href (string text) |
| coord3d | operator* (integer fac) |
| coord3d | operator+ (coord3d other) |
| coord3d | operator+ (coord3d other) |
| coord3d | operator- (coord other) |
| coord3d | operator- (coord other) |
| coord3d | operator- () |
| coord3d | operator/ (integer fac) |
Public Member Functions inherited from coord | |
| string | _tostring () |
| coord (int x, int y) | |
| string | href (string text) |
| coord | operator* (integer fac) |
| coord | operator+ (coord other) |
| coord | operator- (coord other) |
| coord | operator- () |
| coord | operator/ (integer fac) |
| dir | to_dir () |
Public Attributes | |
| integer | load |
| integer | wait |
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.
| schedule_entry_x::schedule_entry_x | ( | coord3d | pos, |
| integer | wait, | ||
| integer | load | ||
| ) |
Constructor
| pos | coordinate of entry |
| wait | waiting time |
| load | minimum loading |
Returns halt at this entry position.
| pl | player that wants to use halt here |
| string schedule_entry_x::waiting_time_to_string | ( | ) |
Returns waiting time formatted as string.
| integer schedule_entry_x::load |
Minimum loading percentage.
Definition at line 10 of file api_schedule.cc.
| integer schedule_entry_x::wait |
Waiting time setting.
Definition at line 14 of file api_schedule.cc.
1.8.14