src/town_map.h
branchnoai
changeset 9732 f8eb3e208514
parent 9723 eee46cb39750
child 9826 9707ad4c9b60
--- a/src/town_map.h	Thu Feb 21 22:34:54 2008 +0000
+++ b/src/town_map.h	Fri Feb 22 00:25:54 2008 +0000
@@ -211,26 +211,6 @@
 }
 
 /**
- * Helper function for MakeHouseTile.
- * It is called  for each tile of a multi-tile house.
- * Parametes are the same.
- * @param t tile index
- * @param tid Town index
- * @param counter of construction step
- * @param stage of construction (used for drawing)
- * @param type of house.  Index into house specs array
- * @param random_bits required for newgrf houses
- */
-static inline void MakeTownHouse(TileIndex t, TownID tid, byte counter, byte stage, HouseID type, byte random_bits)
-{
-	BuildingFlags size = GetHouseSpecs(type)->building_flags;
-	MakeHouseTile(t, tid, counter, stage, type, random_bits);
-	if (size & BUILDING_2_TILES_Y)   MakeHouseTile(t + TileDiffXY(0, 1), tid, counter, stage, ++type, random_bits);
-	if (size & BUILDING_2_TILES_X)   MakeHouseTile(t + TileDiffXY(1, 0), tid, counter, stage, ++type, random_bits);
-	if (size & BUILDING_HAS_4_TILES) MakeHouseTile(t + TileDiffXY(1, 1), tid, counter, stage, ++type, random_bits);
-}
-
-/**
  * House Construction Scheme.
  *  Construction counter, for buildings under construction. Incremented on every
  *  periodic tile processing.