12 #ifndef NEWGRF_HOUSE_H
13 #define NEWGRF_HOUSE_H
42 :
ScopeResolver(ro), house_id(house_id), tile(tile), town(town), not_yet_constructed(not_yet_constructed),
43 initial_random_bits(initial_random_bits), watched_cargo_triggers(watched_cargo_triggers)
48 uint32
GetVariable(byte variable, uint32 parameter,
bool *available)
const;
59 bool not_yet_constructed =
false, uint8 initial_random_bits = 0, uint32 watched_cargo_triggers = 0);
89 HouseClassID AllocateHouseClassID(byte grf_class_id, uint32 grfid);
91 void InitializeBuildingCounts();
97 void AnimateNewHouseConstruction(
TileIndex tile);
100 bool not_yet_constructed =
false, uint8 initial_random_bits = 0, uint32 watched_cargo_triggers = 0);
109 HOUSE_TRIGGER_TILE_LOOP = 0x01,
114 HOUSE_TRIGGER_TILE_LOOP_TOP = 0x02,
116 void TriggerHouse(
TileIndex t, HouseTrigger trigger);