(svn r4541) Add a type for slopes and replace many magic numbers by the appropriate enums

This commit is contained in:
tron
2006-04-23 13:48:16 +00:00
parent fa213c686e
commit dd180a1e18
28 changed files with 339 additions and 292 deletions

View File

@@ -19,9 +19,9 @@ static uint GetSlopeZ_Dummy(const TileInfo* ti)
return 0;
}
static uint GetSlopeTileh_Dummy(TileIndex tile, uint tileh)
static Slope GetSlopeTileh_Dummy(TileIndex tile, Slope tileh)
{
return 0;
return SLOPE_FLAT;
}
static int32 ClearTile_Dummy(TileIndex tile, byte flags)