-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
3,339 additions
and
3,173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"version": "0.2", | ||
"language": "en-US", | ||
"ignorePaths": [ | ||
"libs", | ||
".luacheckrc" | ||
], | ||
"words": [ | ||
"ADDONCATEGORIES", | ||
"Ambiguate", | ||
"Cata", | ||
"cffaaaaff", | ||
"cffaaffaa", | ||
"cffffaaaa", | ||
"cffffffff", | ||
"cvar", | ||
"cvars", | ||
"Debuff", | ||
"Debuffs", | ||
"Dont", | ||
"Lerp", | ||
"Luacheck", | ||
"nebularg", | ||
"NUMDIALOGS", | ||
"upvalue", | ||
"UVARINFO", | ||
"uvars", | ||
"WAGO", | ||
"WOWI" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,20 @@ | ||
|
||
local _, addon = ... | ||
|
||
-- Constants | ||
local THIRD_WIDTH = 1.25 | ||
|
||
|
||
------------------------------------------------------------------------- | ||
------------------------------------------------------------------------- | ||
|
||
function addon:CreateCVarOptions() | ||
local cvarOptions = { | ||
type = "group", | ||
childGroups = "tree", | ||
name = "", | ||
args = { | ||
-- Left Empty -- | ||
} | ||
} | ||
local cvarOptions = { | ||
type = "group", | ||
childGroups = "tree", | ||
name = "", | ||
args = { | ||
-- Left Empty -- | ||
}, | ||
} | ||
|
||
return cvarOptions | ||
return cvarOptions | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,73 @@ | ||
|
||
local _, addon = ... | ||
|
||
-- Constants | ||
local THIRD_WIDTH = 1.25 | ||
|
||
|
||
------------------------------------------------------------------------- | ||
------------------------------------------------------------------------- | ||
|
||
function addon:CreateChatOptions() | ||
local chatOptions = { | ||
type = "group", | ||
childGroups = "tree", | ||
name = "Chat", | ||
args = { | ||
instructions = { | ||
type = "description", | ||
name = "These options allow you to modify various chat settings that are no longer part of the default UI.", | ||
fontSize = "medium", | ||
order = 1, | ||
}, | ||
header = { | ||
type = "header", | ||
name = "", | ||
order = 10, | ||
}, | ||
------------------------------------------------- | ||
chatMouseScroll = { | ||
type = "toggle", | ||
name = CHAT_MOUSE_WHEEL_SCROLL, | ||
desc = OPTION_TOOLTIP_CHAT_MOUSE_WHEEL_SCROLL, | ||
get = function() | ||
return C_CVar.GetCVarBool("chatMouseScroll") | ||
end, | ||
set = function(_, value) | ||
self:SetCVar("chatMouseScroll", value) | ||
end, | ||
width="full", | ||
order = 11, | ||
}, | ||
removeChatDelay = { | ||
type = "toggle", | ||
name = REMOVE_CHAT_DELAY_TEXT, | ||
desc = OPTION_TOOLTIP_REMOVE_CHAT_DELAY_TEXT, | ||
get = function() | ||
return C_CVar.GetCVarBool("removeChatDelay") | ||
end, | ||
set = function(_, value) | ||
self:SetCVar("removeChatDelay", value) | ||
end, | ||
width="full", | ||
order = 12, | ||
}, | ||
chatClassColorOverride = { | ||
type = "toggle", | ||
name = "Disable Class Colors", | ||
desc = "Disables Class Colors in Chat", | ||
get = function() | ||
return C_CVar.GetCVarBool("chatClassColorOverride") | ||
end, | ||
set = function(_, value) | ||
self:SetCVar("chatClassColorOverride", value) | ||
end, | ||
hidden = function() | ||
return not self.IsClassicEra() and not self.IsClassic() | ||
end, | ||
width="full", | ||
order = 13, | ||
}, | ||
} | ||
} | ||
local chatOptions = { | ||
type = "group", | ||
childGroups = "tree", | ||
name = "Chat", | ||
args = { | ||
instructions = { | ||
type = "description", | ||
name = "These options allow you to modify various chat settings that are no longer part of the default UI.", | ||
fontSize = "medium", | ||
order = 1, | ||
}, | ||
header = { | ||
type = "header", | ||
name = "", | ||
order = 10, | ||
}, | ||
------------------------------------------------- | ||
chatMouseScroll = { | ||
type = "toggle", | ||
name = CHAT_MOUSE_WHEEL_SCROLL, | ||
desc = OPTION_TOOLTIP_CHAT_MOUSE_WHEEL_SCROLL, | ||
get = function() | ||
return C_CVar.GetCVarBool("chatMouseScroll") | ||
end, | ||
set = function(_, value) | ||
self:SetCVar("chatMouseScroll", value) | ||
end, | ||
width = "full", | ||
order = 11, | ||
}, | ||
removeChatDelay = { | ||
type = "toggle", | ||
name = REMOVE_CHAT_DELAY_TEXT, | ||
desc = OPTION_TOOLTIP_REMOVE_CHAT_DELAY_TEXT, | ||
get = function() | ||
return C_CVar.GetCVarBool("removeChatDelay") | ||
end, | ||
set = function(_, value) | ||
self:SetCVar("removeChatDelay", value) | ||
end, | ||
width = "full", | ||
order = 12, | ||
}, | ||
chatClassColorOverride = { | ||
type = "toggle", | ||
name = "Disable Class Colors", | ||
desc = "Disables Class Colors in Chat", | ||
get = function() | ||
return C_CVar.GetCVarBool("chatClassColorOverride") | ||
end, | ||
set = function(_, value) | ||
self:SetCVar("chatClassColorOverride", value) | ||
end, | ||
hidden = function() | ||
return not self.IsClassicEra() and not self.IsClassic() | ||
end, | ||
width = "full", | ||
order = 13, | ||
}, | ||
}, | ||
} | ||
|
||
return chatOptions | ||
return chatOptions | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,88 +1,86 @@ | ||
|
||
local _, addon = ... | ||
|
||
-- Constants | ||
local THIRD_WIDTH = 1.25 | ||
|
||
|
||
------------------------------------------------------------------------- | ||
------------------------------------------------------------------------- | ||
|
||
function addon:CreateCombatOptions() | ||
local combatOptions = { | ||
type = "group", | ||
childGroups = "tree", | ||
name = "Combat", | ||
args = { | ||
instructions = { | ||
type = "description", | ||
name = "These options allow you to modify Combat Options.", | ||
fontSize = "medium", | ||
order = 1, | ||
}, | ||
header = { | ||
type = "header", | ||
name = "", | ||
order = 10, | ||
}, | ||
------------------------------------------------- | ||
stopAutoAttackOnTargetChange = { | ||
type = "toggle", | ||
name = STOP_AUTO_ATTACK, | ||
desc = OPTION_TOOLTIP_STOP_AUTO_ATTACK, | ||
get = function() | ||
return C_CVar.GetCVarBool("stopAutoAttackOnTargetChange") | ||
end, | ||
set = function(_, value) | ||
self:SetCVar("stopAutoAttackOnTargetChange", value) | ||
end, | ||
width="full", | ||
order = 11, | ||
}, | ||
assistAttack = { | ||
type = "toggle", | ||
name = ASSIST_ATTACK, | ||
desc = OPTION_TOOLTIP_ASSIST_ATTACK, | ||
get = function() | ||
return C_CVar.GetCVarBool("assistAttack") | ||
end, | ||
set = function(_, value) | ||
self:SetCVar("assistAttack", value) | ||
end, | ||
width="full", | ||
order = 12, | ||
}, | ||
ActionButtonUseKeyDown = { | ||
type = "toggle", | ||
name = ACTION_BUTTON_USE_KEY_DOWN, | ||
desc = OPTION_TOOLTIP_ACTION_BUTTON_USE_KEY_DOWN, | ||
get = function() | ||
return C_CVar.GetCVarBool("ActionButtonUseKeyDown") | ||
end, | ||
set = function(_, value) | ||
self:SetCVar("ActionButtonUseKeyDown", value) | ||
end, | ||
width="full", | ||
order = 13, | ||
}, | ||
SpellQueueWindow = { | ||
type = "range", | ||
name = LAG_TOLERANCE, | ||
desc = "Determines how far ahead of the \'end of a spell\' start-recovery spell system can be, before allowing spell request to be sent to the server. Ie this controls the built-in lag for the ability queuing system. Ideally, you\'ll want to set this to your in-game latency.", | ||
min = 0, | ||
max = 400, | ||
step = 1, | ||
get = function() | ||
return tonumber(C_CVar.GetCVar("SpellQueueWindow")) | ||
end, | ||
set = function(_, value) | ||
self:SetCVar("SpellQueueWindow", value) | ||
end, | ||
width = THIRD_WIDTH, | ||
order = 14, | ||
}, | ||
} | ||
} | ||
local combatOptions = { | ||
type = "group", | ||
childGroups = "tree", | ||
name = "Combat", | ||
args = { | ||
instructions = { | ||
type = "description", | ||
name = "These options allow you to modify Combat Options.", | ||
fontSize = "medium", | ||
order = 1, | ||
}, | ||
header = { | ||
type = "header", | ||
name = "", | ||
order = 10, | ||
}, | ||
------------------------------------------------- | ||
stopAutoAttackOnTargetChange = { | ||
type = "toggle", | ||
name = STOP_AUTO_ATTACK, | ||
desc = OPTION_TOOLTIP_STOP_AUTO_ATTACK, | ||
get = function() | ||
return C_CVar.GetCVarBool("stopAutoAttackOnTargetChange") | ||
end, | ||
set = function(_, value) | ||
self:SetCVar("stopAutoAttackOnTargetChange", value) | ||
end, | ||
width = "full", | ||
order = 11, | ||
}, | ||
assistAttack = { | ||
type = "toggle", | ||
name = ASSIST_ATTACK, | ||
desc = OPTION_TOOLTIP_ASSIST_ATTACK, | ||
get = function() | ||
return C_CVar.GetCVarBool("assistAttack") | ||
end, | ||
set = function(_, value) | ||
self:SetCVar("assistAttack", value) | ||
end, | ||
width = "full", | ||
order = 12, | ||
}, | ||
ActionButtonUseKeyDown = { | ||
type = "toggle", | ||
name = ACTION_BUTTON_USE_KEY_DOWN, | ||
desc = OPTION_TOOLTIP_ACTION_BUTTON_USE_KEY_DOWN, | ||
get = function() | ||
return C_CVar.GetCVarBool("ActionButtonUseKeyDown") | ||
end, | ||
set = function(_, value) | ||
self:SetCVar("ActionButtonUseKeyDown", value) | ||
end, | ||
width = "full", | ||
order = 13, | ||
}, | ||
SpellQueueWindow = { | ||
type = "range", | ||
name = LAG_TOLERANCE, | ||
desc = "Determines how far ahead of the 'end of a spell' start-recovery spell system can be, before allowing spell request to be sent to the server. Ie this controls the built-in lag for the ability queuing system. Ideally, you'll want to set this to your in-game latency.", | ||
min = 0, | ||
max = 400, | ||
step = 1, | ||
get = function() | ||
return tonumber(C_CVar.GetCVar("SpellQueueWindow")) | ||
end, | ||
set = function(_, value) | ||
self:SetCVar("SpellQueueWindow", value) | ||
end, | ||
width = THIRD_WIDTH, | ||
order = 14, | ||
}, | ||
}, | ||
} | ||
|
||
return combatOptions | ||
return combatOptions | ||
end |
Oops, something went wrong.