diff --git a/osu.Desktop.VisualTests/Tests/TestCaseLeaderboard.cs b/osu.Desktop.VisualTests/Tests/TestCaseLeaderboard.cs index cc30e3de95..329d5c5687 100644 --- a/osu.Desktop.VisualTests/Tests/TestCaseLeaderboard.cs +++ b/osu.Desktop.VisualTests/Tests/TestCaseLeaderboard.cs @@ -4,9 +4,9 @@ using OpenTK; using osu.Framework.Graphics; using osu.Framework.Screens.Testing; -using osu.Game.Modes; using osu.Game.Modes.Mods; using osu.Game.Modes.Osu.Mods; +using osu.Game.Modes.Scoring; using osu.Game.Screens.Select.Leaderboards; using osu.Game.Users; diff --git a/osu.Game.Modes.Catch/CatchRuleset.cs b/osu.Game.Modes.Catch/CatchRuleset.cs index 50224e3fdb..09d8bdb9e5 100644 --- a/osu.Game.Modes.Catch/CatchRuleset.cs +++ b/osu.Game.Modes.Catch/CatchRuleset.cs @@ -10,6 +10,8 @@ using osu.Game.Modes.Mods; using osu.Game.Modes.UI; using osu.Game.Screens.Play; using System.Collections.Generic; +using osu.Game.Modes.Catch.Scoring; +using osu.Game.Modes.Scoring; namespace osu.Game.Modes.Catch { diff --git a/osu.Game.Modes.Catch/CatchScoreProcessor.cs b/osu.Game.Modes.Catch/Scoring/CatchScoreProcessor.cs similarity index 87% rename from osu.Game.Modes.Catch/CatchScoreProcessor.cs rename to osu.Game.Modes.Catch/Scoring/CatchScoreProcessor.cs index 6563949fbc..101f442b31 100644 --- a/osu.Game.Modes.Catch/CatchScoreProcessor.cs +++ b/osu.Game.Modes.Catch/Scoring/CatchScoreProcessor.cs @@ -3,9 +3,10 @@ using osu.Game.Modes.Catch.Judgements; using osu.Game.Modes.Catch.Objects; +using osu.Game.Modes.Scoring; using osu.Game.Modes.UI; -namespace osu.Game.Modes.Catch +namespace osu.Game.Modes.Catch.Scoring { internal class CatchScoreProcessor : ScoreProcessor { diff --git a/osu.Game.Modes.Catch/UI/CatchHitRenderer.cs b/osu.Game.Modes.Catch/UI/CatchHitRenderer.cs index 751a8291d4..90bd61a39f 100644 --- a/osu.Game.Modes.Catch/UI/CatchHitRenderer.cs +++ b/osu.Game.Modes.Catch/UI/CatchHitRenderer.cs @@ -5,7 +5,9 @@ using osu.Game.Beatmaps; using osu.Game.Modes.Catch.Beatmaps; using osu.Game.Modes.Catch.Judgements; using osu.Game.Modes.Catch.Objects; +using osu.Game.Modes.Catch.Scoring; using osu.Game.Modes.Objects.Drawables; +using osu.Game.Modes.Scoring; using osu.Game.Modes.UI; namespace osu.Game.Modes.Catch.UI diff --git a/osu.Game.Modes.Catch/osu.Game.Modes.Catch.csproj b/osu.Game.Modes.Catch/osu.Game.Modes.Catch.csproj index 717e9175e4..593d8db4f6 100644 --- a/osu.Game.Modes.Catch/osu.Game.Modes.Catch.csproj +++ b/osu.Game.Modes.Catch/osu.Game.Modes.Catch.csproj @@ -50,7 +50,7 @@ - + diff --git a/osu.Game.Modes.Mania/ManiaRuleset.cs b/osu.Game.Modes.Mania/ManiaRuleset.cs index 27b3fcdf60..bd995d87d6 100644 --- a/osu.Game.Modes.Mania/ManiaRuleset.cs +++ b/osu.Game.Modes.Mania/ManiaRuleset.cs @@ -9,6 +9,8 @@ using osu.Game.Modes.Mods; using osu.Game.Modes.UI; using osu.Game.Screens.Play; using System.Collections.Generic; +using osu.Game.Modes.Mania.Scoring; +using osu.Game.Modes.Scoring; namespace osu.Game.Modes.Mania { diff --git a/osu.Game.Modes.Mania/ManiaScoreProcessor.cs b/osu.Game.Modes.Mania/Scoring/ManiaScoreProcessor.cs similarity index 87% rename from osu.Game.Modes.Mania/ManiaScoreProcessor.cs rename to osu.Game.Modes.Mania/Scoring/ManiaScoreProcessor.cs index c694717edb..72592a5278 100644 --- a/osu.Game.Modes.Mania/ManiaScoreProcessor.cs +++ b/osu.Game.Modes.Mania/Scoring/ManiaScoreProcessor.cs @@ -3,9 +3,10 @@ using osu.Game.Modes.Mania.Judgements; using osu.Game.Modes.Mania.Objects; +using osu.Game.Modes.Scoring; using osu.Game.Modes.UI; -namespace osu.Game.Modes.Mania +namespace osu.Game.Modes.Mania.Scoring { internal class ManiaScoreProcessor : ScoreProcessor { diff --git a/osu.Game.Modes.Mania/UI/ManiaHitRenderer.cs b/osu.Game.Modes.Mania/UI/ManiaHitRenderer.cs index 2a6629e25b..0415bc961a 100644 --- a/osu.Game.Modes.Mania/UI/ManiaHitRenderer.cs +++ b/osu.Game.Modes.Mania/UI/ManiaHitRenderer.cs @@ -5,7 +5,9 @@ using osu.Game.Beatmaps; using osu.Game.Modes.Mania.Beatmaps; using osu.Game.Modes.Mania.Judgements; using osu.Game.Modes.Mania.Objects; +using osu.Game.Modes.Mania.Scoring; using osu.Game.Modes.Objects.Drawables; +using osu.Game.Modes.Scoring; using osu.Game.Modes.UI; namespace osu.Game.Modes.Mania.UI diff --git a/osu.Game.Modes.Mania/osu.Game.Modes.Mania.csproj b/osu.Game.Modes.Mania/osu.Game.Modes.Mania.csproj index d9af517eee..cc925d417a 100644 --- a/osu.Game.Modes.Mania/osu.Game.Modes.Mania.csproj +++ b/osu.Game.Modes.Mania/osu.Game.Modes.Mania.csproj @@ -51,7 +51,7 @@ - + diff --git a/osu.Game.Modes.Osu/Mods/OsuMod.cs b/osu.Game.Modes.Osu/Mods/OsuMod.cs index e80975aed1..db2ee26b7a 100644 --- a/osu.Game.Modes.Osu/Mods/OsuMod.cs +++ b/osu.Game.Modes.Osu/Mods/OsuMod.cs @@ -7,6 +7,7 @@ using osu.Game.Modes.Mods; using osu.Game.Modes.Osu.Objects; using System; using System.Linq; +using osu.Game.Modes.Scoring; namespace osu.Game.Modes.Osu.Mods { diff --git a/osu.Game.Modes.Osu/OsuRuleset.cs b/osu.Game.Modes.Osu/OsuRuleset.cs index bbaf7eed5f..12df7d3f3c 100644 --- a/osu.Game.Modes.Osu/OsuRuleset.cs +++ b/osu.Game.Modes.Osu/OsuRuleset.cs @@ -12,6 +12,8 @@ using osu.Game.Modes.UI; using osu.Game.Screens.Play; using System.Collections.Generic; using System.Linq; +using osu.Game.Modes.Osu.Scoring; +using osu.Game.Modes.Scoring; namespace osu.Game.Modes.Osu { diff --git a/osu.Game.Modes.Osu/OsuScore.cs b/osu.Game.Modes.Osu/Scoring/OsuScore.cs similarity index 72% rename from osu.Game.Modes.Osu/OsuScore.cs rename to osu.Game.Modes.Osu/Scoring/OsuScore.cs index dddf826887..a0a639a59e 100644 --- a/osu.Game.Modes.Osu/OsuScore.cs +++ b/osu.Game.Modes.Osu/Scoring/OsuScore.cs @@ -1,7 +1,9 @@ // Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -namespace osu.Game.Modes.Osu +using osu.Game.Modes.Scoring; + +namespace osu.Game.Modes.Osu.Scoring { internal class OsuScore : Score { diff --git a/osu.Game.Modes.Osu/OsuScoreProcessor.cs b/osu.Game.Modes.Osu/Scoring/OsuScoreProcessor.cs similarity index 92% rename from osu.Game.Modes.Osu/OsuScoreProcessor.cs rename to osu.Game.Modes.Osu/Scoring/OsuScoreProcessor.cs index f473a578bd..cdaa7b465c 100644 --- a/osu.Game.Modes.Osu/OsuScoreProcessor.cs +++ b/osu.Game.Modes.Osu/Scoring/OsuScoreProcessor.cs @@ -4,9 +4,10 @@ using osu.Game.Modes.Objects.Drawables; using osu.Game.Modes.Osu.Judgements; using osu.Game.Modes.Osu.Objects; +using osu.Game.Modes.Scoring; using osu.Game.Modes.UI; -namespace osu.Game.Modes.Osu +namespace osu.Game.Modes.Osu.Scoring { internal class OsuScoreProcessor : ScoreProcessor { diff --git a/osu.Game.Modes.Osu/UI/OsuHitRenderer.cs b/osu.Game.Modes.Osu/UI/OsuHitRenderer.cs index 18f8fbb8b9..ca9ff6fc61 100644 --- a/osu.Game.Modes.Osu/UI/OsuHitRenderer.cs +++ b/osu.Game.Modes.Osu/UI/OsuHitRenderer.cs @@ -7,6 +7,8 @@ using osu.Game.Modes.Osu.Beatmaps; using osu.Game.Modes.Osu.Judgements; using osu.Game.Modes.Osu.Objects; using osu.Game.Modes.Osu.Objects.Drawables; +using osu.Game.Modes.Osu.Scoring; +using osu.Game.Modes.Scoring; using osu.Game.Modes.UI; using osu.Game.Screens.Play; diff --git a/osu.Game.Modes.Osu/osu.Game.Modes.Osu.csproj b/osu.Game.Modes.Osu/osu.Game.Modes.Osu.csproj index a56bb799c4..55322e855e 100644 --- a/osu.Game.Modes.Osu/osu.Game.Modes.Osu.csproj +++ b/osu.Game.Modes.Osu/osu.Game.Modes.Osu.csproj @@ -72,8 +72,8 @@ - - + + diff --git a/osu.Game.Modes.Taiko/TaikoScoreProcessor.cs b/osu.Game.Modes.Taiko/Scoring/TaikoScoreProcessor.cs similarity index 96% rename from osu.Game.Modes.Taiko/TaikoScoreProcessor.cs rename to osu.Game.Modes.Taiko/Scoring/TaikoScoreProcessor.cs index 5370eab54b..2002dcb9a7 100644 --- a/osu.Game.Modes.Taiko/TaikoScoreProcessor.cs +++ b/osu.Game.Modes.Taiko/Scoring/TaikoScoreProcessor.cs @@ -1,16 +1,17 @@ // Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -using OpenTK; +using System; using osu.Game.Beatmaps; using osu.Game.Database; using osu.Game.Modes.Objects.Drawables; +using osu.Game.Modes.Scoring; using osu.Game.Modes.Taiko.Judgements; using osu.Game.Modes.Taiko.Objects; using osu.Game.Modes.UI; -using System; +using OpenTK; -namespace osu.Game.Modes.Taiko +namespace osu.Game.Modes.Taiko.Scoring { internal class TaikoScoreProcessor : ScoreProcessor { diff --git a/osu.Game.Modes.Taiko/TaikoRuleset.cs b/osu.Game.Modes.Taiko/TaikoRuleset.cs index ff481e9162..ce7e756e30 100644 --- a/osu.Game.Modes.Taiko/TaikoRuleset.cs +++ b/osu.Game.Modes.Taiko/TaikoRuleset.cs @@ -10,6 +10,8 @@ using osu.Game.Modes.Taiko.UI; using osu.Game.Modes.UI; using osu.Game.Screens.Play; using System.Collections.Generic; +using osu.Game.Modes.Scoring; +using osu.Game.Modes.Taiko.Scoring; namespace osu.Game.Modes.Taiko { diff --git a/osu.Game.Modes.Taiko/UI/TaikoHitRenderer.cs b/osu.Game.Modes.Taiko/UI/TaikoHitRenderer.cs index 21ee3434d3..3266b5c030 100644 --- a/osu.Game.Modes.Taiko/UI/TaikoHitRenderer.cs +++ b/osu.Game.Modes.Taiko/UI/TaikoHitRenderer.cs @@ -3,9 +3,11 @@ using osu.Game.Beatmaps; using osu.Game.Modes.Objects.Drawables; +using osu.Game.Modes.Scoring; using osu.Game.Modes.Taiko.Beatmaps; using osu.Game.Modes.Taiko.Judgements; using osu.Game.Modes.Taiko.Objects; +using osu.Game.Modes.Taiko.Scoring; using osu.Game.Modes.UI; namespace osu.Game.Modes.Taiko.UI diff --git a/osu.Game.Modes.Taiko/osu.Game.Modes.Taiko.csproj b/osu.Game.Modes.Taiko/osu.Game.Modes.Taiko.csproj index e1c10fe8f4..937c5a5e51 100644 --- a/osu.Game.Modes.Taiko/osu.Game.Modes.Taiko.csproj +++ b/osu.Game.Modes.Taiko/osu.Game.Modes.Taiko.csproj @@ -60,7 +60,7 @@ - + diff --git a/osu.Game/Database/ScoreDatabase.cs b/osu.Game/Database/ScoreDatabase.cs index cfa8e6ac7e..665ae8649e 100644 --- a/osu.Game/Database/ScoreDatabase.cs +++ b/osu.Game/Database/ScoreDatabase.cs @@ -8,6 +8,7 @@ using osu.Framework.Platform; using osu.Game.IO.Legacy; using osu.Game.IPC; using osu.Game.Modes; +using osu.Game.Modes.Scoring; using SharpCompress.Compressors.LZMA; namespace osu.Game.Database diff --git a/osu.Game/Modes/Mods/Mod.cs b/osu.Game/Modes/Mods/Mod.cs index 6a720a3574..8416ae6211 100644 --- a/osu.Game/Modes/Mods/Mod.cs +++ b/osu.Game/Modes/Mods/Mod.cs @@ -6,6 +6,7 @@ using osu.Game.Graphics; using osu.Game.Modes.Objects; using osu.Game.Modes.UI; using System; +using osu.Game.Modes.Scoring; namespace osu.Game.Modes.Mods { diff --git a/osu.Game/Modes/Ruleset.cs b/osu.Game/Modes/Ruleset.cs index 886b49f26b..c97420fbe3 100644 --- a/osu.Game/Modes/Ruleset.cs +++ b/osu.Game/Modes/Ruleset.cs @@ -9,6 +9,7 @@ using osu.Game.Screens.Play; using System; using System.Collections.Concurrent; using System.Collections.Generic; +using osu.Game.Modes.Scoring; namespace osu.Game.Modes { diff --git a/osu.Game/Modes/Score.cs b/osu.Game/Modes/Scoring/Score.cs similarity index 94% rename from osu.Game/Modes/Score.cs rename to osu.Game/Modes/Scoring/Score.cs index 55bbed8e77..fa74fba279 100644 --- a/osu.Game/Modes/Score.cs +++ b/osu.Game/Modes/Scoring/Score.cs @@ -3,11 +3,11 @@ using System; using Newtonsoft.Json; -using osu.Game.Users; using osu.Game.Database; using osu.Game.Modes.Mods; +using osu.Game.Users; -namespace osu.Game.Modes +namespace osu.Game.Modes.Scoring { public class Score { diff --git a/osu.Game/Modes/ScoreProcessor.cs b/osu.Game/Modes/Scoring/ScoreProcessor.cs similarity index 96% rename from osu.Game/Modes/ScoreProcessor.cs rename to osu.Game/Modes/Scoring/ScoreProcessor.cs index 488f484163..d881d830fa 100644 --- a/osu.Game/Modes/ScoreProcessor.cs +++ b/osu.Game/Modes/Scoring/ScoreProcessor.cs @@ -1,15 +1,15 @@ // Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -using osu.Framework.Configuration; using System; using System.Collections.Generic; -using osu.Game.Modes.Judgements; -using osu.Game.Modes.UI; -using osu.Game.Modes.Objects; +using osu.Framework.Configuration; using osu.Game.Beatmaps; +using osu.Game.Modes.Judgements; +using osu.Game.Modes.Objects; +using osu.Game.Modes.UI; -namespace osu.Game.Modes +namespace osu.Game.Modes.Scoring { public abstract class ScoreProcessor { diff --git a/osu.Game/Modes/ScoreRank.cs b/osu.Game/Modes/Scoring/ScoreRank.cs similarity index 90% rename from osu.Game/Modes/ScoreRank.cs rename to osu.Game/Modes/Scoring/ScoreRank.cs index 433158f249..743f24ecd6 100644 --- a/osu.Game/Modes/ScoreRank.cs +++ b/osu.Game/Modes/Scoring/ScoreRank.cs @@ -3,7 +3,7 @@ using System.ComponentModel; -namespace osu.Game.Modes +namespace osu.Game.Modes.Scoring { public enum ScoreRank { diff --git a/osu.Game/Modes/UI/HitRenderer.cs b/osu.Game/Modes/UI/HitRenderer.cs index d53c65ec16..3d108b895d 100644 --- a/osu.Game/Modes/UI/HitRenderer.cs +++ b/osu.Game/Modes/UI/HitRenderer.cs @@ -14,6 +14,7 @@ using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; +using osu.Game.Modes.Scoring; namespace osu.Game.Modes.UI { diff --git a/osu.Game/Modes/UI/HudOverlay.cs b/osu.Game/Modes/UI/HudOverlay.cs index 4b454797ce..a6c54e7f3a 100644 --- a/osu.Game/Modes/UI/HudOverlay.cs +++ b/osu.Game/Modes/UI/HudOverlay.cs @@ -9,6 +9,7 @@ using osu.Game.Configuration; using osu.Game.Graphics.UserInterface; using osu.Game.Screens.Play; using System; +using osu.Game.Modes.Scoring; namespace osu.Game.Modes.UI { diff --git a/osu.Game/Online/API/Requests/GetScoresRequest.cs b/osu.Game/Online/API/Requests/GetScoresRequest.cs index 8c0fc4383a..66c5e6c72d 100644 --- a/osu.Game/Online/API/Requests/GetScoresRequest.cs +++ b/osu.Game/Online/API/Requests/GetScoresRequest.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using Newtonsoft.Json; using osu.Framework.IO.Network; using osu.Game.Database; -using osu.Game.Modes; +using osu.Game.Modes.Scoring; namespace osu.Game.Online.API.Requests { diff --git a/osu.Game/OsuGame.cs b/osu.Game/OsuGame.cs index 1fca318149..8ac809e591 100644 --- a/osu.Game/OsuGame.cs +++ b/osu.Game/OsuGame.cs @@ -26,6 +26,7 @@ using osu.Framework.Graphics.Primitives; using System.Threading.Tasks; using osu.Framework.Threading; using osu.Game.Graphics; +using osu.Game.Modes.Scoring; using osu.Game.Overlays.Notifications; using osu.Game.Screens.Play; diff --git a/osu.Game/Screens/Play/Player.cs b/osu.Game/Screens/Play/Player.cs index ddd963da00..702f907428 100644 --- a/osu.Game/Screens/Play/Player.cs +++ b/osu.Game/Screens/Play/Player.cs @@ -23,6 +23,7 @@ using osu.Game.Screens.Backgrounds; using osu.Game.Screens.Ranking; using System; using System.Linq; +using osu.Game.Modes.Scoring; namespace osu.Game.Screens.Play { diff --git a/osu.Game/Screens/Ranking/Results.cs b/osu.Game/Screens/Ranking/Results.cs index 2df654b889..daf0866d10 100644 --- a/osu.Game/Screens/Ranking/Results.cs +++ b/osu.Game/Screens/Ranking/Results.cs @@ -6,7 +6,7 @@ using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Transforms; using osu.Game.Graphics.Sprites; -using osu.Game.Modes; +using osu.Game.Modes.Scoring; using osu.Game.Screens.Backgrounds; using OpenTK; using OpenTK.Graphics; diff --git a/osu.Game/Screens/Select/Leaderboards/DrawableRank.cs b/osu.Game/Screens/Select/Leaderboards/DrawableRank.cs index 9e73148ada..6b59af0bb4 100644 --- a/osu.Game/Screens/Select/Leaderboards/DrawableRank.cs +++ b/osu.Game/Screens/Select/Leaderboards/DrawableRank.cs @@ -6,8 +6,8 @@ using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Textures; -using osu.Game.Modes; using osu.Framework.Extensions; +using osu.Game.Modes.Scoring; namespace osu.Game.Screens.Select.Leaderboards { diff --git a/osu.Game/Screens/Select/Leaderboards/Leaderboard.cs b/osu.Game/Screens/Select/Leaderboards/Leaderboard.cs index 4ce40cb943..12ff096d16 100644 --- a/osu.Game/Screens/Select/Leaderboards/Leaderboard.cs +++ b/osu.Game/Screens/Select/Leaderboards/Leaderboard.cs @@ -9,8 +9,8 @@ using osu.Framework.Graphics; using osu.Framework.Graphics.Colour; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Primitives; -using osu.Game.Modes; using System; +using osu.Game.Modes.Scoring; namespace osu.Game.Screens.Select.Leaderboards { diff --git a/osu.Game/Screens/Select/Leaderboards/LeaderboardScore.cs b/osu.Game/Screens/Select/Leaderboards/LeaderboardScore.cs index d32f3a497a..1df6d2b55c 100644 --- a/osu.Game/Screens/Select/Leaderboards/LeaderboardScore.cs +++ b/osu.Game/Screens/Select/Leaderboards/LeaderboardScore.cs @@ -10,11 +10,11 @@ using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Transforms; using osu.Game.Graphics; using osu.Game.Graphics.Sprites; -using osu.Game.Modes; using osu.Framework.Extensions.Color4Extensions; using osu.Game.Modes.Mods; using osu.Game.Users; using osu.Framework; +using osu.Game.Modes.Scoring; namespace osu.Game.Screens.Select.Leaderboards { diff --git a/osu.Game/osu.Game.csproj b/osu.Game/osu.Game.csproj index bcae668e9f..989e605c16 100644 --- a/osu.Game/osu.Game.csproj +++ b/osu.Game/osu.Game.csproj @@ -124,8 +124,8 @@ - - + + @@ -359,7 +359,7 @@ - +