(svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
This commit is contained in:
@@ -39,7 +39,8 @@ 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();
|
||||
|
||||
Reference in New Issue
Block a user