diff options
author | Darkvater <darkvater@openttd.org> | 2005-05-14 12:36:16 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-05-14 12:36:16 +0000 |
commit | 5174d3adfe9e3b120fd2c50847c7f9cf772a702b (patch) | |
tree | 1e61fee7bb3cc51b1847fb0b48b1f3cec7699f5a /vehicle.h | |
parent | 3a4bedaad61c990c511cd1c23380546a9eebd358 (diff) | |
download | openttd-5174d3adfe9e3b120fd2c50847c7f9cf772a702b.tar.xz |
(svn r2306) - CodeChange: Check the last commands; refits. This needed an extensive rewrite and global/local-cargo ID juggling and bitmasking. However with this done it looks better as well and is compatible with newgrf handling. Big thanks to HackyKid for doing most of the work. This also closes patch "[ 1199277 ] Command checks"
Diffstat (limited to 'vehicle.h')
-rw-r--r-- | vehicle.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -262,6 +262,7 @@ Vehicle *FindVehicleOnTileZ(TileIndex tile, byte z); void InitializeTrains(void); bool CanFillVehicle(Vehicle *v); +bool CanRefitTo(const Vehicle *v, CargoID cid_to); void ViewportAddVehicles(DrawPixelInfo *dpi); |