diff options
author | peter1138 <peter1138@openttd.org> | 2007-04-13 19:32:18 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-04-13 19:32:18 +0000 |
commit | 59399480b3af919eea479b1dd3e2ee69dcd0bc5a (patch) | |
tree | 78427100f591828f22b4bf1543e50769733875e1 /src/newgrf_cargo.h | |
parent | 39735f7b549d256e32b64ab837d15aaba6a82885 (diff) | |
download | openttd-59399480b3af919eea479b1dd3e2ee69dcd0bc5a.tar.xz |
(svn r9620) -Codechange: apply cargo translation table to newstation variables 0x60..0x65
Diffstat (limited to 'src/newgrf_cargo.h')
-rw-r--r-- | src/newgrf_cargo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_cargo.h b/src/newgrf_cargo.h index 1fd3b3d45..55df3729b 100644 --- a/src/newgrf_cargo.h +++ b/src/newgrf_cargo.h @@ -21,9 +21,12 @@ static const CargoID CT_DEFAULT = NUM_CARGO + 0; static const CargoID CT_PURCHASE = NUM_CARGO + 1; static const CargoID CT_DEFAULT_NA = NUM_CARGO + 2; +/* Forward declarations of structs used */ struct CargoSpec; +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); #endif /* NEWGRF_CARGO_H */ |