27 assert(this->
vtype < (1 << 2));
28 assert(this->
index < (1 << 20));
29 assert(this->
type < VLT_END);
30 assert_compile(VLT_END <= (1 << 3));
32 return c << 28 | this->
type << 23 | this->
vtype << 26 | this->
index;
42 byte c =
GB(data, 28, 4);
48 return this->
type < VLT_END;
74 if (wagons != NULL && wagons != engines) wagons->
Clear();
79 if (v->
type != type)
continue;
80 if (v->
tile != tile)
continue;
107 if (wagons != NULL && wagons != engines) wagons->
Compact();
123 case VL_STATION_LIST:
128 FOR_VEHICLE_ORDERS(v, order) {
129 if ((order->
IsType(OT_GOTO_STATION) || order->
IsType(OT_GOTO_WAYPOINT) || order->
IsType(OT_IMPLICIT))
139 case VL_SHARED_ORDERS:
174 FOR_VEHICLE_ORDERS(v, order) {
184 default:
return false;