|
OpenTTD Source
14.0-beta1
|
Go to the documentation of this file.
28 void CheckRedrawWaypointCoverage(
const Window *w);
30 using StationPickerCmdProc = std::function<bool(
bool test, StationID to_join)>;
void ShowSelectWaypointIfNeeded(TileArea ta, StationPickerCmdProc proc)
Show the waypoint selection window when needed.
void ShowSelectStationIfNeeded(TileArea ta, StationPickerCmdProc proc)
Show the station selection window when needed.
@ SCT_PASSENGERS_ONLY
Draw only passenger class cargoes.
void CheckRedrawStationCoverage(const Window *w)
Check whether we need to redraw the station coverage text.
StationCoverageType
Types of cargo to display for station coverage.
Represents the covered area of e.g.
@ SCT_ALL
Draw all cargoes.
int DrawStationCoverageAreaText(int left, int right, int top, StationCoverageType sct, int rad, bool supplies)
Calculates and draws the accepted or supplied cargo around the selected tile(s)
@ SCT_NON_PASSENGERS_ONLY
Draw all non-passenger class cargoes.
Data structure for an opened window.