fallback changes from Midi

This commit is contained in:
AJ Kelly
2010-05-29 15:14:07 -05:00
parent c0ad5e19eb
commit 8110df71f4
2 changed files with 27 additions and 6 deletions
+22 -1
View File
@@ -174,4 +174,25 @@ function ScoreMissedHoldsAndRolls()
return false;
else return true;
end;
end;
end;
local tNotePositions = {
-- DDR
Classic = {
-144,
144,
},
-- ITG
Modern = {
-125,
145,
},
}
function GetTapPosition( sType )
bCategory = (sType == 'Standard') and 1 or 2;
-- true: Classic
-- false: Modern
bPreference = GetUserPrefB("UserPrefNotePosition") and "Classic" or "Modern";
tNotePos = tNotePositions[bPreference];
return tNotePos[bCategory]
end