Skip to content

Commit

Permalink
add some combat text options
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanzilla committed May 16, 2016
1 parent 7169cd4 commit 03fa08e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 6 deletions.
23 changes: 23 additions & 0 deletions basicOptions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@ local reverseCleanupBags = newCheckbox('reverseCleanupBags',
end
)

local fctfloatmode = newCheckbox('floatingCombatTextFloatMode')
local fctEnergyGains = newCheckbox('floatingCombatTextEnergyGains')
local fctAuras = newCheckbox('floatingCombatTextAuras')
local fctReactives = newCheckbox('floatingCombatTextReactives')
local fctHonorGains = newCheckbox('floatingCombatTextHonorGains')
local fctRepChanges = newCheckbox('floatingCombatTextRepChanges')
local fctComboPoints = newCheckbox('floatingCombatTextComboPoints')
local fctCombatState = newCheckbox('floatingCombatTextCombatState')
local fctSpellMechanics = newCheckbox('floatingCombatTextSpellMechanics')

local questSortingLabel = AIO:CreateFontString(nil, 'ARTWORK', 'GameFontHighlightSmall')
questSortingLabel:SetPoint('TOPLEFT', reverseCleanupBags, 'BOTTOMLEFT', 0, 0)
questSortingLabel:SetText('Select quest sorting mode:')
Expand Down Expand Up @@ -112,6 +122,19 @@ lootUnderMouse:SetPoint("TOPLEFT", luaErrors, "BOTTOMLEFT", 0, -4)
targetDebuffFilter:SetPoint("TOPLEFT", lootUnderMouse, "BOTTOMLEFT", 0, -4)
reverseCleanupBags:SetPoint("TOPLEFT", targetDebuffFilter, "BOTTOMLEFT", 0, -4)

local fctOptionsLabel = AIO:CreateFontString(nil, 'ARTWORK', 'GameFontHighlightSmall')
fctOptionsLabel:SetPoint('TOPLEFT', subText, 'BOTTOMLEFT', 235, -8)
fctOptionsLabel:SetText('Floating Combat Text Options:')

fctfloatmode:SetPoint("TOPLEFT", fctOptionsLabel, "BOTTOMLEFT", 0, -8)
fctEnergyGains:SetPoint("TOPLEFT", fctfloatmode, "BOTTOMLEFT", 0, -8)
fctAuras:SetPoint("TOPLEFT", fctEnergyGains, "BOTTOMLEFT", 0, -8)
fctHonorGains:SetPoint("TOPLEFT", fctAuras, "BOTTOMLEFT", 0, -8)
fctRepChanges:SetPoint("TOPLEFT", fctHonorGains, "BOTTOMLEFT", 0, -8)
fctComboPoints:SetPoint("TOPLEFT", fctRepChanges, "BOTTOMLEFT", 0, -8)
fctCombatState:SetPoint("TOPLEFT", fctComboPoints, "BOTTOMLEFT", 0, -8)
fctSpellMechanics:SetPoint("TOPLEFT", fctCombatState, "BOTTOMLEFT", 0, -8)

-- TODO reducedLagTolerance maxSpellStartRecoveryOffset


Expand Down
6 changes: 5 additions & 1 deletion cvars.dump
Original file line number Diff line number Diff line change
Expand Up @@ -1244,5 +1244,9 @@ T.CVars = {
["CombatHealingAbsorbSelf"] = { prettyName = "", description = "OPTION_TOOLTIP_SHOW_COMBAT_HEALING_ABSORB_SELF", type = "boolean" },
["CombatHealingAbsorbTarget"] = { prettyName = "", description = "OPTION_TOOLTIP_SHOW_COMBAT_HEALING_ABSORB_TARGET", type = "boolean" },
["CombatHealing"] = { prettyName = "", description = "OPTION_TOOLTIP_SHOW_COMBAT_HEALING", type = "boolean" },

["playerStatusText"] = { prettyName = "STATUS_TEXT_PLAYER", description = "OPTION_TOOLTIP_STATUS_PLAYER", type = "boolean" },
["petStatusText"] = { prettyName = "STATUS_TEXT_PET", description = "OPTION_TOOLTIP_STATUS_PET", type = "boolean" },
["partyStatusText"] = { prettyName = "STATUS_TEXT_PARTY", description = "OPTION_TOOLTIP_STATUS_PARTY", type = "boolean" },
["targetStatusText"] = { prettyName = "STATUS_TEXT_TARGET", description = "OPTION_TOOLTIP_STATUS_TARGET", type = "boolean" },
["alternateResourceText"] = { prettyName = "ALTERNATE_RESOURCE_TEXT", description = "OPTION_TOOLTIP_ALTERNATE_RESOURCE", type = "boolean" },
}
5 changes: 0 additions & 5 deletions cvars.lua
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,6 @@ addon.hiddenOptions = {
["SpellTooltip_DisplayAvgValues"] = { prettyName = "", description = "OPTION_TOOLTIP_SHOW_POINTS_AS_AVG", type = "boolean" },

["xpBarText"] = { prettyName = "XP_BAR_TEXT", description = "OPTION_TOOLTIP_XP_BAR", type = "boolean" },
["playerStatusText"] = { prettyName = "STATUS_TEXT_PLAYER", description = "OPTION_TOOLTIP_STATUS_PLAYER", type = "boolean" },
["petStatusText"] = { prettyName = "STATUS_TEXT_PET", description = "OPTION_TOOLTIP_STATUS_PET", type = "boolean" },
["partyStatusText"] = { prettyName = "STATUS_TEXT_PARTY", description = "OPTION_TOOLTIP_STATUS_PARTY", type = "boolean" },
["targetStatusText"] = { prettyName = "STATUS_TEXT_TARGET", description = "OPTION_TOOLTIP_STATUS_TARGET", type = "boolean" },
["alternateResourceText"] = { prettyName = "ALTERNATE_RESOURCE_TEXT", description = "OPTION_TOOLTIP_ALTERNATE_RESOURCE", type = "boolean" },

["bottomLeftActionBar"] = { prettyName = "", description = "OPTION_TOOLTIP_SHOW_MULTIBAR1", type = "boolean" },
["showVKeyCastbarSpellName"] = { prettyName = "", description = "OPTION_TOOLTIP_SHOW_TARGET_CASTBAR_IN_V_KEY_SPELL_NAME", type = "boolean" },
Expand Down

0 comments on commit 03fa08e

Please sign in to comment.