1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-07 13:42:56 +08:00

Added windows title. Game can be exited now.

This commit is contained in:
Jan-Eric Waclawski 2016-08-27 14:11:17 +02:00
parent 9b57c53976
commit 7bf8059df8
3 changed files with 5 additions and 0 deletions

Binary file not shown.

View File

@ -264,6 +264,9 @@ namespace osu.Game.GameModes.Menu
{
//if (OsuGame.IdleTime > 6000 && State != MenuState.Exit)
// State = MenuState.Initial;
if (state == MenuState.Exit && osuLogo.Alpha <= 0)
System.Environment.Exit(1);
iconFacade.Width = osuLogo.SizeForFlow * 0.5f;
base.Update();

View File

@ -23,6 +23,8 @@ namespace osu.Game
Window.Size = new Size(Config.Get<int>(OsuConfig.Width), Config.Get<int>(OsuConfig.Height));
Window.OnSizeChanged += window_OnSizeChanged;
Window.Title = "osu!";
AddProcessingContainer(new RatioAdjust());
//Add(new FontTest());