staticconstuintTILE_SIZE=16;///< Tile size in world coordinates.
staticconstuintTILE_UNIT_MASK=TILE_SIZE-1;///< For masking in/out the inner-tile world coordinate units.
staticconstuintTILE_PIXELS=32;///< Pixel distance between tile columns/rows in #ZOOM_LVL_BASE.
staticconstuintTILE_HEIGHT=8;///< Height of a height level in world coordinate AND in pixels in #ZOOM_LVL_BASE.
staticconstuintTILE_PIXELS=32;///< Pixel distance between tile columns/rows in #ZOOM_BASE.
staticconstuintTILE_HEIGHT=8;///< Height of a height level in world coordinate AND in pixels in #ZOOM_BASE.
staticconstuintMAX_BUILDING_PIXELS=200;///< Maximum height of a building in pixels in #ZOOM_LVL_BASE. (Also applies to "bridge buildings" on the bridge floor.)
staticconstintMAX_VEHICLE_PIXEL_X=192;///< Maximum width of a vehicle in pixels in #ZOOM_LVL_BASE.
staticconstintMAX_VEHICLE_PIXEL_Y=96;///< Maximum height of a vehicle in pixels in #ZOOM_LVL_BASE.
staticconstuintMAX_BUILDING_PIXELS=200;///< Maximum height of a building in pixels in #ZOOM_BASE. (Also applies to "bridge buildings" on the bridge floor.)
staticconstintMAX_VEHICLE_PIXEL_X=192;///< Maximum width of a vehicle in pixels in #ZOOM_BASE.
staticconstintMAX_VEHICLE_PIXEL_Y=96;///< Maximum height of a vehicle in pixels in #ZOOM_BASE.
staticconstuintMAX_TILE_HEIGHT=255;///< Maximum allowed tile height
staticconstintMAX_TILE_EXTENT_LEFT=ZOOM_LVL_BASE *TILE_PIXELS;///< Maximum left extent of tile relative to north corner.
staticconstintMAX_TILE_EXTENT_RIGHT=ZOOM_LVL_BASE *TILE_PIXELS;///< Maximum right extent of tile relative to north corner.
staticconstintMAX_TILE_EXTENT_TOP=ZOOM_LVL_BASE *MAX_BUILDING_PIXELS;///< Maximum top extent of tile relative to north corner (not considering bridges).
staticconstintMAX_TILE_EXTENT_BOTTOM=ZOOM_LVL_BASE *(TILE_PIXELS+2*TILE_HEIGHT);///< Maximum bottom extent of tile relative to north corner (worst case: #SLOPE_STEEP_N).
staticconstintMAX_TILE_EXTENT_LEFT=ZOOM_BASE *TILE_PIXELS;///< Maximum left extent of tile relative to north corner.
staticconstintMAX_TILE_EXTENT_RIGHT=ZOOM_BASE *TILE_PIXELS;///< Maximum right extent of tile relative to north corner.
staticconstintMAX_TILE_EXTENT_TOP=ZOOM_BASE *MAX_BUILDING_PIXELS;///< Maximum top extent of tile relative to north corner (not considering bridges).
staticconstintMAX_TILE_EXTENT_BOTTOM=ZOOM_BASE *(TILE_PIXELS+2*TILE_HEIGHT);///< Maximum bottom extent of tile relative to north corner (worst case: #SLOPE_STEEP_N).
structStringSpriteToDraw{
std::stringstring;
@ -570,9 +570,9 @@ void DrawGroundSpriteAt(SpriteID image, PaletteID pal, int32_t x, int32_t y, int