src/newgrf_house.h
branchnoai
changeset 9722 ebf0ece7d8f6
parent 9694 e72987579514
child 6872 1c4a4a609f85
child 9723 eee46cb39750
--- a/src/newgrf_house.h	Thu Nov 22 23:01:41 2007 +0000
+++ b/src/newgrf_house.h	Fri Nov 23 16:59:30 2007 +0000
@@ -45,4 +45,15 @@
 
 bool NewHouseTileLoop(TileIndex tile);
 
+enum HouseTrigger {
+	/* The tile of the house has been triggered during the tileloop. */
+	HOUSE_TRIGGER_TILE_LOOP     = 0x01,
+	/*
+	 * The top tile of a (multitile) building has been triggered during and all
+	 * the tileloop other tiles of the same building get the same random value.
+	 */
+	HOUSE_TRIGGER_TILE_LOOP_TOP = 0x02,
+};
+void TriggerHouse(TileIndex t, HouseTrigger trigger);
+
 #endif /* NEWGRF_HOUSE_H */