diff options
author | alberth <alberth@openttd.org> | 2010-08-06 19:56:14 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-08-06 19:56:14 +0000 |
commit | e0e66b6ed0c1085bdaefc6ac951c043a51525975 (patch) | |
tree | 730e9811a41cae2818038c43b1bf1feb01f20234 /src/vehicle_func.h | |
parent | 90a35d2e5b3728a8cd7fe1717d6c940b525cca9e (diff) | |
download | openttd-e0e66b6ed0c1085bdaefc6ac951c043a51525975.tar.xz |
(svn r20390) -Codechange: Move company vehicle counting to vehicle.cpp.
Diffstat (limited to 'src/vehicle_func.h')
-rw-r--r-- | src/vehicle_func.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicle_func.h b/src/vehicle_func.h index a0b976ef4..7dc5839e5 100644 --- a/src/vehicle_func.h +++ b/src/vehicle_func.h @@ -30,6 +30,7 @@ typedef Vehicle *VehicleFromPosProc(Vehicle *v, void *data); void VehicleServiceInDepot(Vehicle *v); uint CountVehiclesInChain(const Vehicle *v); +void CountCompanyVehicles(CompanyID cid, uint counts[4]); void FindVehicleOnPos(TileIndex tile, void *data, VehicleFromPosProc *proc); void FindVehicleOnPosXY(int x, int y, void *data, VehicleFromPosProc *proc); bool HasVehicleOnPos(TileIndex tile, void *data, VehicleFromPosProc *proc); |