aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2016-01-03 21:25:38 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2016-01-03 21:25:38 +0000
commita79752b93f89470e0c1a494d448056c8517ce56d (patch)
tree6c2389d4a0fa045da7f6fb85509592a028c25cb4 /src
parentef2635e32aae14d6782cc360318917239e721dad (diff)
downloadusdx-a79752b93f89470e0c1a494d448056c8517ce56d.tar.gz
usdx-a79752b93f89470e0c1a494d448056c8517ce56d.tar.xz
usdx-a79752b93f89470e0c1a494d448056c8517ce56d.zip
change and prepare advanced options
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3187 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src')
-rw-r--r--src/screens/UScreenOptionsAdvanced.pas22
1 files changed, 14 insertions, 8 deletions
diff --git a/src/screens/UScreenOptionsAdvanced.pas b/src/screens/UScreenOptionsAdvanced.pas
index dd727dd8..c5efbcb9 100644
--- a/src/screens/UScreenOptionsAdvanced.pas
+++ b/src/screens/UScreenOptionsAdvanced.pas
@@ -70,7 +70,7 @@ begin
Exit;
end;
end;
-
+
// check special keys
case PressedKey of
SDLK_ESCAPE,
@@ -82,9 +82,8 @@ begin
end;
SDLK_RETURN:
begin
- //SelectLoadAnimation Hidden because it is useless atm
- //if SelInteraction = 7 then begin
if SelInteraction = 6 then
+// if SelInteraction = 8 then
begin
Ini.Save;
AudioPlayback.PlaySound(SoundLib.Back);
@@ -97,9 +96,8 @@ begin
InteractPrev;
SDLK_RIGHT:
begin
- //SelectLoadAnimation Hidden because it is useless atm
- //if (SelInteraction >= 0) and (SelInteraction <= 6) then begin
if (SelInteraction >= 0) and (SelInteraction <= 5) then
+// if (SelInteraction >= 0) and (SelInteraction <= 7) then
begin
AudioPlayback.PlaySound(SoundLib.Option);
InteractInc;
@@ -107,9 +105,8 @@ begin
end;
SDLK_LEFT:
begin
- //SelectLoadAnimation Hidden because it is useless atm
- //if (SelInteraction >= 0) and (SelInteraction <= 6) then begin
if (SelInteraction >= 0) and (SelInteraction <= 5) then
+// if (SelInteraction >= 0) and (SelInteraction <= 7) then
begin
AudioPlayback.PlaySound(SoundLib.Option);
InteractDec;
@@ -150,10 +147,19 @@ begin
Theme.OptionsAdvanced.SelectPartyPopup.showArrows := true;
Theme.OptionsAdvanced.SelectPartyPopup.oneItemOnly := true;
AddSelectSlide(Theme.OptionsAdvanced.SelectPartyPopup, Ini.PartyPopup, IPartyPopupTranslated);
-
+{
+ Theme.OptionsAdvanced.SelectSingScores.showArrows := true;
+ Theme.OptionsAdvanced.SelectSingScores.oneItemOnly := true;
+ AddSelectSlide(Theme.OptionsAdvanced.SelectSingScores, Ini.SingScores, ISingScoresTranslated);
+
+ Theme.OptionsAdvanced.SelectTopScores.showArrows := true;
+ Theme.OptionsAdvanced.SelectTopScores.oneItemOnly := true;
+ AddSelectSlide(Theme.OptionsAdvanced.SelectTopScores, Ini.TopScores, ITopScoresTranslated);
+}
AddButton(Theme.OptionsAdvanced.ButtonExit);
if (Length(Button[0].Text)=0) then
AddButtonText(20, 5, Theme.Options.Description[7]);
+// AddButtonText(20, 5, Theme.Options.Description[10]);
Interaction := 0;
end;