From da32d79def7359559a23ea8e06f1fdd86e1da3ff Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sat, 29 May 2010 15:26:53 -0500 Subject: [PATCH] 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) --- Themes/_fallback/Scripts/03 Gameplay.lua | 12 ++++++------ Themes/default/Scripts/03 ThemePrefs.lua | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Themes/_fallback/Scripts/03 Gameplay.lua b/Themes/_fallback/Scripts/03 Gameplay.lua index b5bdbc6f60..a4d9a5aed8 100644 --- a/Themes/_fallback/Scripts/03 Gameplay.lua +++ b/Themes/_fallback/Scripts/03 Gameplay.lua @@ -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 \ No newline at end of file diff --git a/Themes/default/Scripts/03 ThemePrefs.lua b/Themes/default/Scripts/03 ThemePrefs.lua index c8a7748251..2e505d2da0 100644 --- a/Themes/default/Scripts/03 ThemePrefs.lua +++ b/Themes/default/Scripts/03 ThemePrefs.lua @@ -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";