28 void CheckRedrawRailWaypointCoverage(
const Window *w);
29 void CheckRedrawRoadWaypointCoverage(
const Window *w);
31 using StationPickerCmdProc = std::function<bool(
bool test, StationID to_join)>;
Types related to commands.
StationCoverageType
Types of cargo to display for station coverage.
@ SCT_NON_PASSENGERS_ONLY
Draw all non-passenger class cargoes.
@ SCT_PASSENGERS_ONLY
Draw only passenger class cargoes.
@ SCT_ALL
Draw all cargoes.
void ShowSelectStationIfNeeded(TileArea ta, StationPickerCmdProc proc)
Show the station selection window when needed.
void ShowSelectRailWaypointIfNeeded(TileArea ta, StationPickerCmdProc proc)
Show the rail waypoint selection window when needed.
void CheckRedrawStationCoverage(const Window *w)
Check whether we need to redraw the station coverage text.
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)
void ShowSelectRoadWaypointIfNeeded(TileArea ta, StationPickerCmdProc proc)
Show the road waypoint selection window when needed.
Types related to stations.
Represents the covered area of e.g.
Data structure for an opened window.
Type for storing the 'area' of something uses on the map.
Types related to windows.