src/town_map.h
branchgamebalance
changeset 9908 0fa543611bbe
parent 9896 2473804114de
child 6743 cabfaa4a0295
equal deleted inserted replaced
9907:3b068c3a1c74 9908:0fa543611bbe
   125 }
   125 }
   126 
   126 
   127 /**
   127 /**
   128  * Set the position of the lift on this animated house
   128  * Set the position of the lift on this animated house
   129  * @param t the tile
   129  * @param t the tile
   130  * @param pos, from 0 to 36
   130  * @param pos position, from 0 to 36
   131  */
   131  */
   132 static inline void SetLiftPosition(TileIndex t, byte pos)
   132 static inline void SetLiftPosition(TileIndex t, byte pos)
   133 {
   133 {
   134 	SB(_m[t].m6, 2, 6, pos);
   134 	SB(_m[t].m6, 2, 6, pos);
   135 }
   135 }
   313 }
   313 }
   314 
   314 
   315 /**
   315 /**
   316  * Set the activated triggers bits for this house.
   316  * Set the activated triggers bits for this house.
   317  * This is required for newgrf house
   317  * This is required for newgrf house
   318  * @param t the tile of this house
   318  * @param t        the tile of this house
       
   319  * @param triggers the activated triggers
   319  * @pre IsTileType(t, MP_HOUSE)
   320  * @pre IsTileType(t, MP_HOUSE)
   320  */
   321  */
   321 static inline void SetHouseTriggers(TileIndex t, byte triggers)
   322 static inline void SetHouseTriggers(TileIndex t, byte triggers)
   322 {
   323 {
   323 	assert(IsTileType(t, MP_HOUSE));
   324 	assert(IsTileType(t, MP_HOUSE));