MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / GetStopLocation

Method GetStopLocation

src/order_base.h:148–148  ·  view source on GitHub ↗

Where must we stop at the platform? */

Source from the content-addressed store, hash-verified

146 inline OrderNonStopFlags GetNonStopType() const { return static_cast<OrderNonStopFlags>(GB(this->type, 6, 2)); }
147 /** Where must we stop at the platform? */
148 inline OrderStopLocation GetStopLocation() const { return static_cast<OrderStopLocation>(GB(this->type, 4, 2)); }
149 /** What caused us going to the depot? */
150 inline OrderDepotTypeFlags GetDepotOrderType() const { return static_cast<OrderDepotTypeFlags>(GB(this->flags, 0, 3)); }
151 /** What are we going to do when in the depot. */

Callers 4

CmdInsertOrderFunction · 0.45
DrawOrderStringFunction · 0.45
OnClickMethod · 0.45
GetTrainStopLocationFunction · 0.45

Calls 1

GBFunction · 0.85

Tested by

no test coverage detected