Partial everything

This commit is contained in:
Dan Balasescu
2022-11-24 14:32:20 +09:00
committed by Dean Herbert
parent a1c559ae05
commit 7bc8908ca9
2331 changed files with 3218 additions and 3218 deletions

View File

@ -13,7 +13,7 @@ using osuTK;
namespace osu.Game.Screens.Menu
{
public class ButtonArea : Container, IStateful<Visibility>
public partial class ButtonArea : Container, IStateful<Visibility>
{
public FlowContainerWithOrigin Flow;
@ -90,7 +90,7 @@ namespace osu.Game.Screens.Menu
public event Action<Visibility> StateChanged;
private class ButtonAreaBackground : Box, IStateful<ButtonAreaBackgroundState>
private partial class ButtonAreaBackground : Box, IStateful<ButtonAreaBackgroundState>
{
private ButtonAreaBackgroundState state;

View File

@ -34,7 +34,7 @@ using osuTK.Input;
namespace osu.Game.Screens.Menu
{
public class ButtonSystem : Container, IStateful<ButtonSystemState>, IKeyBindingHandler<GlobalAction>
public partial class ButtonSystem : Container, IStateful<ButtonSystemState>, IKeyBindingHandler<GlobalAction>
{
public event Action<ButtonSystemState> StateChanged;

View File

@ -7,7 +7,7 @@ using osu.Game.Overlays.Dialog;
namespace osu.Game.Screens.Menu
{
public class ConfirmDiscardChangesDialog : PopupDialog
public partial class ConfirmDiscardChangesDialog : PopupDialog
{
/// <summary>
/// Construct a new discard changes confirmation dialog.

View File

@ -7,7 +7,7 @@ using osu.Game.Overlays.Dialog;
namespace osu.Game.Screens.Menu
{
public class ConfirmExitDialog : PopupDialog
public partial class ConfirmExitDialog : PopupDialog
{
/// <summary>
/// Construct a new exit confirmation dialog.

View File

@ -22,7 +22,7 @@ using osuTK.Graphics;
namespace osu.Game.Screens.Menu
{
public class Disclaimer : StartupScreen
public partial class Disclaimer : StartupScreen
{
private SpriteIcon icon;
private Color4 iconColour;

View File

@ -10,7 +10,7 @@ using osu.Game.Overlays;
namespace osu.Game.Screens.Menu
{
public class ExitConfirmOverlay : HoldToConfirmOverlay, IKeyBindingHandler<GlobalAction>
public partial class ExitConfirmOverlay : HoldToConfirmOverlay, IKeyBindingHandler<GlobalAction>
{
protected override bool AllowMultipleFires => true;

View File

@ -12,7 +12,7 @@ namespace osu.Game.Screens.Menu
/// <summary>
/// A flow container with an origin based on one of its contained drawables.
/// </summary>
public class FlowContainerWithOrigin : FillFlowContainer
public partial class FlowContainerWithOrigin : FillFlowContainer
{
/// <summary>
/// A target drawable which this flowcontainer should be centered around.

View File

@ -13,7 +13,7 @@ using osu.Framework.Graphics;
namespace osu.Game.Screens.Menu
{
public class IntroCircles : IntroScreen
public partial class IntroCircles : IntroScreen
{
protected override string BeatmapHash => "3c8b1fcc9434dbb29e2fb613d3b9eada9d7bb6c125ceb32396c3b53437280c83";

View File

@ -32,7 +32,7 @@ using Realms;
namespace osu.Game.Screens.Menu
{
public abstract class IntroScreen : StartupScreen
public abstract partial class IntroScreen : StartupScreen
{
/// <summary>
/// Whether we have loaded the menu previously.

View File

@ -16,7 +16,7 @@ using osu.Game.Graphics.Sprites;
namespace osu.Game.Screens.Menu
{
public class IntroSequence : Container
public partial class IntroSequence : Container
{
private const float logo_size = 460; //todo: this should probably be 480
@ -266,7 +266,7 @@ namespace osu.Game.Screens.Menu
}
}
private class Ring : Container<Circle>
private partial class Ring : Container<Circle>
{
public readonly Circle Foreground;

View File

@ -25,7 +25,7 @@ using osuTK.Graphics;
namespace osu.Game.Screens.Menu
{
public class IntroTriangles : IntroScreen
public partial class IntroTriangles : IntroScreen
{
protected override string BeatmapHash => "a1556d0801b3a6b175dda32ef546f0ec812b400499f575c44fccbe9c67f9b1e5";
@ -107,7 +107,7 @@ namespace osu.Game.Screens.Menu
intro.Expire();
}
private class TrianglesIntroSequence : CompositeDrawable
private partial class TrianglesIntroSequence : CompositeDrawable
{
private readonly OsuLogo logo;
private readonly Action showBackgroundAction;
@ -269,7 +269,7 @@ namespace osu.Game.Screens.Menu
}
}
private class GameWideFlash : Box
private partial class GameWideFlash : Box
{
private const double flash_length = 1000;
@ -287,7 +287,7 @@ namespace osu.Game.Screens.Menu
}
}
private class LazerLogo : CompositeDrawable
private partial class LazerLogo : CompositeDrawable
{
private LogoAnimation highlight, background;
@ -327,7 +327,7 @@ namespace osu.Game.Screens.Menu
}
}
private class RulesetFlow : FillFlowContainer
private partial class RulesetFlow : FillFlowContainer
{
[BackgroundDependencyLoader]
private void load(RulesetStore rulesets)
@ -357,7 +357,7 @@ namespace osu.Game.Screens.Menu
}
}
private class GlitchingTriangles : CompositeDrawable
private partial class GlitchingTriangles : CompositeDrawable
{
public GlitchingTriangles()
{
@ -391,7 +391,7 @@ namespace osu.Game.Screens.Menu
/// <summary>
/// Represents a sprite that is drawn in a triangle shape, instead of a rectangle shape.
/// </summary>
public class OutlineTriangle : BufferedContainer
public partial class OutlineTriangle : BufferedContainer
{
public OutlineTriangle(bool outlineOnly, float size)
: base(cachedFrameBuffer: true)

View File

@ -21,7 +21,7 @@ using osuTK.Graphics;
namespace osu.Game.Screens.Menu
{
public class IntroWelcome : IntroScreen
public partial class IntroWelcome : IntroScreen
{
protected override string BeatmapHash => "64e00d7022195959bfa3109d09c2e2276c8f12f486b91fcf6175583e973b48f2";
protected override string BeatmapFile => "welcome.osz";
@ -103,7 +103,7 @@ namespace osu.Game.Screens.Menu
}
}
private class WelcomeIntroSequence : Container
private partial class WelcomeIntroSequence : Container
{
private Drawable welcomeText;
private Container scaleContainer;

View File

@ -24,7 +24,7 @@ namespace osu.Game.Screens.Menu
/// <summary>
/// A visualiser that reacts to music coming from beatmaps.
/// </summary>
public class LogoVisualisation : Drawable
public partial class LogoVisualisation : Drawable
{
/// <summary>
/// The number of bars to jump each update iteration.

View File

@ -32,7 +32,7 @@ using osuTK.Graphics;
namespace osu.Game.Screens.Menu
{
public class MainMenu : OsuScreen, IHandlePresentBeatmap, IKeyBindingHandler<GlobalAction>
public partial class MainMenu : OsuScreen, IHandlePresentBeatmap, IKeyBindingHandler<GlobalAction>
{
public const float FADE_IN_DURATION = 300;

View File

@ -30,7 +30,7 @@ namespace osu.Game.Screens.Menu
/// Button designed specifically for the osu!next main menu.
/// In order to correctly flow, we have to use a negative margin on the parent container (due to the parallelogram shape).
/// </summary>
public class MainMenuButton : BeatSyncedContainer, IStateful<ButtonState>
public partial class MainMenuButton : BeatSyncedContainer, IStateful<ButtonState>
{
public event Action<ButtonState> StateChanged;

View File

@ -12,7 +12,7 @@ using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Screens.Menu
{
internal class MenuLogoVisualisation : LogoVisualisation
internal partial class MenuLogoVisualisation : LogoVisualisation
{
private IBindable<APIUser> user;
private Bindable<Skin> skin;

View File

@ -22,7 +22,7 @@ using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Screens.Menu
{
public class MenuSideFlashes : BeatSyncedContainer
public partial class MenuSideFlashes : BeatSyncedContainer
{
private readonly IBindable<WorkingBeatmap> beatmap = new Bindable<WorkingBeatmap>();

View File

@ -29,7 +29,7 @@ namespace osu.Game.Screens.Menu
/// <summary>
/// osu! logo and its attachments (pulsing, visualiser etc.)
/// </summary>
public class OsuLogo : BeatSyncedContainer
public partial class OsuLogo : BeatSyncedContainer
{
public readonly Color4 OsuPink = Color4Extensions.FromHex(@"e967a1");

View File

@ -15,7 +15,7 @@ using osu.Game.Beatmaps;
namespace osu.Game.Screens.Menu
{
public class SongTicker : Container
public partial class SongTicker : Container
{
private const int fade_duration = 800;

View File

@ -12,7 +12,7 @@ using osu.Game.Overlays.Dialog;
namespace osu.Game.Screens.Menu
{
public class StorageErrorDialog : PopupDialog
public partial class StorageErrorDialog : PopupDialog
{
[Resolved]
private IDialogOverlay dialogOverlay { get; set; }