(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.

This commit is contained in:
rubidium
2007-01-10 18:56:51 +00:00
parent a332d10fd9
commit f35ed4bbc2
190 changed files with 2825 additions and 2208 deletions

View File

@@ -16,7 +16,7 @@ Slope GetTileSlope(TileIndex tile, uint *h)
if (TileX(tile) == MapMaxX() || TileY(tile) == MapMaxY()) {
if (h != NULL) *h = 0;
return 0;
return SLOPE_FLAT;
}
min = a = TileHeight(tile);
@@ -35,7 +35,7 @@ Slope GetTileSlope(TileIndex tile, uint *h)
if (h != NULL) *h = min * TILE_HEIGHT;
return r;
return (Slope)r;
}
uint GetTileZ(TileIndex tile)