Skip to content

Commit d22ff40

Browse files
committed
remove unused til death theme preferences
1 parent 51c5b5c commit d22ff40

File tree

8 files changed

+1
-104
lines changed

8 files changed

+1
-104
lines changed

Themes/Rebirth/Scripts/02 ThemePrefs.lua

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -785,46 +785,6 @@ function TipType()
785785
return t
786786
end
787787

788-
function EvalBGType()
789-
local t = {
790-
Name = "EvalBGType",
791-
LayoutType = "ShowAllInRow",
792-
SelectType = "SelectOne",
793-
OneChoiceForAllPlayers = true,
794-
ExportOnChange = true,
795-
Choices = {
796-
THEME:GetString("OptionNames", "SongBackground"),
797-
THEME:GetString("OptionNames", "ClearGradeBackground"),
798-
THEME:GetString("OptionNames", "GradeBackground")
799-
},
800-
LoadSelections = function(self, list, pn)
801-
local pref = themeConfig:get_data().eval.SongBGType
802-
if pref == 1 then
803-
list[1] = true
804-
elseif pref == 2 then
805-
list[2] = true
806-
else
807-
list[3] = true
808-
end
809-
end,
810-
SaveSelections = function(self, list, pn)
811-
local value
812-
if list[1] == true then
813-
value = 1
814-
elseif list[2] == true then
815-
value = 2
816-
else
817-
value = 3
818-
end
819-
themeConfig:get_data().eval.SongBGType = value
820-
themeConfig:set_dirty()
821-
themeConfig:save()
822-
end
823-
}
824-
setmetatable(t, t)
825-
return t
826-
end
827-
828788
function Particles()
829789
local t = {
830790
Name = "Particles",

Themes/Til Death/BGAnimations/ScreenEvaluation decorations/default.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
local t = Def.ActorFrame {}
22

3-
if GAMESTATE:GetNumPlayersEnabled() == 1 and themeConfig:get_data().eval.ScoreBoardEnabled then
3+
if GAMESTATE:GetNumPlayersEnabled() == 1 then
44
if Var("LoadingScreen") == "ScreenNetEvaluation" then
55
t[#t + 1] = LoadActor("MPscoreboard")
66
else

Themes/Til Death/Languages/de.ini

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ Avatars=Avatare
8181
NPSDisplay=NPS Anzeige
8282
8383
TipType=Tipps
84-
EvalBGType=Evaluationshintergrundart
8584
Particles=Partikeleffekte
8685
RateSort=Sortierung nach Rate
8786
HelpMenu=Hilfsmenü
@@ -119,8 +118,6 @@ Avatars=Avatar setzen
119118
120119
TipType=Zeigt entweder Tipps, Zitate oder keines von beidem.
121120
122-
EvalBGType=Art des Hintergrundes für den Ergebnisbildschirm.
123-
124121
Particles=Partikeleffekte
125122
RateSort=Ergebnise werden nach Rate sortiert.
126123
HelpMenu=Zeigt das Hilfsmenü nach einer Weile.

Themes/Til Death/Languages/en.ini

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ Avatars=Avatars
117117
NPSDisplay=NPS Display
118118
119119
TipType = Tip Type
120-
EvalBGType = Eval Background Type
121120
Particles = Particles
122121
RateSort = RateSort
123122
HelpMenu = Help Menu
@@ -165,8 +164,6 @@ ShowPlayerOptionsHint=Turn this off to disable the bright hint that tells you to
165164
166165
TipType = Sets the Tiptype to either display tips or random quotes and phrases or nothing at all.
167166
168-
EvalBGType = Set the type of background to show for ScreenEvaluation.
169-
170167
Particles = Toggle whether to show particles or not for certain screens.
171168
RateSort = If enabled, the scores will be sorted for different rate mod that was used.
172169
HelpMenu = Toggle whether to automatically display the help menu after a certain period of time has passed.

Themes/Til Death/Languages/zh.ini

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ Avatars=頭像
118118
NPSDisplay=NPS窗口
119119
120120
TipType = 小貼士類型
121-
EvalBGType = 結算背景樣式
122121
Particles = 粒子特效
123122
RateSort = 播放速率排列
124123
HelpMenu = 幫助菜單
@@ -158,8 +157,6 @@ Avatars=設置頭像. 此項是臨時的.
158157
159158
TipType = 設定小貼士的類型, 可選顯示幫助提示, 隨機語句或是關閉.
160159
161-
EvalBGType = 設定在結算界面顯示的背景.
162-
163160
Particles = 選擇是否在某些界面開啟粒子特效.
164161
RateSort = 選擇是否開啟播放速率排列. 開啟時會將不同播放速率下的成績區分開.
165162
HelpMenu = 選擇是否在一定時間無操作后顯示幫助菜單.

Themes/Til Death/Scripts/01 theme_config.lua

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
local defaultConfig = {
22
global = {
3-
fallbackscoreType = 1,
43
TipType = 1, -- 1 = Hide,2=tips 3= random quotes phrases,
54
RateSort = true,
65
HelpMenu = false,
7-
ScoreBoardNag = false,
86
MeasureLines = false,
97
ProgressBar = 1, -- 0 = bottom, 1 = top
108
ShowVisualizer = true,
@@ -18,20 +16,9 @@ local defaultConfig = {
1816
ShowBanners = true, -- false to turn off banners everywhere
1917
},
2018
NPSDisplay = {
21-
DynamicWindow = false,
2219
MaxWindow = 2,
2320
MinWindow = 1 -- unused.
2421
},
25-
eval = {
26-
CurrentTimeEnabled = true,
27-
JudgmentBarEnabled = true,
28-
ScoreBoardEnabled = true,
29-
ScoreBoardMaxEntry = 10,
30-
SongBGType = 1 -- 1 = song bg, 2 = grade+common, 3 = grade only
31-
},
32-
color = {
33-
main = "#00AEEF"
34-
}
3522
}
3623

3724
themeConfig = create_setting("themeConfig", "themeConfig.lua", defaultConfig, -1)

Themes/Til Death/Scripts/02 ThemePrefs.lua

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -732,46 +732,6 @@ function ShowBanners()
732732
return t
733733
end
734734

735-
function EvalBGType()
736-
local t = {
737-
Name = "EvalBGType",
738-
LayoutType = "ShowAllInRow",
739-
SelectType = "SelectOne",
740-
OneChoiceForAllPlayers = true,
741-
ExportOnChange = true,
742-
Choices = {
743-
THEME:GetString("OptionNames", "SongBackground"),
744-
THEME:GetString("OptionNames", "ClearGradeBackground"),
745-
THEME:GetString("OptionNames", "GradeBackground")
746-
},
747-
LoadSelections = function(self, list, pn)
748-
local pref = themeConfig:get_data().eval.SongBGType
749-
if pref == 1 then
750-
list[1] = true
751-
elseif pref == 2 then
752-
list[2] = true
753-
else
754-
list[3] = true
755-
end
756-
end,
757-
SaveSelections = function(self, list, pn)
758-
local value
759-
if list[1] == true then
760-
value = 1
761-
elseif list[2] == true then
762-
value = 2
763-
else
764-
value = 3
765-
end
766-
themeConfig:get_data().eval.SongBGType = value
767-
themeConfig:set_dirty()
768-
themeConfig:save()
769-
end
770-
}
771-
setmetatable(t, t)
772-
return t
773-
end
774-
775735
function Particles()
776736
local t = {
777737
Name = "Particles",

Themes/Til Death/metrics.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,6 @@ LineBanners="lua,ShowBanners()"
498498
LineTipType="lua,TipType()"
499499
LineFNFnGSM="lua,FadeNoteFieldInSyncMachine()"
500500
LineSongBGEnabled="conf,ShowBackgrounds"
501-
LineEvalBGType="lua,EvalBGType()"
502501
LineParticles="lua,Particles()"
503502
LineRateSort="lua,RateSort()"
504503
LineHelpMenu="lua,HelpMenu()"

0 commit comments

Comments
 (0)