tree_cmd.c
changeset 2436 7d5df545bd5d
parent 2243 b7e58afa3616
child 2537 5e4ca74e995a
equal deleted inserted replaced
2435:9b9d43988058 2436:7d5df545bd5d
   341 
   341 
   342 static uint GetSlopeZ_Trees(TileInfo *ti) {
   342 static uint GetSlopeZ_Trees(TileInfo *ti) {
   343 	return GetPartialZ(ti->x & 0xF, ti->y & 0xF, ti->tileh) + ti->z;
   343 	return GetPartialZ(ti->x & 0xF, ti->y & 0xF, ti->tileh) + ti->z;
   344 }
   344 }
   345 
   345 
   346 static uint GetSlopeTileh_Trees(TileInfo *ti) {
   346 static uint GetSlopeTileh_Trees(const TileInfo *ti) {
   347 	return ti->tileh;
   347 	return ti->tileh;
   348 }
   348 }
   349 
   349 
   350 static int32 ClearTile_Trees(TileIndex tile, byte flags)
   350 static int32 ClearTile_Trees(TileIndex tile, byte flags)
   351 {
   351 {
   615 static uint32 GetTileTrackStatus_Trees(TileIndex tile, TransportType mode)
   615 static uint32 GetTileTrackStatus_Trees(TileIndex tile, TransportType mode)
   616 {
   616 {
   617 	return 0;
   617 	return 0;
   618 }
   618 }
   619 
   619 
   620 static void ChangeTileOwner_Trees(TileIndex tile, byte old_player, byte new_player)
   620 static void ChangeTileOwner_Trees(TileIndex tile, PlayerID old_player, PlayerID new_player)
   621 {
   621 {
   622 	/* not used */
   622 	/* not used */
   623 }
   623 }
   624 
   624 
   625 void InitializeTrees(void)
   625 void InitializeTrees(void)