1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Rename IntroFallback classes to IntroLegacy

This commit also renames files accordingly with https://github.com/ppy/osu-resources/pull/103
This commit is contained in:
Shivam 2020-06-02 13:14:50 +02:00
parent 19d73af90d
commit 888b90b426
6 changed files with 10 additions and 10 deletions

View File

@ -8,8 +8,8 @@ using osu.Game.Screens.Menu;
namespace osu.Game.Tests.Visual.Menus
{
[TestFixture]
public class TestSceneIntroFallback : IntroTestScene
public class TestSceneIntroLegacy : IntroTestScene
{
protected override IScreen CreateScreen() => new IntroFallback();
protected override IScreen CreateScreen() => new IntroLegacy();
}
}

View File

@ -52,7 +52,7 @@ namespace osu.Game.Screens
return new IntroCircles();
case IntroSequence.Welcome:
return new IntroFallback();
return new IntroLegacy();
default:
return new IntroTriangles();

View File

@ -24,7 +24,7 @@ namespace osu.Game.Screens.Menu
private void load(AudioManager audio)
{
if (MenuVoice.Value)
welcome = audio.Samples.Get(@"Intro/welcome-lazer");
welcome = audio.Samples.Get(@"Intro/lazer/welcome");
}
protected override void LogoArriving(OsuLogo logo, bool resuming)

View File

@ -14,7 +14,7 @@ using osu.Game.Graphics.Sprites;
namespace osu.Game.Screens.Menu
{
public class IntroFallback : IntroScreen
public class IntroLegacy : IntroScreen
{
protected override string BeatmapHash => "64E00D7022195959BFA3109D09C2E2276C8F12F486B91FCF6175583E973B48F2";
protected override string BeatmapFile => "welcome.osz";
@ -27,12 +27,12 @@ namespace osu.Game.Screens.Menu
[BackgroundDependencyLoader]
private void load(AudioManager audio)
{
Seeya = audio.Samples.Get(@"Intro/seeya-fallback");
Seeya = audio.Samples.Get(@"Intro/legacy/seeya");
if (MenuVoice.Value)
{
welcome = audio.Samples.Get(@"Intro/welcome-fallback");
pianoReverb = audio.Samples.Get(@"Intro/welcome_piano");
welcome = audio.Samples.Get(@"Intro/legacy/welcome");
pianoReverb = audio.Samples.Get(@"Intro/legacy/welcome_piano");
}
}

View File

@ -67,7 +67,7 @@ namespace osu.Game.Screens.Menu
MenuVoice = config.GetBindable<bool>(OsuSetting.MenuVoice);
MenuMusic = config.GetBindable<bool>(OsuSetting.MenuMusic);
Seeya = audio.Samples.Get(@"Intro/seeya-lazer");
Seeya = audio.Samples.Get(@"Intro/lazer/seeya");
BeatmapSetInfo setInfo = null;

View File

@ -47,7 +47,7 @@ namespace osu.Game.Screens.Menu
private void load()
{
if (MenuVoice.Value && !MenuMusic.Value)
welcome = audio.Samples.Get(@"Intro/welcome-lazer");
welcome = audio.Samples.Get(@"Intro/lazer/welcome");
}
protected override void LogoArriving(OsuLogo logo, bool resuming)