OpenTTD
Functions
waypoint.cpp File Reference

Handling of waypoints. More...

#include "stdafx.h"
#include "order_func.h"
#include "window_func.h"
#include "newgrf_station.h"
#include "waypoint_base.h"
#include "safeguards.h"

Go to the source code of this file.

Functions

void DrawWaypointSprite (int x, int y, int stat_id, RailType railtype)
 Draw a waypoint. More...
 

Detailed Description

Handling of waypoints.

Definition in file waypoint.cpp.

Function Documentation

◆ DrawWaypointSprite()

void DrawWaypointSprite ( int  x,
int  y,
int  stat_id,
RailType  railtype 
)

Draw a waypoint.

Parameters
xcoordinate
ycoordinate
stat_idstation id
railtypeRailType to use for

Definition at line 28 of file waypoint.cpp.

Referenced by BuildRailWaypointWindow::DrawWidget().