diff options
author | michi_cc <michi_cc@openttd.org> | 2011-10-31 22:31:40 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2011-10-31 22:31:40 +0000 |
commit | e094d7db624b69d2f0121e84e07abdb821f45ec9 (patch) | |
tree | 48fc1d4db1dd49d16838af094d6db5c323c7398d /src/newgrf_house.h | |
parent | f66cd97776cd73c653fad685c9a74538b4d8a2a8 (diff) | |
download | openttd-e094d7db624b69d2f0121e84e07abdb821f45ec9.tar.xz |
(svn r23072) -Feature: [NewGRF] House callback 0x148.
Diffstat (limited to 'src/newgrf_house.h')
-rw-r--r-- | src/newgrf_house.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newgrf_house.h b/src/newgrf_house.h index 62748ec82..dc36336f2 100644 --- a/src/newgrf_house.h +++ b/src/newgrf_house.h @@ -44,7 +44,8 @@ void DrawNewHouseTile(TileInfo *ti, HouseID house_id); void AnimateNewHouseTile(TileIndex tile); void AnimateNewHouseConstruction(TileIndex tile); -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); +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, uint32 watched_cargo_triggers = 0); +void WatchedCargoCallback(TileIndex tile, uint32 trigger_cargoes); bool CanDeleteHouse(TileIndex tile); |