OpenTTD Source 20241224-master-gee860a5c8e
|
Handling of waypoints. More...
#include "stdafx.h"
#include "order_func.h"
#include "window_func.h"
#include "newgrf_station.h"
#include "waypoint_base.h"
#include "viewport_kdtree.h"
#include "safeguards.h"
Go to the source code of this file.
Functions | |
void | DrawWaypointSprite (int x, int y, StationClassID station_class, uint16_t station_type, RailType railtype) |
Draw a waypoint. | |
Handling of waypoints.
Definition in file waypoint.cpp.
void DrawWaypointSprite | ( | int | x, |
int | y, | ||
StationClassID | station_class, | ||
uint16_t | station_type, | ||
RailType | railtype | ||
) |
Draw a waypoint.
x | coordinate |
y | coordinate |
station_class | Station class. |
station_type | Station type within class. |
railtype | RailType to use for |
Definition at line 28 of file waypoint.cpp.
References AXIS_X, DrawStationTile(), and INVALID_ROADTYPE.
Referenced by WaypointPickerCallbacks::DrawType().