fallback changes from Midi
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user