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

Method SetNonStopType

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

Set whether we must stop at stations or not. */

Source from the content-addressed store, hash-verified

165 inline void SetUnloadType(OrderUnloadType unload_type) { SB(this->flags, 0, 3, to_underlying(unload_type)); }
166 /** Set whether we must stop at stations or not. */
167 inline void SetNonStopType(OrderNonStopFlags non_stop_type) { SB(this->type, 6, 2, non_stop_type.base()); }
168 /** Set where we must stop at the platform. */
169 inline void SetStopLocation(OrderStopLocation stop_location) { SB(this->type, 4, 2, to_underlying(stop_location)); }
170 /** Set the cause to go to the depot. */

Callers 8

MakeGoToDepotMethod · 0.95
CmdModifyOrderFunction · 0.80
GetOrderCmdFromTileFunction · 0.80
BeginLoadingMethod · 0.80
InsertOrderMethod · 0.80
AfterLoadGameFunction · 0.80

Calls 2

SBFunction · 0.85
baseMethod · 0.45

Tested by

no test coverage detected