Skip to content

Commit

Permalink
1.2.27-Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Goldpaw committed Sep 7, 2022
1 parent 541b614 commit 14ebd9e
Show file tree
Hide file tree
Showing 2 changed files with 241 additions and 6 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ All notable changes to this project will be documented in this file. All notable
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.2.26-Release] 2022-09-07
- Switching to single addon multiple toc-file format.

## [1.2.27-Release] 2022-09-07
### Added
- Added levels for Wrath zones.
- Added fog of war removal for Wrath zones.

### Changed
- Switched to single addon with multiple toc-file format.

## [1.2.25-Release] 2022-07-09
- Bump for Classic Era client patch 1.14.3.
Expand Down
239 changes: 236 additions & 3 deletions ClassicWorldMapEnhanced/data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ local _,ns = ...

-- Simple client version checks
local Version = tonumber((string.split(".", (GetBuildInfo())))) or 0
ns.isCompatible = (Version == 1) or (Version == 2)
ns.isCompatible = (Version == 1) or (Version == 2) or (Version == 3)
if (not ns.isCompatible) then
return
end
Expand All @@ -19,6 +19,7 @@ if (Version >= 1) then
-- Zone Levels & Factions
-- Using: https://wow.gamepedia.com/Zones_by_level_(Classic)
----------------------------------------------------
-- [uiMapID]
merge(zoneData, {

-- Eastern Kingdoms
Expand Down Expand Up @@ -67,10 +68,14 @@ if (Version >= 1) then
})

----------------------------------------------------------------------
-- wow.tools/api/export/?name=worldmapoverlay&build=1.13.2.31727
-- wow.tools/api/export/?name=worldmapoverlaytile&build=1.13.2.31727
-- https://wow.tools/api/export/?name=worldmapoverlay&build=1.13.2.31727
-- https://wow.tools/api/export/?name=worldmapoverlaytile&build=1.13.2.31727
----------------------------------------------------------------------
-- [uiMapArtID]
merge(zoneReveal, {
--[uiMapArtID] = {
-- ["TextureWidth:TextureHeight:OffsetX:OffsetY"] = "FileDataID, FileDataID, ..."
--},
[1194] = {
["128:110:464:33"] = "271427",
["160:120:413:476"] = "2212659",
Expand Down Expand Up @@ -239,6 +244,7 @@ if (Version >= 1) then
["340:288:307:16"] = "273095, 273111, 273100, 273090",
["370:270:504:343"] = "273119, 273092, 273112, 273093"
},
-- Eastern Plaguelands
[1213] = {
["165:160:537:367"] = "271544",
["175:245:716:299"] = "271533",
Expand Down Expand Up @@ -688,6 +694,7 @@ if (Version >= 2) then
-- Zone Levels & Factions
-- Using: https://wowpedia.fandom.com/wiki/Zones_by_level_(original)
----------------------------------------------------
-- [uiMapID]
merge(zoneData, {

-- Eastern Kingdoms
Expand Down Expand Up @@ -715,6 +722,7 @@ if (Version >= 2) then
-- https://wow.tools/api/export/?name=worldmapoverlay&build=2.5.1.38677
----------------------------------------------------------------------
-- Changes
-- [uiMapArtID]
zoneReveal[1194]["240:255:0:148"] = nil
zoneReveal[1194]["255:205:17:310"] = nil
zoneReveal[1194]["255:220:12:428"] = nil
Expand All @@ -726,6 +734,7 @@ if (Version >= 2) then
zoneReveal[1210]["128:256:537:299"] = "273015"

-- Additions
-- [uiMapArtID]
merge(zoneReveal, {
[1628] = {
["128:193:554:475"] = "271603",
Expand Down Expand Up @@ -989,6 +998,7 @@ if (Version >= 3) then
-- Using: https://wowpedia.fandom.com/wiki/Zones_by_level_(original)
-- https://wow.tools/maps/worldmap.php?bc=0f30de7bdb3f5ae9c9e8d06c942cf722
----------------------------------------------------
-- [uiMapID]
merge(zoneData, {

-- Eastern Kingdoms
Expand All @@ -1008,6 +1018,229 @@ if (Version >= 3) then
[ 121] = { min = 74, max = 76 } -- Zul Drak

})

----------------------------------------------------------------------
-- uiMapID > uiMapArtID:
-- https://wow.tools/dbc/api/export/?name=uimapxmapart&build=3.4.0.45435
-- https://wow.tools/api/export/?name=worldmapoverlay&build=3.4.0.45435
-- https://wow.tools/api/export/?name=worldmapoverlaytile&build=3.4.0.45435
----------------------------------------------------------------------
-- Changes
-- [uiMapArtID]
-- Eastern Plaguelands
-- *squashed from adding Scarlet Enclave
zoneReveal[1213] = {
["256:243:164:0"] = "271529",
["384:288:139:61"] = "271518, 271527, 2212703, 2212704",
["256:256:49:76"] = "271522",
["256:256:392:14"] = "271535",
["256:256:427:87"] = "271521",
["256:256:584:8"] = "271554",
["256:256:590:106"] = "271520",
["256:256:412:177"] = "271523",
["256:256:562:219"] = "271542",
["256:256:692:144"] = "271537",
["256:256:379:323"] = "271543",
["256:256:656:277"] = "271533",
["256:197:687:449"] = "271553",
["256:205:474:412"] = "271532",
["256:256:471:345"] = "271544",
["256:288:590:269"] = "2212700, 4357862",
["256:179:279:467"] = "271514",
["256:256:241:239"] = "271536",
["256:256:261:379"] = "271548",
["256:191:142:455"] = "271512",
["256:256:126:338"] = "271551",
["256:384:0:209"] = "2212705, 2212706",
["284:450:718:218"] = "4357864, 4357866, 4357868, 4357870"
}

-- Additions
-- [uiMapArtID]
merge(zoneReveal, {
-- Plaguelands: The Scarlet Enclave
-- *nothing there?
--[ 129] = {},

-- Borean Tundra
[ 119] = {
["290:292:712:15"] = "270826, 270865, 270759, 270763",
["244:319:397:66"] = "270900, 270819",
["382:258:293:383"] = "270761, 270879, 270880, 270787",
["385:316:509:214"] = "270898, 270840, 270899, 270812",
["267:378:153:238"] = "270822, 270894, 270835, 270784",
["289:279:707:181"] = "270765, 270824, 270887, 270801",
["460:381:50:0"] = "270821, 270758, 270797, 270775",
["396:203:314:0"] = "270806, 270810",
["244:214:325:140"] = "270785",
["260:278:329:237"] = "270851, 270871, 270795, 270769",
["259:302:457:264"] = "270903, 270781, 270794, 270855",
["186:276:272:237"] = "270870, 270743",
["375:342:480:0"] = "270869, 270890, 270764, 270762",
["203:209:662:11"] = "270848"
},

-- Crystalsong Forest
[ 132] = {
["288:222:0:0"] = "253268, 271000",
["446:369:536:40"] = "253267, 270960, 270995, 270989",
["544:668:129:0"] = "253264, 271003, 270968, 270965, 253265, 253266, 271002, 271004, 270984",
["558:285:444:383"] = "253271, 253272, 270974, 270975, 271001, 270980",
["264:303:0:176"] = "270987, 270962, 270973, 270997",
["252:260:0:91"] = "270966, 271005",
["502:477:500:105"] = "253269, 270985, 253270, 270986",
},

-- Dragonblight
[ 120] = {
["188:211:374:208"] = "271192",
["304:203:256:104"] = "271352, 271244",
["214:261:614:358"] = "271313, 271133",
["311:272:691:160"] = "271333, 271199, 271364, 271162",
["299:278:703:7"] = "271351, 271270, 271175, 271330",
["356:300:217:313"] = "271322, 271298, 271290, 271337",
["235:337:134:165"] = "271254, 271233",
["258:225:433:118"] = "271239, 271157",
["196:218:543:362"] = "271358",
["213:219:403:0"] = "271232",
["306:242:210:0"] = "271187, 271231",
["236:218:258:203"] = "271170",
["317:353:453:219"] = "271205, 271248, 271252, 271236",
["229:299:42:187"] = "271267, 271201",
["226:212:661:264"] = "271378",
["301:286:698:332"] = "271280, 271346, 271164, 271387",
["229:259:487:0"] = "271146, 271257",
["235:354:569:7"] = "271149, 271222"
},

-- Grizzly Hills
[ 121] = {
["332:294:17:307"] = "271768, 271783, 271795, 271810",
["382:285:0:46"] = "271792, 271775, 271813, 271797",
["351:284:607:41"] = "271791, 271807, 271774, 271796",
["455:400:547:257"] = "271798, 271780, 271814, 271799",
["356:224:7:207"] = "271781, 271784",
["294:227:358:187"] = "271785, 271817",
["475:362:312:294"] = "271803, 271788, 271816, 271805",
["329:246:509:0"] = "271769, 271770",
["274:207:18:461"] = "271794, 271778",
["283:247:176:421"] = "271789, 271812",
["278:290:217:244"] = "271801, 271773, 271779, 271806",
["249:235:232:129"] = "271764",
["324:265:548:137"] = "271790, 271765, 271766, 271767",
["328:260:331:32"] = "271809, 271771, 271772, 271776"
},

-- Howling Fjord
[ 122] = {
["181:178:490:161"] = "271993",
["223:209:354:0"] = "271957",
["263:265:99:37"] = "271940, 271975, 271953, 271991",
["223:338:664:25"] = "271956, 271974",
["222:168:222:100"] = "271959",
["350:258:168:410"] = "271965, 271966, 271972, 271973",
["178:208:595:240"] = "271945",
["242:189:225:0"] = "271954",
["232:216:585:336"] = "271941",
["213:256:283:203"] = "271976",
["298:306:572:0"] = "271977, 271978, 271979, 271958",
["251:192:490:0"] = "271970",
["193:201:668:223"] = "271950",
["187:263:397:208"] = "271980, 271994",
["284:308:415:360"] = "271997, 271998, 271963, 271964",
["238:232:343:108"] = "271984",
["266:210:420:57"] = "271952, 271967",
["248:382:477:216"] = "271985, 271968",
["347:220:90:180"] = "271986, 271960",
["177:191:342:351"] = "271992",
["244:305:621:327"] = "271969, 271989",
["174:173:576:170"] = "271946",
["333:265:99:278"] = "271962, 271987, 271983, 271988"
},

-- Hrothgar's Landing
--*no data
--[ 175] = {},

-- Icecrown
[ 123] = {
["308:212:342:392"] = "254657, 254658",
["393:474:22:122"] = "254673, 254674, 254675, 254676",
["308:202:392:466"] = "254659, 254660",
["204:268:0:167"] = "254677, 254678",
["245:239:690:267"] = "254679",
["300:343:626:31"] = "254680, 254681, 254682, 254683",
["283:231:558:329"] = "254685, 254686",
["219:283:218:291"] = "254688, 254689",
["223:399:321:15"] = "254690, 254691",
["373:375:355:37"] = "254653, 254654, 254655, 254656",
["238:240:217:50"] = "254692",
["269:217:715:390"] = "254693, 254694",
["223:207:444:276"] = "254695",
["227:210:327:305"] = "254687",
["248:243:538:181"] = "254684",
["314:224:616:30"] = "294026, 294027"
},

-- Sholazar Basin
[ 124] = {
["468:329:359:339"] = "272498, 272531, 272510, 272541",
["293:229:396:51"] = "272500, 272501",
["239:313:265:355"] = "272530, 272516",
["233:286:705:236"] = "272529, 272506",
["249:248:172:135"] = "272507",
["455:316:82:186"] = "272535, 272518, 272490, 272519",
["207:235:427:244"] = "272524",
["312:369:501:134"] = "272494, 272495, 272504, 272533",
["322:265:596:92"] = "272521, 272515, 272522, 272499",
["294:327:308:34"] = "272523, 272487, 272539, 272532",
["329:293:76:375"] = "272509, 272491, 272520, 272484",
["268:288:138:58"] = "272517, 272534, 272496, 272502"
},

-- The Storm Peaks
[ 125] = {
["309:383:481:285"] = "272939, 272953, 272905, 272935",
["182:270:570:113"] = "272927, 272910",
["305:298:339:370"] = "272904, 272925, 272926, 272952",
["322:195:109:375"] = "272948, 272950",
["228:158:98:318"] = "272924",
["369:265:218:0"] = "272943, 272944, 272931, 272917",
["306:484:627:179"] = "272934, 272923, 272908, 272930",
["363:341:292:122"] = "272912, 272913, 272914, 272946",
["169:164:239:301"] = "272922",
["251:200:242:468"] = "272921",
["205:232:162:143"] = "272920",
["221:200:108:206"] = "272906",
["180:239:214:144"] = "272933",
["184:191:395:470"] = "272909",
["244:220:134:429"] = "272919",
["210:179:316:296"] = "272945"
},

-- Wintergrasp
-- *no data
--[ 128] = {},

-- Zul Drak
[ 126] = {
["336:297:629:0"] = "273295, 273301, 273321, 273288",
["286:265:326:358"] = "273311, 273297, 273331, 273317",
["266:254:289:287"] = "273330, 273291",
["237:248:288:168"] = "273329",
["247:304:431:127"] = "273322, 273320",
["261:288:607:251"] = "273309, 273286, 273310, 273328",
["311:317:575:88"] = "273325, 273307, 273308, 273319",
["265:257:533:345"] = "273296, 273300, 273285, 273287",
["249:258:479:241"] = "273304, 273305",
["307:256:7:412"] = "273326, 273333",
["218:291:174:191"] = "273324, 273292",
["272:268:0:247"] = "273318, 273298, 273336, 273303",
["321:305:181:363"] = "273312, 273332, 273282, 273302",
["302:231:380:437"] = "273323, 273289"
}
})

end

ns.Version = Version
Expand Down

0 comments on commit 14ebd9e

Please sign in to comment.