1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
----
-- ZO_ZoneStoriesTile
----
local ZONE_STORIES_TILE_SOURCE_WIDTH = 1024
local ZONE_STORIES_TILE_TEXTURE_WIDTH = 620
ZO_ZONE_STORIES_TILE_TEXTURE_COORDS_RIGHT = ZONE_STORIES_TILE_TEXTURE_WIDTH / ZONE_STORIES_TILE_SOURCE_WIDTH
local ZONE_STORIES_TILE_SOURCE_HEIGHT = 512
local ZONE_STORIES_TILE_TEXTURE_HEIGHT = ZONE_STORIES_TILE_TEXTURE_WIDTH / ZO_MARKET_ANNOUNCEMENT_TILE_DIMENSIONS_ASPECT_RATIO
local ZONE_STORIES_TILE_CENTERED_HEIGHT_OFFSET = ( ZONE_STORIES_TILE_SOURCE_HEIGHT - ZONE_STORIES_TILE_TEXTURE_HEIGHT ) / 2
ZO_ZONE_STORIES_TILE_TEXTURE_COORDS_TOP = ZONE_STORIES_TILE_CENTERED_HEIGHT_OFFSET / ZONE_STORIES_TILE_SOURCE_HEIGHT
ZO_ZONE_STORIES_TILE_TEXTURE_COORDS_BOTTOM = ( ZONE_STORIES_TILE_SOURCE_HEIGHT - ZONE_STORIES_TILE_CENTERED_HEIGHT_OFFSET ) / ZONE_STORIES_TILE_SOURCE_HEIGHT
end
-- The tile on all platforms is of a landscape dimension rather than portrait as in gamepad,
-- so we want to use the keyboard background on tiles regardless of platform.
end )
end |