diff options
author | rubidium <rubidium@openttd.org> | 2007-07-08 17:40:04 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-08 17:40:04 +0000 |
commit | 283a06e4a195fabea413c55e236586a880c794f6 (patch) | |
tree | e8b08f0eebf44557962f1210eb8b7887d9d999bf /src/newgrf_cargo.h | |
parent | fd2d67784911fc545883f3911790ecc38d43e0e0 (diff) | |
download | openttd-283a06e4a195fabea413c55e236586a880c794f6.tar.xz |
(svn r10477) -Codechange: add some callbacks to customise the acceptance of industries.
Diffstat (limited to 'src/newgrf_cargo.h')
-rw-r--r-- | src/newgrf_cargo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_cargo.h b/src/newgrf_cargo.h index 55df3729b..e3f544d61 100644 --- a/src/newgrf_cargo.h +++ b/src/newgrf_cargo.h @@ -28,5 +28,6 @@ struct GRFFile; SpriteID GetCustomCargoSprite(const CargoSpec *cs); uint16 GetCargoCallback(uint16 callback, uint32 param1, uint32 param2, const CargoSpec *cs); CargoID GetCargoTranslation(uint8 cargo, const GRFFile *grffile); +uint8 GetReverseCargoTranslation(CargoID cargo, const GRFFile *grffile); #endif /* NEWGRF_CARGO_H */ |