diff options
author | tron <tron@openttd.org> | 2005-11-13 13:43:55 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-11-13 13:43:55 +0000 |
commit | ee15e3de13643b2d09abcc5424bf8e2d916cff75 (patch) | |
tree | 385ce09aff7cf19e072a627e83e91fe8a5f3fb3b /vehicle.h | |
parent | 59e885c2bff5b1af6d7f5473106e9aa1f562abfd (diff) | |
download | openttd-ee15e3de13643b2d09abcc5424bf8e2d916cff75.tar.xz |
(svn r3172) static, const
Diffstat (limited to 'vehicle.h')
-rw-r--r-- | vehicle.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -293,7 +293,7 @@ void AfterLoadVehicles(void); Vehicle *GetLastVehicleInChain(Vehicle *v); Vehicle *GetPrevVehicleInChain(const Vehicle *v); Vehicle *GetFirstVehicleInChain(const Vehicle *v); -int CountVehiclesInChain(Vehicle *v); +uint CountVehiclesInChain(const Vehicle* v); void DeleteVehicle(Vehicle *v); void DeleteVehicleChain(Vehicle *v); void *VehicleFromPos(TileIndex tile, void *data, VehicleFromPosProc *proc); @@ -323,7 +323,7 @@ Vehicle *CreateEffectVehicleRel(const Vehicle *v, int x, int y, int z, EffectVeh uint32 VehicleEnterTile(Vehicle *v, TileIndex tile, int x, int y); -void VehicleInTheWayErrMsg(Vehicle *v); +void VehicleInTheWayErrMsg(const Vehicle* v); Vehicle *FindVehicleBetween(TileIndex from, TileIndex to, byte z); TileIndex GetVehicleOutOfTunnelTile(const Vehicle *v); |