equal
deleted
inserted
replaced
19 |
19 |
20 static const CargoID CT_DEFAULT = NUM_CARGO + 0; |
20 static const CargoID CT_DEFAULT = NUM_CARGO + 0; |
21 static const CargoID CT_PURCHASE = NUM_CARGO + 1; |
21 static const CargoID CT_PURCHASE = NUM_CARGO + 1; |
22 static const CargoID CT_DEFAULT_NA = NUM_CARGO + 2; |
22 static const CargoID CT_DEFAULT_NA = NUM_CARGO + 2; |
23 |
23 |
|
24 /* Forward declarations of structs used */ |
24 struct CargoSpec; |
25 struct CargoSpec; |
|
26 struct GRFFile; |
25 |
27 |
26 SpriteID GetCustomCargoSprite(const CargoSpec *cs); |
28 SpriteID GetCustomCargoSprite(const CargoSpec *cs); |
27 uint16 GetCargoCallback(uint16 callback, uint32 param1, uint32 param2, const CargoSpec *cs); |
29 uint16 GetCargoCallback(uint16 callback, uint32 param1, uint32 param2, const CargoSpec *cs); |
|
30 CargoID GetCargoTranslation(uint8 cargo, const GRFFile *grffile); |
28 |
31 |
29 #endif /* NEWGRF_CARGO_H */ |
32 #endif /* NEWGRF_CARGO_H */ |