Changeset - r22759:f3891f5dd1d5
[Not reviewed]
master
0 1 0
frosch - 6 years ago 2018-03-11 13:25:26
frosch@openttd.org
(svn r27987) -Change: Increase maximum allowed vehicle sprite size to reduce clipping of ships.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/tile_type.h
Show inline comments
 
@@ -18,8 +18,8 @@ static const uint TILE_PIXELS         = 
 
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
 

	
0 comments (0 inline, 0 general)