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:
parent
19d73af90d
commit
888b90b426
@ -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();
|
||||
}
|
||||
}
|
@ -52,7 +52,7 @@ namespace osu.Game.Screens
|
||||
return new IntroCircles();
|
||||
|
||||
case IntroSequence.Welcome:
|
||||
return new IntroFallback();
|
||||
return new IntroLegacy();
|
||||
|
||||
default:
|
||||
return new IntroTriangles();
|
||||
|
@ -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)
|
||||
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user