summaryrefslogtreecommitdiff
path: root/src/newgrf_industries.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-25 19:06:29 +0000
committerrubidium <rubidium@openttd.org>2007-07-25 19:06:29 +0000
commit9e3ee0e689343c7701453c0fa4220d21fa3c46ce (patch)
treef2e904bfcb0f95592e6d631d8b0bacddd27cbdd6 /src/newgrf_industries.h
parent77b0e30b763688e108f49f1d035aee8daa51c6ac (diff)
downloadopenttd-9e3ee0e689343c7701453c0fa4220d21fa3c46ce.tar.xz
(svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer.
Diffstat (limited to 'src/newgrf_industries.h')
-rw-r--r--src/newgrf_industries.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industries.h b/src/newgrf_industries.h
index fa25147c3..779050b33 100644
--- a/src/newgrf_industries.h
+++ b/src/newgrf_industries.h
@@ -10,7 +10,7 @@
/* in newgrf_industry.cpp */
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);
+uint16 GetIndustryCallback(CallbackID 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);
bool CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint itspec_index);