Add team and star displays

This commit is contained in:
Dean Herbert
2018-11-08 20:15:22 +09:00
parent 0003a9310f
commit 160984719d
3 changed files with 211 additions and 15 deletions

View File

@ -10,6 +10,7 @@ using Newtonsoft.Json;
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
using osu.Framework.IO.Stores;
using osu.Framework.Platform;
using osu.Game.Beatmaps;
@ -49,6 +50,8 @@ namespace osu.Game.Tournament
Fonts.AddStore(new GlyphStore(Resources, @"Resources/Fonts/Aquatico-Regular"));
Fonts.AddStore(new GlyphStore(Resources, @"Resources/Fonts/Aquatico-Light"));
Textures.AddStore(new TextureLoaderStore(new ResourceStore<byte[]>(new StorageBackedResourceStore(storage))));
this.storage = storage;
windowSize = frameworkConfig.GetBindable<Size>(FrameworkSetting.WindowedSize);
@ -125,7 +128,6 @@ namespace osu.Game.Tournament
addedInfo = true;
}
List<TournamentTeam> countries;
using (Stream stream = Resources.GetStream("Resources/countries.json"))
using (var sr = new StreamReader(stream))