File diff r7334:9402325cee09 → r7335:93bf5f4b6ce4
src/landscape.h
Show inline comments
 
@@ -30,25 +30,26 @@ static inline Point RemapCoords(int x, i
 
{
 
	Point pt;
 
	pt.x = (y - x) * 2;
 
	pt.y = y + x - z;
 
	return pt;
 
}
 

	
 
static inline Point RemapCoords2(int x, int y)
 
{
 
	return RemapCoords(x, y, GetSlopeZ(x, y));
 
}
 

	
 
void DrawFoundation(TileInfo *ti, uint f);
 
uint ApplyFoundationToSlope(Foundation f, Slope *s);
 
void DrawFoundation(TileInfo *ti, Foundation f);
 

	
 
void DoClearSquare(TileIndex tile);
 
void RunTileLoop();
 

	
 
uint32 GetTileTrackStatus(TileIndex tile, TransportType mode, uint sub_mode);
 
void GetAcceptedCargo(TileIndex tile, AcceptedCargo ac);
 
void ChangeTileOwner(TileIndex tile, PlayerID old_player, PlayerID new_player);
 
void AnimateTile(TileIndex tile);
 
void ClickTile(TileIndex tile);
 
void GetTileDesc(TileIndex tile, TileDesc *td);
 

	
 
void InitializeLandscape();