diff options
author | frosch <frosch@openttd.org> | 2010-05-01 13:09:49 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-05-01 13:09:49 +0000 |
commit | 910aade284ef2b3212663c81f4e15e77b1c7120d (patch) | |
tree | 1975bbb8eeb58de9cd174667fc7f7654eee89d10 /src/newgrf_house.h | |
parent | 77953032274c3bb49c8b22ff7a2767412586c5a7 (diff) | |
download | openttd-910aade284ef2b3212663c81f4e15e77b1c7120d.tar.xz |
(svn r19744) -Add [FS#3477]: [NewGRF] Access to random bits of houses and industries from construction callbacks 17, 28 and 2F. That is: The randombits the house/industry will start with, if construction succeeds.
Diffstat (limited to 'src/newgrf_house.h')
-rw-r--r-- | src/newgrf_house.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_house.h b/src/newgrf_house.h index 461ff177c..7a5fc05b8 100644 --- a/src/newgrf_house.h +++ b/src/newgrf_house.h @@ -44,7 +44,7 @@ void DrawNewHouseTile(TileInfo *ti, HouseID house_id); void AnimateNewHouseTile(TileIndex tile); void ChangeHouseAnimationFrame(const struct GRFFile *file, TileIndex tile, uint16 callback_result); -uint16 GetHouseCallback(CallbackID callback, uint32 param1, uint32 param2, HouseID house_id, Town *town, TileIndex tile, bool not_yet_constructed = false); +uint16 GetHouseCallback(CallbackID callback, uint32 param1, uint32 param2, HouseID house_id, Town *town, TileIndex tile, bool not_yet_constructed = false, uint8 initial_random_bits = 0); bool CanDeleteHouse(TileIndex tile); |