Commit 45ffd3b6 authored by Simpy's avatar Simpy 🐹

cache stuff in /core

parent 476a7b67
......@@ -57,7 +57,6 @@ local GetAddOnEnableState = GetAddOnEnableState
local UIParentLoadAddOn = UIParentLoadAddOn
local UnitGroupRolesAssigned = UnitGroupRolesAssigned
local UnitHasVehicleUI = UnitHasVehicleUI
local WrapTextInColorCode = WrapTextInColorCode
local UnitStat, UnitAttackPower = UnitStat, UnitAttackPower
local hooksecurefunc = hooksecurefunc
local LE_PARTY_CATEGORY_HOME = LE_PARTY_CATEGORY_HOME
......
......@@ -5,6 +5,7 @@ local tinsert, tremove, next, wipe, ipairs = tinsert, tremove, next, wipe, ipair
local select, tonumber, type, unpack = select, tonumber, type, unpack
local atan2, modf, ceil, floor, abs, sqrt, mod = math.atan2, math.modf, math.ceil, math.floor, math.abs, math.sqrt, mod
local format, strsub, strupper, gsub, gmatch, utf8sub = format, strsub, strupper, gsub, gmatch, string.utf8sub
local tostring, pairs = tostring, pairs
--WoW API / Variables
local CreateFrame = CreateFrame
local UnitPosition = UnitPosition
......
......@@ -2,6 +2,7 @@ local E, L, V, P, G = unpack(select(2, ...)); --Import: Engine, Locales, Private
-- Credit: ls- (lightspark)
local abs, next, Lerp = abs, next, Lerp
local tonumber, assert = tonumber, assert
local activeObjects = {}
local handledObjects = {}
local TARGET_FPS = 60
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment