(svn r9620) -Codechange: apply cargo translation table to newstation variables 0x60..0x65

This commit is contained in:
peter1138
2007-04-13 19:32:18 +00:00
parent 5775fb475f
commit ed8a66e3d1
5 changed files with 54 additions and 6 deletions

View File

@@ -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 */