- added a message to the PlayerInfo module when trying to dismiss a buff in cataclysm explaining that the API is currently protected and unable to fixed. this will be removed when Blizzard gives us a way to work around it

- added upgrade detection to alert users that their profile may need to be re-selected if the last version they ran was pre-ace3-conversion
- added an FAQ section to the /icehud configuration page so that users don't have to go to one of the addon hosting sites to get their questions answered
This commit is contained in:
Parnic
2010-09-08 04:20:03 +00:00
parent 2f226545f3
commit 1b0125c12f
3 changed files with 100 additions and 10 deletions

View File

@ -73,8 +73,11 @@ function IceCore.prototype:SetupDefaults()
bShouldUseDogTags = true,
updatePeriod = 0.1
}
updatePeriod = 0.1,
},
global = {
lastRunVersion = 0,
},
}
self:LoadPresets()
@ -95,6 +98,32 @@ function IceCore.prototype:SetupDefaults()
end
StaticPopupDialogs["ICEHUD_CONVERTED_TO_ACE3"] =
{
text = "(If this is your first time running IceHUD, please disregard this message)\n\nSince the last version of IceHUD you ran, we have upgraded to Ace3! This means that if you were using a custom profile for your settings you may need to open the /icehud options and re-choose it. You'll only need to do this once.\n\nThanks for using IceHUD!",
button1 = OKAY,
timeout = 0,
whileDead = 1,
hideOnEscape = 0,
}
function IceCore.prototype:CheckDisplayUpdateMessage()
local thisVersion
--[===[@non-debug@
thisVersion = @project-revision@
--@end-non-debug@]===]
--@debug@
thisVersion = 9999
--@end-debug@
if self.accountSettings.lastRunVersion < thisVersion then
if self.accountSettings.lastRunVersion < 549 then
StaticPopup_Show("ICEHUD_CONVERTED_TO_ACE3")
end
self.accountSettings.lastRunVersion = thisVersion
end
end
function IceCore.prototype:Enable()
self:DrawFrame()