diff options
author | rubidium <rubidium@openttd.org> | 2007-07-05 05:41:56 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-05 05:41:56 +0000 |
commit | 4c356457e6335692cb5e28f279724b97e3c1c608 (patch) | |
tree | 8f43488078024be2576c0659efafbe7b95adb002 /src/newgrf_industries.h | |
parent | aa04ad59f12b723543869a840bbfcc594469cac7 (diff) | |
download | openttd-4c356457e6335692cb5e28f279724b97e3c1c608.tar.xz |
(svn r10442) -Codechange: implement the industry production callback.
Diffstat (limited to 'src/newgrf_industries.h')
-rw-r--r-- | src/newgrf_industries.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_industries.h b/src/newgrf_industries.h index 5da4cef1a..0dee9d671 100644 --- a/src/newgrf_industries.h +++ b/src/newgrf_industries.h @@ -12,6 +12,7 @@ uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available); uint16 GetIndustryCallback(uint16 callback, uint32 param1, uint32 param2, Industry *industry, IndustryType type, TileIndex tile); uint32 GetIndustryIDAtOffset(TileIndex new_tile, TileIndex old_tile, const Industry *i); +void IndustryProductionCallback(Industry *ind, int reason); /* in newgrf_industrytiles.cpp*/ uint32 IndustryTileGetRandomBits(const ResolverObject *object); |