diff options
author | peter1138 <peter1138@openttd.org> | 2007-03-23 20:55:45 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-03-23 20:55:45 +0000 |
commit | 68572f1076de258cc8ec26926d1e87503f6a9aae (patch) | |
tree | e63cd1b8346fd2727f464367928e91ad1aac22ca /src/newgrf_cargo.h | |
parent | 8353032129970458bfb76c40972e9a575432c6a0 (diff) | |
download | openttd-68572f1076de258cc8ec26926d1e87503f6a9aae.tar.xz |
(svn r9418) -Codechange: Implement actions 1/2/3 for cargos, callback handler and custom icon sprites
Diffstat (limited to 'src/newgrf_cargo.h')
-rw-r--r-- | src/newgrf_cargo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/newgrf_cargo.h b/src/newgrf_cargo.h index 2711d1352..e37d45ee0 100644 --- a/src/newgrf_cargo.h +++ b/src/newgrf_cargo.h @@ -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 */ |