comparison Constants.lua @ 462:94e59c64a328

Initial Patch 7.0 support. All super obvious errors fixed, but probably many minor ones remain.
author MMOSimca <MMOSimca@gmail.com>
date Tue, 01 Dec 2015 19:33:30 -0500
parents 877f3632e292
children 063a09a99cb8
comparison
equal deleted inserted replaced
461:0b9c096d84d9 462:94e59c64a328
593 593
594 ----------------------------------------------------------------------- 594 -----------------------------------------------------------------------
595 -- Fundamental Constants. 595 -- Fundamental Constants.
596 ----------------------------------------------------------------------- 596 -----------------------------------------------------------------------
597 private.wow_version, private.build_num, _, private.interface_num = _G.GetBuildInfo() 597 private.wow_version, private.build_num, _, private.interface_num = _G.GetBuildInfo()
598 -- LEGION
599 private.isLegion = false
600 if private.interface_num == 70000 then private.isLegion = true end
598 private.region = GetCVar("portal"):sub(0,2):upper() 601 private.region = GetCVar("portal"):sub(0,2):upper()
599 -- PTR/Beta return "public-test", but they are properly called "XX" 602 -- PTR/Beta return "public-test", but they are properly called "XX"
600 if private.region == "PU" then private.region = "XX" end 603 if private.region == "PU" then private.region = "XX" end
601 604
602 private.UNIT_TYPES = { 605 private.UNIT_TYPES = {