File diff r10570:e200b86ce378 → r10571:99cb9a95b4cf
src/order_base.h
Show inline comments
 
@@ -428,10 +428,7 @@ static inline bool IsValidOrderListID(ui
 
#define FOR_VEHICLE_ORDERS(v, order) for (order = (v->orders.list == NULL) ? NULL : v->orders.list->GetFirstOrder(); order != NULL; order = order->next)
 

	
 

	
 
#define FOR_ALL_ORDER_LISTS_FROM(ol, start) for (ol = GetOrderList(start); ol != NULL; ol = (ol->index + 1U < GetOrderListPoolSize()) ? GetOrderList(ol->index + 1U) : NULL) if (ol->IsValid())
 
#define FOR_ALL_ORDER_LISTS(ol) FOR_ALL_ORDER_LISTS_FROM(ol, 0)
 

	
 
/* (Un)pack routines */
 
Order UnpackOldOrder(uint16 packed);
 

	
 
#endif /* ORDER_H */