Skip to content

Commit

Permalink
Support 11.0.0.54935
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghostopheles committed May 29, 2024
1 parent 454852e commit cc159e9
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 66 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ DatamineMapCanvasMixin = {};

function DatamineMapCanvasMixin:OnLoad()
self.TilePool = CreateTexturePool(self, "ARTWORK", -1, TILE_TEMPLATE_NAME, DatamineMapTileMixin.Reset);
self.TilePool:SetResetDisallowedIfNew(true);

self.DisplayedWDT = 0;
self.MapInfo = nil;
Expand Down
8 changes: 5 additions & 3 deletions Datamine/Settings/SettingsCore.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ local L = Datamine.Strings;
local Events = Datamine.Events;
local Registry = Datamine.EventRegistry;

local CreateCheckbox = Settings.CreateCheckbox or Settings.CreateCheckBox;

Datamine.Settings = {};

Datamine.Setting = {
Expand Down Expand Up @@ -82,7 +84,7 @@ do
local tooltip = L.CONFIG_DEBUGTARGETINFO_TOOLTIP;

local setting = CreateCVarSetting(category, name, variable, variableType, defaultConfig[variable]);
Settings.CreateCheckBox(category, setting, tooltip);
CreateCheckbox(category, setting, tooltip);
Settings.SetOnValueChangedCallback(variable, OnSettingChanged);

allSettings[variable] = setting;
Expand All @@ -95,7 +97,7 @@ do
local tooltip = L.CONFIG_CREATUREDATA_TOOLTIP;

local setting = Settings.RegisterAddOnSetting(category, name, variable, variableType, defaultConfig[variable]);
Settings.CreateCheckBox(category, setting, tooltip);
CreateCheckbox(category, setting, tooltip);
Settings.SetOnValueChangedCallback(variable, OnSettingChanged);

allSettings[variable] = setting;
Expand All @@ -108,7 +110,7 @@ do
local tooltip = L.CONFIG_AUTO_LOAD_MAP_DATA_TOOLTIP;

local setting = Settings.RegisterAddOnSetting(category, name, variable, variableType, defaultConfig[variable]);
Settings.CreateCheckBox(category, setting, tooltip);
CreateCheckbox(category, setting, tooltip);
Settings.SetOnValueChangedCallback(variable, OnSettingChanged);

allSettings[variable] = setting;
Expand Down
54 changes: 27 additions & 27 deletions Datamine_Maps/Generated/Map_DeephaulRavine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1460,6 +1460,11 @@ Datamine_Maps[5246270] = {
0,
0,
0,
5260303,
5260098,
5260102,
5260100,
5260104,
0,
0,
0,
Expand Down Expand Up @@ -1519,12 +1524,7 @@ Datamine_Maps[5246270] = {
0,
0,
0,
0,
0,
0,
0,
0,
0,
5260305,
5260108,
5260106,
5260110,
Expand Down Expand Up @@ -1588,7 +1588,7 @@ Datamine_Maps[5246270] = {
0,
0,
0,
0,
5260325,
5260250,
5260248,
5260246,
Expand Down Expand Up @@ -1652,7 +1652,7 @@ Datamine_Maps[5246270] = {
0,
0,
0,
0,
5260327,
5248609,
5248574,
5248572,
Expand Down Expand Up @@ -1716,7 +1716,7 @@ Datamine_Maps[5246270] = {
0,
0,
0,
0,
5260323,
5248611,
5247712,
5247710,
Expand Down Expand Up @@ -5558,6 +5558,11 @@ Datamine_Maps[5246270] = {
0,
0,
0,
5260295,
5260066,
5260068,
5260070,
5260072,
0,
0,
0,
Expand Down Expand Up @@ -5617,12 +5622,7 @@ Datamine_Maps[5246270] = {
0,
0,
0,
0,
0,
0,
0,
0,
0,
5260297,
5260074,
5260076,
5260078,
Expand Down Expand Up @@ -5686,7 +5686,7 @@ Datamine_Maps[5246270] = {
0,
0,
0,
0,
5260319,
5260242,
5260240,
5260238,
Expand Down Expand Up @@ -5750,7 +5750,7 @@ Datamine_Maps[5246270] = {
0,
0,
0,
0,
5260317,
5248603,
5248568,
5248570,
Expand Down Expand Up @@ -5814,7 +5814,7 @@ Datamine_Maps[5246270] = {
0,
0,
0,
0,
5260315,
5248607,
5247702,
5247706,
Expand Down Expand Up @@ -9656,6 +9656,11 @@ Datamine_Maps[5246270] = {
0,
0,
0,
5260287,
5260032,
5260036,
5260038,
5260040,
0,
0,
0,
Expand Down Expand Up @@ -9715,12 +9720,7 @@ Datamine_Maps[5246270] = {
0,
0,
0,
0,
0,
0,
0,
0,
0,
5260289,
5260046,
5260044,
5260042,
Expand Down Expand Up @@ -9784,7 +9784,7 @@ Datamine_Maps[5246270] = {
0,
0,
0,
0,
5260307,
5260234,
5260232,
5260230,
Expand Down Expand Up @@ -9848,7 +9848,7 @@ Datamine_Maps[5246270] = {
0,
0,
0,
0,
5260309,
5248601,
5248566,
5248564,
Expand Down Expand Up @@ -9912,7 +9912,7 @@ Datamine_Maps[5246270] = {
0,
0,
0,
0,
5260311,
5248597,
5247698,
5247694,
Expand Down
70 changes: 35 additions & 35 deletions Datamine_Maps/Generated/Map_TheMaelstrom.lua
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
-- This file was generated by generate_maps.py
-- WDTFileDataID: 1319015
-- WDTFileDataID: 1326466
-- Map Name: TheMaelstrom

local _, Datamine_Maps = ...;

Datamine_Maps[1319015] = {
Datamine_Maps[1326466] = {
MapName = "The Maelstrom",
MapID = 1572,
Directory = [[MaelstromShamanHubIntroScenario]],
MapID = 1580,
Directory = [[MaelstromTitanScenario]],
MapDescription0 = [[]],
MapDescription1 = [[]],
MapType = 1,
InstanceType = 5,
ExpansionID = 3,
ExpansionID = 6,
ParentMapID = -1,
CosmeticParentMapID = -1,
Grids = {
Expand Down Expand Up @@ -9969,6 +9969,11 @@ Datamine_Maps[1319015] = {
0,
0,
0,
1327002,
1327003,
1327004,
1327005,
1327006,
0,
0,
0,
Expand Down Expand Up @@ -10028,16 +10033,16 @@ Datamine_Maps[1319015] = {
0,
0,
0,
1326780,
1326781,
1326782,
1326783,
1326796,
0,
0,
0,
0,
0,
1318838,
1318839,
1318840,
1318841,
1318842,
0,
0,
0,
Expand Down Expand Up @@ -10092,16 +10097,16 @@ Datamine_Maps[1319015] = {
0,
0,
0,
1326784,
1326785,
1326786,
1326787,
1326797,
0,
0,
0,
0,
0,
1318843,
1318844,
1318845,
1318846,
1318847,
0,
0,
0,
Expand Down Expand Up @@ -10156,16 +10161,16 @@ Datamine_Maps[1319015] = {
0,
0,
0,
1326788,
1326789,
1326790,
1326791,
1326798,
0,
0,
0,
0,
0,
1318848,
1318849,
1318850,
1318851,
1318852,
0,
0,
0,
Expand Down Expand Up @@ -10220,16 +10225,16 @@ Datamine_Maps[1319015] = {
0,
0,
0,
1326792,
1326793,
1326794,
1326795,
1326799,
0,
0,
0,
0,
0,
1318853,
1318854,
1318855,
1318856,
1318857,
0,
0,
0,
Expand Down Expand Up @@ -10284,16 +10289,11 @@ Datamine_Maps[1319015] = {
0,
0,
0,
0,
0,
0,
0,
0,
1318858,
1318859,
1318860,
1318861,
1318862,
1326800,
1326801,
1326802,
1326803,
1326804,
0,
0,
0,
Expand Down

0 comments on commit cc159e9

Please sign in to comment.