diff options
author | frosch <frosch@openttd.org> | 2018-03-11 13:25:26 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2018-03-11 13:25:26 +0000 |
commit | 043274afd6dd2c74fa4a11795493ae0148799f22 (patch) | |
tree | 3b6ef4abb8986483a544f852bbe0da57984d9a0b /src/tile_type.h | |
parent | 55588996213dc551ad47625c0111c1bc72c50d23 (diff) | |
download | openttd-043274afd6dd2c74fa4a11795493ae0148799f22.tar.xz |
(svn r27987) -Change: Increase maximum allowed vehicle sprite size to reduce clipping of ships.
Diffstat (limited to 'src/tile_type.h')
-rw-r--r-- | src/tile_type.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tile_type.h b/src/tile_type.h index eb5e8234c..c02ba4fc4 100644 --- a/src/tile_type.h +++ b/src/tile_type.h @@ -18,8 +18,8 @@ static const uint TILE_PIXELS = 32; ///< Pixel distan static const uint TILE_HEIGHT = 8; ///< Height of a height level in world coordinate AND in pixels in #ZOOM_LVL_BASE. static const uint MAX_BUILDING_PIXELS = 200; ///< Maximum height of a building in pixels in #ZOOM_LVL_BASE. (Also applies to "bridge buildings" on the bridge floor.) -static const int MAX_VEHICLE_PIXEL_X = 70; ///< Maximum width of a vehicle in pixels in #ZOOM_LVL_BASE. -static const int MAX_VEHICLE_PIXEL_Y = 70; ///< Maximum height of a vehicle in pixels in #ZOOM_LVL_BASE. +static const int MAX_VEHICLE_PIXEL_X = 192; ///< Maximum width of a vehicle in pixels in #ZOOM_LVL_BASE. +static const int MAX_VEHICLE_PIXEL_Y = 96; ///< Maximum height of a vehicle in pixels in #ZOOM_LVL_BASE. static const uint MAX_TILE_HEIGHT = 255; ///< Maximum allowed tile height |