16 #include "viewport_kdtree.h" 37 case STATION_WAYPOINT:
47 default: NOT_REACHED();
bool DrawStationTile(int x, int y, RailType railtype, Axis axis, StationClassID sclass, uint station)
Draw representation of a station tile for GUI purposes.
TileArea train_station
Tile area the train 'station' part covers.
Tindex index
Index of this pool item.
Functions related to orders.
flag for invalid roadtype
uint16 w
The width of the area.
Waypoint view; Window numbers:
void GetTileArea(TileArea *ta, StationType type) const override
Get the tile area for a given station type.
Definition of base types and functions in a cross-platform compatible way.
A number of safeguards to prevent using unsafe methods.
Represents the covered area of e.g.
TileIndex tile
The base tile of the area.
void DeleteWindowById(WindowClass cls, WindowNumber number, bool force)
Delete a window by its class and window number (if it is open).
static bool CleaningPool()
Returns current state of pool cleaning - yes or no.
StationType
Station types.
Header file for NewGRF stations.
RailType
Enumeration for all possible railtypes.
void Remove(const T &element)
Remove a single element from the tree, if it exists.
TileIndex xy
Base tile of the station.
void RemoveOrderFromAllVehicles(OrderType type, DestinationID destination, bool hangar)
Removes an order from all vehicles.
TrackedViewportSign sign
NOSAVE: Dimensions of sign.
Window functions not directly related to making/drawing windows.
bool kdtree_valid
Are the sign data valid for use with the _viewport_sign_kdtree?
void DrawWaypointSprite(int x, int y, int stat_id, RailType railtype)
Draw a waypoint.
uint16 h
The height of the area.