(svn r9418) -Codechange: Implement actions 1/2/3 for cargos, callback handler and custom icon sprites

This commit is contained in:
peter1138
2007-03-23 20:55:45 +00:00
parent 8353032129
commit 68572f1076
10 changed files with 155 additions and 4 deletions

View File

@@ -21,4 +21,9 @@ 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;
typedef struct CargoSpec;
SpriteID GetCustomCargoSprite(const CargoSpec *cs);
uint16 GetCargoCallback(uint16 callback, uint32 param1, uint32 param2, const CargoSpec *cs);
#endif /* NEWGRF_CARGO_H */