2016-12-06 17:56:20 +08:00
|
|
|
|
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
2016-09-23 23:39:20 +08:00
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using osu.Framework.Desktop;
|
2016-10-25 02:57:00 +08:00
|
|
|
|
using osu.Framework.Desktop.Platform;
|
2016-10-07 11:49:53 +08:00
|
|
|
|
using osu.Framework.Platform;
|
2016-11-16 14:49:59 +08:00
|
|
|
|
using osu.Game.Modes;
|
|
|
|
|
using osu.Game.Modes.Catch;
|
|
|
|
|
using osu.Game.Modes.Mania;
|
|
|
|
|
using osu.Game.Modes.Osu;
|
|
|
|
|
using osu.Game.Modes.Taiko;
|
2016-09-23 23:39:20 +08:00
|
|
|
|
|
2016-10-26 16:26:26 +08:00
|
|
|
|
namespace osu.Desktop.VisualTests
|
2016-09-23 23:39:20 +08:00
|
|
|
|
{
|
|
|
|
|
public static class Program
|
|
|
|
|
{
|
|
|
|
|
[STAThread]
|
|
|
|
|
public static void Main(string[] args)
|
|
|
|
|
{
|
2017-01-19 11:22:16 +08:00
|
|
|
|
using (BasicGameHost host = Host.GetSuitableHost(@"osu"))
|
2016-11-08 08:04:31 +08:00
|
|
|
|
{
|
2016-11-16 14:49:59 +08:00
|
|
|
|
Ruleset.Register(new OsuRuleset());
|
|
|
|
|
Ruleset.Register(new TaikoRuleset());
|
|
|
|
|
Ruleset.Register(new ManiaRuleset());
|
|
|
|
|
Ruleset.Register(new CatchRuleset());
|
|
|
|
|
|
2016-11-08 08:04:31 +08:00
|
|
|
|
host.Add(new VisualTestGame());
|
|
|
|
|
host.Run();
|
|
|
|
|
}
|
2016-09-23 23:39:20 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|