<robot voice>this was a bad ideea</robot voice>

This commit is contained in:
AJ Kelly
2011-02-21 02:46:09 -06:00
parent d83e08afa1
commit 2ec3883201
4 changed files with 1 additions and 95 deletions
@@ -387,49 +387,6 @@ function GamePrefComboUnderField()
return t;
end
function GetDefaultArrowSpacing()
local rates = {
64, -- Default
80, -- Pro
128, -- New
};
return GetUserPrefB("AdjustSpeed") and rates[3] or rates[1];
end;
function UserPrefAdjustSpeed()
local t = {
Name = "UserPrefAdjustSpeed";
LayoutType = "ShowAllInRow";
SelectType = "SelectOne";
OneChoiceForAllPlayers = true;
ExportOnChange = false;
Choices = { 'Normal','Fast' };
LoadSelections = function(self, list, pn)
if ReadUserPrefFromFile("AdjustSpeed") ~= nil then
if GetUserPrefB("AdjustSpeed") then
list[2] = true;
else
list[1] = true;
end;
else
WriteUserPrefToFile("AdjustSpeed",true);
list[2] = true;
end;
end;
SaveSelections = function(self, list, pn)
local val;
if list[2] then
val = true;
else
val = false;
end;
WriteUserPrefToFile("AdjustSpeed",val);
MESSAGEMAN:Broadcast("PreferenceSet", { Message == "Set Preference" } );
THEME:ReloadMetrics();
end;
};
setmetatable( t, t );
return t;
end
function GamePrefAutoSetStyle()
local t = {
Name = "GamePrefAutoSetStyle";
+1 -1
View File
@@ -126,7 +126,7 @@ FrameWidthEffectsMinMultiplier=0.5
FrameWidthEffectsMaxMultiplier=1.2
FrameWidthLockEffectsToOverlapping=false
FrameWidthLockEffectsTweenPixels=25
ArrowSpacing=128
ArrowSpacing=64
DrawHiddenNotesAfterReceptor=true
BlinkModFrequency=0.3333
BoostModMinClamp=-400
-48
View File
@@ -51,9 +51,6 @@ function InitUserPrefs()
if GetUserPrefB("UserPrefComboUnderField") == nil then
SetUserPref("UserPrefComboUnderField", true);
end;
if GetUserPrefB("UserPrefAdjustSpeed") == nil then
SetUserPref("UserPrefAdjustSpeed", false);
end;
--[[ if GetUserPref("ProTimingP1") == nil then
SetUserPref("ProTimingP1", false);
end;
@@ -500,49 +497,4 @@ function UserPrefComboUnderField()
setmetatable( t, t );
return t;
end
function GetDefaultArrowSpacing()
local rates = {
64, -- Default
80, -- Pro
128, -- New
};
return GetUserPrefB("UserPrefAdjustSpeed") and rates[3] or rates[1];
end;
function UserPrefAdjustSpeed()
local t = {
Name = "UserPrefAdjustSpeed";
LayoutType = "ShowAllInRow";
SelectType = "SelectOne";
OneChoiceForAllPlayers = true;
ExportOnChange = false;
Choices = { 'Slow','Fast' };
LoadSelections = function(self, list, pn)
if ReadPrefFromFile("UserPrefAdjustSpeed") ~= nil then
if GetUserPrefB("UserPrefAdjustSpeed") then
list[2] = true;
else
list[1] = true;
end;
else
WritePrefToFile("UserPrefAdjustSpeed",true);
list[2] = true;
end;
end;
SaveSelections = function(self, list, pn)
local val;
if list[2] then
val = true;
else
val = false;
end;
WritePrefToFile("UserPrefAdjustSpeed",val);
MESSAGEMAN:Broadcast("PreferenceSet", { Message == "Set Preference" } );
THEME:ReloadMetrics();
end;
};
setmetatable( t, t );
return t;
end
--[[ end option rows ]]
-3
View File
@@ -321,9 +321,6 @@ AveragePulseCommand=finishtweening;diffusealpha,1;zoom,0.75*1.25;decelerate,0.05
# ReceptorArrowsYReverse=GetTapPosition('Reverse')
# RollBodyIncrementsCombo=GetUserPrefB("UserPrefComboOnRolls")
[ArrowEffects]
ArrowSpacing=GetDefaultArrowSpacing()
[ScoreDisplayNormal]
FrameX=
FrameY=