diff options
author | rubidium <rubidium@openttd.org> | 2010-10-16 13:15:54 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-10-16 13:15:54 +0000 |
commit | 0b67a7ccd53725f7734cb4dd45cc24edae9b9702 (patch) | |
tree | b11501a1854e1865d002080bc8b9f1ffb45c21b2 /src/newgrf_industrytiles.h | |
parent | a1b4f0b4c3b6d7074b338b4d7af4890eb16fdc65 (diff) | |
download | openttd-0b67a7ccd53725f7734cb4dd45cc24edae9b9702.tar.xz |
(svn r20942) -Feature [NewGRF]: make it possible to distinguish player built/randomly placed industries in the location and land slope check callbacks
Diffstat (limited to 'src/newgrf_industrytiles.h')
-rw-r--r-- | src/newgrf_industrytiles.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industrytiles.h b/src/newgrf_industrytiles.h index 1a1922968..8526a1f53 100644 --- a/src/newgrf_industrytiles.h +++ b/src/newgrf_industrytiles.h @@ -20,7 +20,7 @@ bool DrawNewIndustryTile(TileInfo *ti, Industry *i, IndustryGfx gfx, const IndustryTileSpec *inds); uint16 GetIndustryTileCallback(CallbackID callback, uint32 param1, uint32 param2, IndustryGfx gfx_id, Industry *industry, TileIndex tile); -CommandCost PerformIndustryTileSlopeCheck(TileIndex ind_base_tile, TileIndex ind_tile, const IndustryTileSpec *its, IndustryType type, IndustryGfx gfx, uint itspec_index, uint16 initial_random_bits, Owner founder); +CommandCost PerformIndustryTileSlopeCheck(TileIndex ind_base_tile, TileIndex ind_tile, const IndustryTileSpec *its, IndustryType type, IndustryGfx gfx, uint itspec_index, uint16 initial_random_bits, Owner founder, IndustryAvailabilityCallType creation_type); void AnimateNewIndustryTile(TileIndex tile); bool StartStopIndustryTileAnimation(TileIndex tile, IndustryAnimationTrigger iat, uint32 random = Random()); |