Major tweaks for NotesLoaderKsf, also finally fixed the behavior of |E| tags, now it's working as it should (cleanup to be done).

This commit is contained in:
Alberto Ramos
2010-07-21 03:31:41 -06:00
parent e11302d75e
commit 6f5878ba93
5 changed files with 207 additions and 100 deletions
+22 -13
View File
@@ -1,17 +1,19 @@
local Noteskin = ... or {}
local Noteskin = {}
--bBlanks:
--bBlanks:
Noteskin.bBlanks = {
--["element"] = true|false;
["Hold Tail Active"] = true;
["Roll Tail Active"] = true;
["Hold Tail Active"] = true;
["Roll Tail Inactive"] = true;
["Roll Tail Inactive"] = true;
}
Noteskin.ElementRedirs = {
--["element"] = "redirected_element";
["Hold Head Active"] = "Tap Note";
["Hold Head Inactive"] = "Tap Note";
["Roll Head Active"] = "Tap Note";
["Roll Head Inactive"] = "Tap Note";
["Roll Head Active"] = "Roll Head Active";
["Roll Head Inactive"] = "Roll Head Active";
["Tap Fake"] = "Tap Note";
--
["Hold Topcap Inactive"] = "Hold Topcap Active";
@@ -19,17 +21,22 @@ Noteskin.ElementRedirs = {
["Hold Bottomcap Inactive"] = "Hold Bottomcap Active";
["Hold Tail Inactive"] = "Hold Tail Active";
--
["Roll Topcap Inactive"] = "Roll Topcap Active";
["Roll Body Inactive"] = "Roll Body Active";
["Roll Bottomcap Inactive"] = "Roll Bottomcap Active";
["Roll Tail Inactive"] = "Roll Tail Active";
["Roll Topcap Active"] = "Hold Topcap Active";
["Roll Body Active"] = "Hold Body Active";
["Roll Bottomcap Active"] = "Hold Bottomcap Active";
["Roll Tail Active"] = "Hold Tail Active";
--
["Roll Topcap Inactive"] = "Hold Topcap Active";
["Roll Body Inactive"] = "Hold Body Active";
["Roll Bottomcap Inactive"] = "Hold Bottomcap Active";
["Roll Tail Inactive"] = "Hold Tail Active";
}
Noteskin.ButtonRedirs = {
Center = "Center";
UpLeft = "UpLeft";
UpRight = "UpLeft";
UpRight = "UpRight";
DownLeft = "DownLeft";
DownRight = "DownLeft";
DownRight = "DownRight";
}
Noteskin.BaseRotX = {
Center = 0;
@@ -41,9 +48,9 @@ Noteskin.BaseRotX = {
Noteskin.BaseRotY = {
Center = 0;
UpLeft = 0;
UpRight = 180;
UpRight = 0;
DownLeft = 0;
DownRight = 180;
DownRight = 0;
}
local function func()
@@ -71,6 +78,8 @@ local function func()
local path = NOTESKIN:GetPath(Noteskin.ButtonRedirs[sButton],ElementToLoad)
--Graficos separados para holds y rolls
if string.find(sElement,"Hold") or string.find(sElement,"Roll") then
--if ( string.find(sElement,"Hold") or string.find(sElement,"Roll") ) and not ( string.find(sElement,"Head") or string.find(sElement,"Tail") ) then
--if ( string.find(sElement,"Hold") or string.find(sElement,"Roll") ) and ( string.find(sElement,"Body") ) then
path = NOTESKIN:GetPath(sButton,ElementToLoad)
end