From f329cc7a0d6856612ac08d5314196006b96528a3 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sat, 24 Jul 2010 01:05:50 -0500 Subject: [PATCH] fix up practice mode somewhat --- Themes/_fallback/Languages/en.ini | 9 +++++++++ Themes/_fallback/Scripts/03 Gameplay.lua | 16 ---------------- Themes/_fallback/metrics.ini | 10 +++++++++- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/Themes/_fallback/Languages/en.ini b/Themes/_fallback/Languages/en.ini index 744581b3fc..23b56f7476 100644 --- a/Themes/_fallback/Languages/en.ini +++ b/Themes/_fallback/Languages/en.ini @@ -1244,6 +1244,15 @@ This song is missing a music file and cannot be edited.=This song is missing a m The song directory is read-only and cannot be edited.=The song directory is read-only and cannot be edited. Blank=Blank +[ScreenPracticeMenu] +HeaderText=Practice Songs + +ExplanationGroup=Select the song group. +ExplanationSong=Select the song you wish to practice. +ExplanationAction=Press Start to practice! +ExplanationStepsType=Select the StepsType you want to practice. +ExplanationSteps=Select a notechart. + [ScreenEvaluation] HeaderText=Your Results HeaderSubText=Your dance was so great! diff --git a/Themes/_fallback/Scripts/03 Gameplay.lua b/Themes/_fallback/Scripts/03 Gameplay.lua index fa2137d326..402d6daab3 100644 --- a/Themes/_fallback/Scripts/03 Gameplay.lua +++ b/Themes/_fallback/Scripts/03 Gameplay.lua @@ -21,22 +21,6 @@ function GetExtraColorThreshold() return Modes[sGame] end --- GetEditModifiers --- [en] returns modifiers for ScreenEdit to use. -function GetEditModifiers() - sGame = GAMESTATE:GetCurrentGame():GetName() - local Modes = { - dance = "", - pump = "", - beat = "reverse", - kb7 = "reverse", - para = "", - techno = "", - lights = "" -- lights shouldn't be playable - } - return Modes[sGame] -end - -- GameCompatibleModes: -- [en] returns possible modes for ScreenSelectPlayMode function GameCompatibleModes() diff --git a/Themes/_fallback/metrics.ini b/Themes/_fallback/metrics.ini index 3e8fc7df82..dde3a9a09f 100644 --- a/Themes/_fallback/metrics.ini +++ b/Themes/_fallback/metrics.ini @@ -3309,7 +3309,7 @@ AllowOperatorMenuButton=false ShowCreditDisplay=false ShowStyleIcon=false TimerSeconds=-1 -EditModifiers=GetEditModifiers() +EditModifiers="no reverse" EditHelpX=SCREEN_LEFT+4 EditHelpY=SCREEN_TOP+16 EditHelpOnCommand=halign,0;valign,0;zoom,0.675;shadowlength,1 @@ -3325,9 +3325,17 @@ Fallback="ScreenEditMenu" Class="ScreenEditMenu" # NextScreen="ScreenPractice" +EditMenuType="PracticeMenu" + +[PracticeMenu] +Fallback="EditMenu" +EditMode="EditMode_Practice" + [ScreenPractice] Fallback="ScreenEdit" Class="ScreenEdit" +NextScreen="ScreenOptionsEdit" +PrevScreen="ScreenOptionsEdit" # EditMode="EditMode_Practice"