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;
57 bool ret = this->
Unpack(data);
72 if (wagons != NULL && wagons != engines) wagons->
Clear();
77 if (v->
type != type)
continue;
78 if (v->
tile != tile)
continue;
105 if (wagons != NULL && wagons != engines) wagons->
Compact();
121 case VL_STATION_LIST:
126 FOR_VEHICLE_ORDERS(v, order) {
127 if ((order->
IsType(OT_GOTO_STATION) || order->
IsType(OT_GOTO_WAYPOINT) || order->
IsType(OT_IMPLICIT))
137 case VL_SHARED_ORDERS:
172 FOR_VEHICLE_ORDERS(v, order) {
182 default:
return false;