Yeah, that's what led me down the path of finding the .lua file with the new API calls.
Unfortunately, I'm not finding a proper replacement for GetWorldMapTransforms(). This function resides in HereBeDragons, which is used by a lot of addons (including TomTom, HandyNotes, etc):
Code:
local function processTransforms()
wipe(transforms)
for _, tID in ipairs(GetWorldMapTransforms()) do
local terrainMapID, newTerrainMapID, _, _, transformMinY, transformMaxY, transformMinX, transformMaxX, offsetY, offsetX, flags = GetWorldMapTransformInfo(tID)
-- flag 4 indicates the transform is only for the flight map
if band(flags, 4) ~= 4 and (offsetY ~= 0 or offsetX ~= 0) then
local transform = {
instanceID = terrainMapID,
newInstanceID = newTerrainMapID,
minY = transformMinY,
maxY = transformMaxY,
minX = transformMinX,
maxX = transformMaxX,
offsetY = offsetY,
offsetX = offsetX
}
table.insert(transforms, transform)
end
end
en
Any clues?