change the names from Classic and Modern to more descriptive Normal and Lower (even though ITG's reverse is only one pixel different from 3.9/4.0's)

This commit is contained in:
AJ Kelly
2010-05-29 15:26:53 -05:00
parent 550d9fd4f8
commit da32d79def
2 changed files with 8 additions and 7 deletions
+6 -6
View File
@@ -177,22 +177,22 @@ function ScoreMissedHoldsAndRolls()
end;
local tNotePositions = {
-- DDR
Classic = {
-- StepMania 3.9/4.0
Normal = {
-144,
144,
},
-- ITG
Modern = {
Lower = {
-125,
145,
},
}
function GetTapPosition( sType )
bCategory = (sType == 'Standard') and 1 or 2;
-- true: Classic
-- false: Modern
bPreference = GetUserPrefB("UserPrefNotePosition") and "Classic" or "Modern";
-- true: Normal
-- false: Lower
bPreference = GetUserPrefB("UserPrefNotePosition") and "Normal" or "Lower";
tNotePos = tNotePositions[bPreference];
return tNotePos[bCategory]
end
+2 -1
View File
@@ -233,7 +233,7 @@ function UserPrefNotePosition()
SelectType = "SelectOne";
OneChoiceForAllPlayers = true;
ExportOnChange = false;
Choices = { 'Classic','Modern' };
Choices = { 'Normal','Lower' };
LoadSelections = function(self, list, pn)
if ReadPrefFromFile("UserPrefNotePosition") ~= nil then
if GetUserPrefB("UserPrefNotePosition") then
@@ -260,6 +260,7 @@ function UserPrefNotePosition()
setmetatable( t, t );
return t;
end
function UserPrefLongFail()
local t = {
Name = "UserPrefLongFail";